inicio mail me! sindicaci;ón

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:

  1. Make sure your categories are set up
  2. Download the zip file linked here
  3. Open configure.php
  4. Modify the connection info at the top
  5. Set the forum ids to category ids
  6. Set $fake_inserts = true
  7. Run the script:  php ./converter.php (a test run)
  8. Check out the printed results and make sure they look sensible
  9. Set $fake_inserts = false
  10. Have a go at the real data (you have a backup, right??)