Upgrading to phpbb3 works fine.
28.2.08: new script version
# killed a minor bug
# gui included - not tested with Windows, so it is disabled by default. Enable it if you want to give it a try by setting gui to True in the script.
Note: passwords aren't really converted, as it is not possible technically. See post #5 for details and a solution.
THIS IS NO SERVER-SIDE SCRIPT! YOU MUST RUN IT ON YOUR LOCAL MACHINE!
This version is still BETA, as I can only test it with my dump. It seems to work, though.
This convertor does not convert announcements, settings, attachments, ranks and other not so important stuff .
Supermoderators will be imported as normal mods and they will be set as moderator for every forum.
So if you want to give it a try:
You will most likely need phpmyadmin (the converter was only tested with phpmyadmin dumps...).
Make sure that there is at least one regular admin (user_group 4). Any user who is subscribed to a custom user_group (>7) wil become a standard registered user in phpbb2.
So here we go:
0.) Create a new directory on your hard disk where you save all files related to this conversion.
1.) Make a DB dump. You MUST NOT use complete inserts!
phpymyadmin: select your db, click export, select the mybb tables, tick structure, tick 'simple quotes for table and field names' (or sth like that - again: I don't use the english version, sry), tick data, untick "extended inserts", untick "complete inserts", tick "send", click ok and save the file to your 'conversion' directory.
2.) Download the python script to the same directory as the db dump.]Download the script here.
3.) Open the script with some editor and adjust the settings.
4.) Linux: run the script
Windows: download Python and install it.
Open the command line and browse to the directory where you have installed Python. Start the script:
Code: Select all
6.) Use bigdump.php or sth. else to import the created database file (phpbb2.sql) to your phpbb2 database (on your server).
7.) If you want to stay with phpbb2: see the next post. Edit login.php.
If you want to upgrade to phpbb3: run the phpbb3 update script and see post #5 for further information.
8.) Delete the whole conversion directory.