Converting Agora to Kunena – Joomla Migration Tools
I successfully converted our old Agora forum on zentrack.com to a shiny new Kunena forum.
[edit]The Kunena version was 1.0.8; I have no idea what the Agora version was as this took place over two years ago.
Since there weren’t any handy migration scripts, I broke out my trusty, quick and dirty db migrator, and whipped one up.
Here’s what you’d need for these scripts to be useful for your install too:
- Existing Categories in your Kunena db that mirror the old Agora forums
- Command Line Access to your server
- Basic understanding of SQL and shell scripting
Here’s what the scripts do:
- Works with or without CB
- Import all posts from Agora to Kunena
- Convert agora user ids to joomla ids (used by Kunena)
- Updates post counts by category (Kunenas sync tool doesn’t do well)
Here’s what to do:
- Make sure your categories are set up
- Download the zip file linked here
- Open configure.php
- Modify the connection info at the top
- Set the forum ids to category ids
- Set $fake_inserts = true
- Run the script: php ./converter.php (a test run)
- Check out the printed results and make sure they look sensible
- Set $fake_inserts = false
- Have a go at the real data (you have a backup, right??)