Dolphin to Joomla Migration - Introduction
If like me, you have had enough of your Boonex Dolphin website, and want to change to a more stable platform, you will need to migrate your existing database information and copy files across to work on a new script. To successfully do this, the existing data will need to be modified so that it functions with the new script, and files changed to suit. You will also need to set up the new script and modify it to suit your site. This means lots of tweaking, template changes and honing of site settings will be required before things are set up to your liking.
As I am providing and promoting the use of my migration script to migrate your site to use the JomSocial platform, I decided to write up a few articles to help make the transition a little smoother. As with any script, there is a steep learning curve required to be able to quickly use and manage a new script, and to make this easier I will provide a step by step guide to walk you through how to quickly get things up and running.
The migration process is quite involved and requires the possession of a number of skills. For this reason it will not be something that everyone will be able to perform. I advise everyone to read the notes at the top of the migration script to ensure that you fully understand the process. The script itself is also commented and should be easy enough for most novice coders to understand.
Scope
The following items will be migrated by the migration script
- Users
- Standard user profile info
- Avatars
- Mail messages
- Friends
- Events
- Photos
- Videos
- Forums
- Groups
- Blogs
- Articles
- Sites
- Spywall info
- IBDW Spywall data
- Modzzz Points data
Limitations
As everyone's dolphin installations will be different, it is impossible to cater for all modifications and setups, and so migration will be limited to standard modules plus the additional custom modules listed above. What this means in practice is that if you have a modified site, some data may not be transferred. It is of course possible to cater for custom or non-standard modules, but this will require custom work.
At the time of publishing, the following limitations are noted
- Modules not listed above will not be migrated
- Only standard Dolphin tables will be imported. Modified tables may not work.
- Old passwords will not work. All user passwords will need to be reset via the password reset function.
- There is an issue for converting HTML to Kunena BB code in long forum posts. This is a REGEX limitation and a workaround is currently being devised
Step-by-step
The migration process follows a set procedure, this is outlined as follows.
- Backup existing site files and database.
- Download Joomla + JomSocial + required 3rd party components
- Create a directory in your webroot called 'joomla'
- Copy Joomla files to this folder
- install Joomla using existing database credentials
- Install JomSocial component using Joomla integrated installer
- Install 3rd party components using Joomla integrated installer
- Change some administration and template settings
- Run the migration script
- Set up the site.
- Once happy you can then copy the contents of the Joomla folder to the root folder
The migrator will automatically read the old database information, convert it and use it to populate the new database tables. The script will also physically move existing photo and video files into the correct directories for the Joomla script. It can optionally also delete the old Boonex data once it is finished.
Included with the script is a file called rewrite.php which allows you to retain your old dolphin style links and rewrite them using htaccess to point at the new Joomla locations. You can also issue a 302 redirect to permanently redirect search engines to the new location.
Requirements.
The following versions have been tested to work together.
Easyblog 3.5.12286
http://stackideas.com/easyblog.html
http://www.kunena.org/download
JomSocial 2.6.2
http://www.jomsocial.com/
Joomla 2.5.6
http://www.joomla.org
PLEASE NOTE - you must currently use this version!!
Dolphin 7.0.4
PLEASE NOTE - I will test migration of newer Dolphin versions after I have successfully migrated and tested my own sites. I have not upgraded my own sites since Dolphin 7.0.4 as it was simply too much work and I did not want to jeopardise the integrity of my sites. Once things are up and running I will update my Dolphin code and check that the script works with newer Dolphin versions. In all likelihood it will work, please post back here if you have success on a later version.