Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2010-08-24 16:41:37

daris
Developer
From: Poland
Registered: 2008-05-09
Posts: 557

FluxBB Migration Tool

FluxBB Migration Tool
It is an updated version of PunBB migration tool.

Password converter mod
If this tool does not convert passwords, you can install Password converter mod (file password_converter_mod.txt included in migration tool package). It converts other forum software password to FluxBB at first login.

Converts:
- InvPB: 1.3 and 2.0 - Passwords not converted
- miniBB: 1.7d
- MyBB: 1.x - Passwords not converted
- Phorum: 5.0.13
- PHP-Fusion: 6.0
- phpBB2: phpBB 2.0, PhpNuke 7.4
- phpBB3 - Passwords not converted.
- SimpleBoard: 1.7d - Passwords not converted.
- SMF: 1.1 - Passwords not converted.
- SMF2: 2.0 - Passwords not converted.
- vbulletin: 3.0.0 - Passwords not converted
- YabbSE: 1.5.5 - Passwords not converted.

Notes from readme:
- All FluxBB tables are dumped.
- MAKE BACKUP BEFORE USING THIS CONVERTER!
- This converter only supports MySQL-databases.
- The passwords in some forums are NOT converted due to differences in password storing between the forums.

Installation instructions:
1. Install FluxBB on the server (example: "www.example.com/fluxbb/").
2. Install mods (AutoPoll, Another Private Messaging System) if you want them converted. *
3. Create a subdirectory in the FluxBB-directory (example name: "converter").
4. Put all files from the converter zipfile in that directory.
5. Go to the converter page ("www.example.com/fluxbb/converter/").
6. If your forum isn't located at the same forum as FluxBB, choose "Different host/user".
7. Choose which forum software you want to convert from.
8. Enter prefix and such information in the other fields/lists. **
9. Press 'Start converter'.
10. When the converter is done, add/remove admins and moderators.
11. Remove the converter files.
12. Done! You're now ready yo use FluxBB!
* May not be supported by all converters.
** If you don't know your forums database/prefix-settings, you'll probably find it in the config-file.

Changes comparing to PunBB converter:
- Air style smile
- UTF-8 conversion (code coppied from FluxBB db_update script, tested conversion from ISO-8859-2 to UTF-8)
- added phpBB3 converter
- updated phpBB2 guest last posts
- automatic search index rebuild
- added SMF 2 converter
- added MyBB converter

Download
Update: changed download link to GitHub repository

Last edited by daris (2011-10-01 07:42:09)

Offline

#2 2010-08-24 16:55:03

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,475
Website

Re: FluxBB Migration Tool

We love you smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2010-08-24 19:12:42

FSX
Former Developer
From: NL
Registered: 2008-05-09
Posts: 818
Website

Re: FluxBB Migration Tool

Nice.

Offline

#4 2010-08-25 05:42:00

Gary
Moderator
From: Sydney, Australia
Registered: 2009-09-07
Posts: 217

Re: FluxBB Migration Tool

Amazing. LOTS of people are going to find this very useful. Nice work daris. wink

Offline

#5 2010-08-25 08:03:29

Otomatic
FluxBB Donor
From: Paris - France
Registered: 2010-01-26
Posts: 540
Website

Re: FluxBB Migration Tool

Hi,

Thanks for this nice tool. I'll write a sticky message on the French forum.


Ce n'est pas parce que l'erreur se propage qu'elle devient vérité. Ghandi
An error does not become truth by reason of multiplied propagation. Ghandi

Offline

#6 2010-08-25 11:06:58

Gary
Moderator
From: Sydney, Australia
Registered: 2009-09-07
Posts: 217

Re: FluxBB Migration Tool

I'll be sure to link it to anyone that is looking for a converter to use FluxBB.

Offline

#7 2010-08-25 11:14:37

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,475
Website

Re: FluxBB Migration Tool

Maybe we can also put a link to this thread on our converter page, until we have finished the "official" tool.

Speaking of which, Daris, maybe you want to join our development efforts for that?


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#8 2010-08-25 19:56:39

Moparx
Member
Registered: 2010-08-05
Posts: 4

Re: FluxBB Migration Tool

daris wrote:

FluxBB Migration Tool
- vbulletin: 3.0.0 - Passwords not converted, did not tested, can someone send me vB files via email?

I used the PunBB Migration tool to move a community with 40,000+ posts from vBulletin 3.7.x to FluxBB last month and things worked flawlessly.
Also, sending copies of vBulletin's files to anyone is a direct violation of their license agreement.


And then it happened... a door opened to a world... rushing through the phone line like heroin through an addict's veins, an electronic pulse is sent out, a refuge from the day-to-day incompetencies is sought... a board is found. "This is it... this is where I belong..."

Offline

#9 2010-08-30 12:24:45

Gary
Moderator
From: Sydney, Australia
Registered: 2009-09-07
Posts: 217

Re: FluxBB Migration Tool

Yeah that's a valid point. Although it's for the right reasons, the files cannot be passed forward to you daris. My best suggestion is to wait until someone with vB software either has the knowledge to help you out with it daris, or purchase it yourself and go from there.

Offline

#10 2010-08-30 12:39:19

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 839
Website

Re: FluxBB Migration Tool

Gary, I think daris won't buy VB just for release a FluxBB converter... If he uses cracked files for local tests, nobody can check if the license is valid, so where is the problem?


FeatherBB - A simple and lightweight new generation forum system
Based on FluxBB, written in PHP, using Slim Framework for a proper OOP-MVC architecture.

Offline

#11 2010-08-30 12:41:36

daris
Developer
From: Poland
Registered: 2008-05-09
Posts: 557

Re: FluxBB Migration Tool

There isn't any problem if P2P exists big_smile

PS. It is hard to find latest versions of software using P2P - that is why I asked users using this software. smile

Last edited by daris (2010-08-30 12:44:27)

Offline

#12 2010-08-30 12:44:34

Reines
Administrator
From: Scotland
Registered: 2008-05-11
Posts: 3,197
Website

Re: FluxBB Migration Tool

adaur wrote:

If he uses cracked files for local tests, nobody can check if the license is valid, so where is the problem?

The problem is technically it's still illegal for anyone to send them, so here isn't the place to ask for them.

Offline

#13 2010-08-30 13:30:22

Gary
Moderator
From: Sydney, Australia
Registered: 2009-09-07
Posts: 217

Re: FluxBB Migration Tool

adaur wrote:

Gary, I think daris won't buy VB just for release a FluxBB converter...

Oh of course not, but it's the only legal way of doing it. wink

I used to use vBulletin, but not any more so unfortunately I can't help you out.

Offline

#14 2010-08-30 13:47:58

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,475
Website

Re: FluxBB Migration Tool

I remember looking for the database schema of VB once (when working on the "official" converter), and I think I was able to find something. I am just not sure where I put it. Let me check...


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#15 2010-08-30 15:38:59

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 839
Website

Re: FluxBB Migration Tool

Daris, check your mails smile


FeatherBB - A simple and lightweight new generation forum system
Based on FluxBB, written in PHP, using Slim Framework for a proper OOP-MVC architecture.

Offline

#16 2010-08-30 19:34:40

taylorchu
Member
Registered: 2010-08-10
Posts: 101

Re: FluxBB Migration Tool

Daris, could you add support for Xoops's newbb(UBB)?

I tried to convert it myself but I show lots of errors.

Offline

#17 2010-08-31 11:53:29

daris
Developer
From: Poland
Registered: 2008-05-09
Posts: 557

Re: FluxBB Migration Tool

Try phpBB 2 converter, it should support newbb now smile (they have very similar database structure)

Last edited by daris (2010-08-31 12:23:40)

Offline

#18 2010-09-24 03:37:18

Killjoy
Member
Registered: 2010-08-19
Posts: 6

Re: FluxBB Migration Tool

I was successful with this many thanks!

Last edited by Killjoy (2010-09-24 04:00:23)

Offline

#19 2010-11-22 19:47:55

elkingphp
Member
Registered: 2010-11-22
Posts: 1

Re: FluxBB Migration Tool

thank you

Offline

#20 2010-11-28 15:40:51

Otomatic
FluxBB Donor
From: Paris - France
Registered: 2010-01-26
Posts: 540
Website

Re: FluxBB Migration Tool

Hello,

Sorry, but I think there is a problem with Password converter mod for PhpBB3 passwords.
One user on fluxbb.fr reports that :

Any password is accepted for any user and the new encryption password is stored in the users table.

I do a test, with my local server using :

username : test
password : $H$9gEbEMRoJM0iygreOpXN4nfVbS8Jy5/
Corresponding to password in clear : test123

If I enter any password but test123, it is accepted.


Ce n'est pas parce que l'erreur se propage qu'elle devient vérité. Ghandi
An error does not become truth by reason of multiplied propagation. Ghandi

Offline

#21 2010-11-29 09:21:56

Otomatic
FluxBB Donor
From: Paris - France
Registered: 2010-01-26
Posts: 540
Website

Re: FluxBB Migration Tool

Hello,

After much research on how coded passwords PhpBB3, I think I found a solution.
Replace the entire step 4 of password_mod_converter.txt, so function phpBB3_password_check by it:

function phpBB3_password_check($password, $hash) {
  if (strlen($hash) != 34) return false;
  
  $itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
  
  function hash_and_encode($input, $count, &$itoa64) {
    $output = '';
    $i = 0;
    
    do {
      $value = ord($input[$i++]);
      $output .= $itoa64[$value & 0x3f];
      
      if ($i < $count) $value |= ord($input[$i]) << 8;
      $output .= $itoa64[($value >> 6) & 0x3f];
      if ($i++ >= $count) break;
      if ($i < $count) $value |= ord($input[$i]) << 16;
      $output .= $itoa64[($value >> 12) & 0x3f];
      if ($i++ >= $count) break;
      $output .= $itoa64[($value >> 18) & 0x3f];
    }
    while ($i < $count);
    
    return $output;
  }
  
  function hash_and_crypt($password, $setting, &$itoa64) {
    $output = '*';
    // Check for correct hash
    if (substr($setting, 0, 3) != '$H$') return $output;
    $count_log2 = strpos($itoa64, $setting[3]);
    if ($count_log2 < 7 || $count_log2 > 30) return $output;
    
    $count = 1 << $count_log2;
    $salt = substr($setting, 4, 8);
    
    if (strlen($salt) != 8) return $output;
  
    $hash = pack('H*', md5($salt . $password));
    do {
      $hash = pack('H*', md5($hash . $password));
    }
    while (--$count);
    
    $output = substr($setting, 0, 12);
    $output .= hash_and_encode($hash, 16, $itoa64);
    return $output;
  }
  
  return (hash_and_crypt($password, $hash, $itoa64) === $hash) ? true : false;
}

Ce n'est pas parce que l'erreur se propage qu'elle devient vérité. Ghandi
An error does not become truth by reason of multiplied propagation. Ghandi

Offline

#22 2011-01-05 11:10:37

Pro
Member
Registered: 2011-01-02
Posts: 26

Re: FluxBB Migration Tool

Will this work for vBulletin 4.x?

Offline

#23 2011-02-18 14:40:10

sianariman
FluxBB Donor
From: DK
Registered: 2011-02-15
Posts: 32
Website

Re: FluxBB Migration Tool

The converter doesn't work with phpbb3 at all, its to old and mistakes all the bbcode and masking all the bbcode content with html character masking.

Offline

#24 2011-02-18 16:58:56

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,475
Website

Re: FluxBB Migration Tool

It seems, though, that links etc. are already saved that way in the database in phpBB3. I'll look into it, thanks.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#25 2011-02-18 20:10:01

sianariman
FluxBB Donor
From: DK
Registered: 2011-02-15
Posts: 32
Website

Re: FluxBB Migration Tool

Ok, when? with new version of fluxbb?

Offline

Board footer

Powered by FluxBB