Recently I was tasked with converting a UBB classic (6.7.2) forum to Kunena (1.5.6). Initially I had thought about writing my own custom code to do the conversion, but the thought of parsing the flat files that UBB uses for their forum and member data especially turned me off (besides the amount of time it would have taken).
Luckily the open source community had my back and after a lot of research I was able to find and get working several conversion scripts that I found online, these scripts with a little love will help you get out of that musty old perl-based UBB classic forum, once and for all.
The code (UBB.x_Convertor_0.1.1) that I found will work with all flavors of UBB forums, UBB.classic, UBB.threads and UBB.x, it will allow you to convert to phpBB 2.0.x, I used 2.0.23 and have included phpBB 2.0.23 for your convenience, I have also attached all of the other referenced documents for you as well.
Convert UBB Classic 6.7.2 to phpBB 2.0.x
This is where the magic of the script that I found really shines, it reads the data from the UBB forum and flawlessly converts that data into phpBB and stores it in the MySQL database that phpBB is using, previously as most of you are aware, UBB uses flat files to store the forum data, finally getting that information into a database is exciting! I have also included some other converter code originally developed by Genfect Media, which was the converter code that Graham Eames used to develop the working version (UBB.x Convertor 0.1.1) that I used.
Convert phpBB 2.0.x to phpBB 3.0.x
Once you have converted your forum to phpBB 2.0.x, you are going to need to perform an upgrade to phpBB 3.0.x. This should be fairly simple and straightforward, just follow any phpBB upgrade documentation on their website to accomplish this conversion to a 3.0.x forum, here is a copy of phpBB 3.0.6 for you to download and use.
Convert UBB phpBB 3.0.x to Kunena 1.5.6
Once the forum has been upgraded to phpBB 3.0.x, you are now ready to convert it over to Kunena 1.5.6. Now this script was originally created to convert the phpBB data to a Fireboard forum, but since Kunena was developed from Fireboard, most of the infrastructure framework is the same still and I was able to successfully convert over to Kunena.
The important thing to note is that this script may require a little hacking to make it work for your specific environment, one thing I specifically remember having to adjust were the memory settings in my php.ini. This all depends on the amount of forum data that you’re working with though, make sure to also adjust the runtime of PHP scripts, as it could also take a while to run.
During my research I also came across this other conversion code, this may be helpful to you if you are having trouble with the converting the data. There is also good news if you’re wanting to go with a vBulletin solution in the long run instead of Kunena as the guys over at vBulletin have included their own conversion script for migrating directly from UBB to vBulletin.