Hello guys love the forum software, I always keen on trying new things and being on the bleeding edge, I know its not ready for production but I wanted to try it out with the data from a phpbb forum that's been running for a couple of years. So I created a little php migration script that will generate a sql file that contains most of the data from phpbb and populate flarum tables with it. I recommend to start with a clean forum setup and the import the data. The script is rough around the edges and not perfect in any means. The main limitation is user data, passwords are not transferable so instead the script will create a user with a random password. which after the migration they would need to reset.
Script has been tested with a fresh version of Flarum Beta 5 and works
Some changes to how the script works it now does a pure DB --> DB migration and does not generate and sql files that you have to re-import into the new db. If your phpbb database is on a unreachable host from where the flarum DB is you will have to do a initial migration of the old PHPBB database into the new host once to perform the migration
I thought I update the script. It now works with 0.3 release since there was not any major database changes I improved several bugs I found in the code the biggest was the discussion timeline being wrong the new version will also format the posts better any images will now display in the posts and quotes will also work.
The new script is here: https://github.com/robrotheram/phpbb_to_flarum
The last function in the codebbcode_toHTML can easy be expanded adding in bbcodes I have missed.
The script now has a proper home in a repo that you can find here https://github.com/robrotheram/phpbb_to_flarum fork away
For anyone who wants to use the script here are the steps I use
1. Create a fresh forum using the standard install instructions
2. when you create the forum make sure the email is different to the one in phbb otherwise there will be some conflicts
3. run the my script with the correct database parameters for you. (make sure that the script is executable and the directory writable)
4. after the script has run you will see a file called flaurm.sql import that file into your database and all your content will be migrated.
An Example of the export can be see here with all post form a phpbb forum: http://flarum.robrotheram.com