Converting IPB 1.1.2 (old version) to SMF 1.0 RC2

Started by AceTW, November 12, 2004, 10:45:59 PM

Previous topic - Next topic

AceTW

Good day all,  I just found the SMF forum software and thought I'd make the attempt to change one of my forums over to it as a test first.

I've gotten the base SMF installed, and the database created.  I also got the invision_to_smf.php converter and have attempted to run it.  I get consistent errors while attempting the conversion though.  (supplied argument is not a valid MySQL result resource..... etc etc)


Info that might prove useful.

The SMF and the IPB databases are on the same servers. (mysql.secureserver.net)
They have different logins which cannot be changed nor have users added to them. (apparently)



Any additional info anyone can throw my way?

AceTW

Ok,  I got it..  :D

I simply installed the SMF database into the existing database, and the conversion went very well!


(Yes,  it was definately a duuhh moment once I realized how easily it was taken care of.........)  ::)

[Unknown]

Sorry I didn't get to you earlier, but I'm glad you got it resolved.

If you have any problems with the conversion, avatars not working etc., please feel free to tell us about them - better earlier than later, because you might be able to reconvert.

-[Unknown]

AceTW

No problem at all..  This seems to be the way I do things for some reason.  I have to ask a question to others to get my brain working on an answer.
I'll go through it all over the next few days and let you all know if there's something I can't figure out.

Many thanks!

Virgo

I had issues when trying to convert from IPB 1.1 to SMF RC2. One solution might be upgrading IPB to newer version first, but it's not preferable option because it isn't free anymore.
Most of conversion went well, but groups and group permissions aren't working. I examined converter a little bit, and at least following things probably cause problems:

Step 16: Permissions

Line 1644: There is no g_edit_topic field in ibf_groups table in this ipb version, so select query causes error.

In same query, group id's not to include are "hard coded" based on id numbers, in my forum, group id's aren't same. Don't know why, maybe because I have upgraded forum long time ago from older IPB 1.0.x versions. For example, banned group has id 9 instead of 5 and "Members" group has id 8 instead of 3.

On line 1656: if ($row['ID_GROUP'] > 5)
Seems that normally user made groups has id > 5, but not in my forum. Reason might be again an upgrade from even older versions. So converting groups doesn't work like it should, because one of my own made group has id 5 (so id_group > 5 doesn't include that one). Same thing causes problems at start of script (line 219): 'ID_GROUP' => "IF(mgroup = $INFO[admin_group], 1, IF(mgroup > 5, mgroup + 3, 0))"


Step 17 on conversion also gave error. Thats because in this ipb version, there is no g_perm_id field in ibf_groups table. Also the same "hard coded" g_id's cause problems.

There were also few issues on converting BBC in messages. Lists don't work right, because converter doesn't add [/li] at the end of line. Also font sizes had issues.


So any suggestions, how should I proceed? I tried modifying convert script myself, and got groups converted correctly (at least I think so :) ) But group permissions wasn't set correctly, how should I fix that? Or is it easier to manually make groups in SMF and assing members to them?

Edit: I just remembered that before I moved to IPB, I had Ikonboard 3, which I converted to IPB, so that most likely the reason, why group id's doesn't match the default ones and is maybe causing other problems too.

Oldiesmann

It is relatively easy to create groups in SMF, but assigning members to the new group is a bit trickier because you either have to do it from the database or one member at a time.

Advertisement: