Forums

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

You are not logged in.

#101 2011-10-05 02:56:29

Ishimaru Chiaki
Member
From: Baie-Comeau, Quebec, Canada
Registered: 2011-05-14
Posts: 77
Website

Re: FluxBB Migration Tool

daris wrote:

I will try to convert from MyBB (which version are you using?) when I move files from SVN repository to GitHub service.

I noticed the new posts only today... so, as I have a Github account, here is my profile, so you can follow me : https://github.com/MissGeek
You can see the Auto Poll Mod I updated.


Alienware PC running Win7 64bits - GIMP 2.8 - XHTML/CSS (advanced) - PHP/MySQL (medium)
FluxBB Migration Tool on GitHub
My art gallery

Offline

#102 2011-10-30 04:57:28

Ishimaru Chiaki
Member
From: Baie-Comeau, Quebec, Canada
Registered: 2011-05-14
Posts: 77
Website

Re: FluxBB Migration Tool

Uh… I took a look to your repo, and I noticed that the CB converter in the repo is still not the latest version… it still converts vote results while the package I posted resets polls…
Here's the archive again : http://dl.dropbox.com/u/25752921/Connec … -final.zip

EDIT : Repo cloned and pull request sent… just after I discovered this feature.

Last edited by Ishimaru Chiaki (2011-10-30 06:32:42)


Alienware PC running Win7 64bits - GIMP 2.8 - XHTML/CSS (advanced) - PHP/MySQL (medium)
FluxBB Migration Tool on GitHub
My art gallery

Offline

#103 2011-11-12 10:13:34

olimortimer
Member
Registered: 2011-11-12
Posts: 11

Re: FluxBB Migration Tool

Just want to say a big thanks for the conversion tool!  I've just used it to convert an SMF2 board.

I did run into one issue, however, so thought I'd post in case it helps anyone else in future...

The conversion ran, and picked up members, categories etc fine, but at the end it only stated that members had been converted.  When I checked the forum, this was true, and all posts, topics and categories were missing.  I then reinstalled Fluxbb without InnoDB support (I previously installed with InnoDB support), ran the converter, now everything is there!  smile

Offline

#104 2011-11-12 10:38:08

olimortimer
Member
Registered: 2011-11-12
Posts: 11

Re: FluxBB Migration Tool

Also, the logins weren't working afterwards, but I've worked out what it is...

I was using SMF 2.0 RC3, and it looks like they don't use the salt in their password check. Instead, they use a sha1 of username (lower) and password.

So, in the password_converter_mod.txt the following needs to be added:

strlen($cur_user['salt']) == 4 && sha1(strtolower($form_username).$form_password) == $cur_user['password'] || // Later SMF 2 password

So from this:

if (!empty($cur_user['salt']))
		{
			if (strlen($cur_user['salt']) == 3 && md5(md5($form_password).$cur_user['salt']) == $cur_user['password'] || // vBulletin password
				strlen($cur_user['salt']) == 4 && sha1(md5($cur_user['salt']).md5($form_password)) == $cur_user['password'] || // SMF 2 password
				strlen($cur_user['salt']) == 8 && md5(md5($cur_user['salt']).md5($form_password)) == $cur_user['password'] || // MyBB password
				strlen($cur_user['password']) == 32 && md5(md5($cur_user['salt']).md5($form_password)) == $cur_user['password'] || // IPB password
				sha1($cur_user['salt'].sha1($form_password)) == $cur_user['password']) // 1.3 used sha1(salt.sha1(pass))
			{
				$authorized = true;

				$db->query('UPDATE '.$db->prefix.'users SET password=\''.$form_password_hash.'\', salt=NULL WHERE id='.$cur_user['id']) or error('Unable to update user password', __FILE__, __LINE__, $db->error());
			}
		}
		elseif (!isset($cur_user['salt']) || empty($cur_user['salt']) && phpBB3_password_check($form_password, $cur_user['password'])) 
		{
			$authorized = true;

			$db->query('UPDATE '.$db->prefix.'users SET password=\''.$form_password_hash.'\' WHERE id='.$cur_user['id']) or error('Unable to update user password', __FILE__, __LINE__, $db->error());		
		}

To this:

if (!empty($cur_user['salt']))
		{
			if (strlen($cur_user['salt']) == 3 && md5(md5($form_password).$cur_user['salt']) == $cur_user['password'] || // vBulletin password
				strlen($cur_user['salt']) == 4 && sha1(md5($cur_user['salt']).md5($form_password)) == $cur_user['password'] || // SMF 2 password
				strlen($cur_user['salt']) == 4 && sha1(strtolower($form_username).$form_password) == $cur_user['password'] || // Later SMF 2 password
				strlen($cur_user['salt']) == 8 && md5(md5($cur_user['salt']).md5($form_password)) == $cur_user['password'] || // MyBB password
				strlen($cur_user['password']) == 32 && md5(md5($cur_user['salt']).md5($form_password)) == $cur_user['password'] || // IPB password
				sha1($cur_user['salt'].sha1($form_password)) == $cur_user['password']) // 1.3 used sha1(salt.sha1(pass))
			{
				$authorized = true;

				$db->query('UPDATE '.$db->prefix.'users SET password=\''.$form_password_hash.'\', salt=NULL WHERE id='.$cur_user['id']) or error('Unable to update user password', __FILE__, __LINE__, $db->error());
			}
		}
		elseif (!isset($cur_user['salt']) || empty($cur_user['salt']) && phpBB3_password_check($form_password, $cur_user['password'])) 
		{
			$authorized = true;

			$db->query('UPDATE '.$db->prefix.'users SET password=\''.$form_password_hash.'\' WHERE id='.$cur_user['id']) or error('Unable to update user password', __FILE__, __LINE__, $db->error());		
		}

Offline

#105 2011-11-12 17:25:09

olimortimer
Member
Registered: 2011-11-12
Posts: 11

Re: FluxBB Migration Tool

I think I've checked the above into github correctly, but please let me know if not.

I'm currently working on the ban list import from SMF2, but I've hit one issue I can't seem to find a fix for...they all import ok, but then at the last minute it seems to remove bans.id 1 and 2 sad

It seems to be dropping the two records when it hits this line, when running the generate_bans_cache() function in end.php:

if (function_exists('apc_delete_file'))
		@apc_delete_file(FORUM_CACHE_DIR.'cache_bans.php');
FluxBB contains (SMF 2 contains): 
Users: 6135 (6135) 
Categories: 3 (3) 
Forums: 10 (10) 
Topics: 2317 (2317) 
Posts: 3610 (3610) 
Bans: 452 (454)

Offline

#106 2011-11-13 08:34:19

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

Re: FluxBB Migration Tool

Thanks for pull requests smile

According to bans - maybe the expire time is wrong? The check_bans() function in include/functions.php is called every time you request some fluxbb page and it removes bans that expired

Offline

#107 2011-11-13 08:40:11

olimortimer
Member
Registered: 2011-11-12
Posts: 11

Re: FluxBB Migration Tool

Ah I see!  Id 1 has an expire time of '1279357918' (17 Jul 2010), but id 2 has no expire time *confused*  Solves half of it! lol

PS did I do the pull requests correctly?

Offline

#108 2011-12-03 20:59:01

JoshJosh
Member
Registered: 2011-09-19
Posts: 17

Re: FluxBB Migration Tool

I used the password mod and it worked once, but when I try to login again I get sent to a blank page (/login.php?action=in).

Offline

#109 2011-12-04 07:15:29

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

Re: FluxBB Migration Tool

What was your "old" forum software? (I mean what did you convert from).

Do you have any logs for PHP? Doesn't it show any error, warning etc.?

Last edited by daris (2011-12-04 07:20:30)

Offline

#110 2011-12-04 20:32:45

JoshJosh
Member
Registered: 2011-09-19
Posts: 17

Re: FluxBB Migration Tool

daris wrote:

What was your "old" forum software? (I mean what did you convert from).

Do you have any logs for PHP? Doesn't it show any error, warning etc.?

Old software was the latest version of MyBB. I'm not finding any errors.
never mind, I think I made a mistake in editing login.php.

Last edited by JoshJosh (2011-12-04 23:10:06)

Offline

#111 2012-01-20 00:06:52

leonardo
Member
Registered: 2012-01-19
Posts: 7

Re: FluxBB Migration Tool

Hi,

I'm having an issue migrationg from phpBB3 to FluxBB 1.4.8.

The forum we are trying to migrate is the following:
http://foros.archlinux-es.org

Our database is over 90MB, we have around 32.000 posts, 5.000 threads and 2.300 users.

There are 3 categories and 12 forums, 4 in one, 5 in another and 3 in another.

When the migration ends, the numbers of posts and users more or less match (with a few here or there), but not all the forums are showing. We have only 4 of them showing in 1 category.

The other 2 categories exist, I can see them in the "administration" page of fluxbb, but there are no forums.

Any ideas?

I can give access to fluxbb forum if needed.

Thanks in advance.

Offline

#112 2012-10-31 16:00:59

Pab
Member
Registered: 2008-05-12
Posts: 6
Website

Re: FluxBB Migration Tool

daris, I just wanted to thank you for your migration tool. I recently used it to convert a very old (dating back to 2002!) Invision Board 1.3 with 15,000 posts and I was surprised at just how well it worked. Sure there were a few things I needed to tidy up to make it perfect, but nothing critical.

The best part for me was I didn't even need to do anything with passwords, despite the converter saying it didn't convert them. I can only assume this was because I had a mod installed in Invision Board called mod_security, from the now closed ibforen.de. Maybe it had already updated the passwords to the same format that flux uses? Whatever the case, it was a nice surprise!

The converted forum is here if you're curious: http://spacetheband.com/forums/

Makes me wonder how many other forums running FluxBB actually outdate the software it was based on (PunBB). big_smile

Offline

#113 2013-02-02 13:06:04

Alessandro R.
Member
From: Italy
Registered: 2013-01-09
Posts: 19
Website

Re: FluxBB Migration Tool

I've successfully converted my phpBB 3.0 forum in fluxbb! But there is a problem: after the conversion I am no more admin and I'm not able to manage the board! Someone can help me?

Offline

#114 2013-02-02 13:15:40

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

Re: FluxBB Migration Tool

Please refrain from double posting - especially in such a short timespan. Eventually somebody will get around to answer. smile


fluxbb.de | develoPHP

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

Offline

#115 2013-02-02 14:16:28

Alessandro R.
Member
From: Italy
Registered: 2013-01-09
Posts: 19
Website

Re: FluxBB Migration Tool

Sorry for the double post... but I think that this topic is more appropriate for this issue!

Offline

#116 2013-02-03 11:46:54

Alessandro R.
Member
From: Italy
Registered: 2013-01-09
Posts: 19
Website

Re: FluxBB Migration Tool

Alessandro R. wrote:

I've successfully converted my phpBB 3.0 forum in fluxbb! But there is a problem: after the conversion I am no more admin and I'm not able to manage the board! Someone can help me?

Someone can help me? It is enough urgent! wink Thanks guys...

Offline

#117 2013-02-03 18:33:59

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

Re: FluxBB Migration Tool

Hi,

If you could convert your phpBB to FluxBB is that you have access to your database from your hosting provider.
You must use the database manager from your host (In principle, it is PhpMyAdmin for MySQL) and go to the FluxBB "user" table, edit the line where is your "username" and replace the content of the field "group_id" by "1" (One) that is for admins.


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

#118 2013-02-03 22:10:32

Alessandro R.
Member
From: Italy
Registered: 2013-01-09
Posts: 19
Website

Re: FluxBB Migration Tool

It works... thank you so much!!!

Offline

#119 2013-02-04 05:58:43

Studio384
Former Developer
From: Belgium
Registered: 2012-04-11
Posts: 681
Website

Re: FluxBB Migration Tool

Alessandro R. wrote:

It works... thank you so much!!!

What? I told you that earlier and back then, you said you didn't have access to phpMyAdmin?
http://fluxbb.org/forums/viewtopic.php?id=6890

Offline

#120 2013-02-04 08:22:57

Alessandro R.
Member
From: Italy
Registered: 2013-01-09
Posts: 19
Website

Re: FluxBB Migration Tool

Maybe I explained wrong, sorry... I didn't mean that I couldn't access to "phpMyAdmin", but that I was not able to do that action... Yesterday I played around in "phpMyAdmin" and I found my username in the table, so I changed the number in the "group_id" field in "1"!

Thanks both!

Offline

#121 2013-06-06 18:13:52

danromanchik
Member
From: Ann Arbor, MI, USA
Registered: 2013-06-06
Posts: 8

Re: FluxBB Migration Tool

I'm thinking about changing from Phorum 5.2.8 to FluxBB. The initial post notes that this tool will convert Phorum 5.0.13, but how about this later version?  Has anyone been successful converting a Phorum to FluxBB?

Offline

#122 2013-06-06 20:36:34

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

Re: FluxBB Migration Tool

Hello and welcome! GO BLUE! big_smile

As you'd have to create a backup before doing the migration anyway, I suggest you just try it out...


fluxbb.de | develoPHP

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

Offline

#123 2013-06-07 19:18:11

danromanchik
Member
From: Ann Arbor, MI, USA
Registered: 2013-06-06
Posts: 8

Re: FluxBB Migration Tool

OK. So I am running it, and it seems to be running OK, but I'm getting the error message, "Notice: Undefined index:admin_id in [filepath]/fluxbb/converter/index.php on line 13" for every reply it's converting.

It's just about two-thirds of the way through now.  I'll report again when it's finished.

Last edited by danromanchik (2013-06-07 19:19:12)

Offline

#124 2013-06-07 20:38:06

Studio384
Former Developer
From: Belgium
Registered: 2012-04-11
Posts: 681
Website

Re: FluxBB Migration Tool

danromanchik wrote:

OK. So I am running it, and it seems to be running OK, but I'm getting the error message, "Notice: Undefined index:admin_id in [filepath]/fluxbb/converter/index.php on line 13" for every reply it's converting.

It's just about two-thirds of the way through now.  I'll report again when it's finished.

Notice that the converter only works with the 1.4.x branch, so you should convert your forum to 1.4.10 and then upgrade to 1.5.3. You can't convert directly to 1.5.x because of issues with the converter.

Offline

#125 2013-06-08 02:07:07

danromanchik
Member
From: Ann Arbor, MI, USA
Registered: 2013-06-06
Posts: 8

Re: FluxBB Migration Tool

Hmmmm. I don't know about that. It seemed to work OK. The only thing that I can see that didn't convert is the number of views.

Offline

Board footer

Powered by FluxBB