DeeEmm

Pragmatism in code

Waxing lyrical about life the universe and everything software related since lunchtime 2006.

Nautilus: Dolphin to JomSocial migration script - Latest progress.

After restarting work on the migration script a few weeks back I have made great progress on getting it finished. I have gone through a few revisions and am now on version 0.10. The bugs are slowly getting addressed and the end is nearing.

The current version 0.10 is still in progress. I'm currently working on migrating the group forum posts into the discussion section of each group, but this is proving to be harder than originally anticipated. Still to go before I release the next version are to migrate articles, navigation structure and IBDW Spywall entries. I finally decided to migrate Spywall posts as the user profile pages look very bare. Plus the transition from old to new will be a lot smoother for members.

One major change is that I decided to flip the way that the migration is carried out. Originally I opted to install JomSocial and copy the Boonex files into a sub directory. However, after some thought I decided that it would be better to do the opposite. Now the migration is carried out by installing JomSocial into a sub directory. This means that you can get the whole migration up and running before going live. It also allows you to easily retain or switch between both sites by using htaccess rules.

The other major change is to move away from the corePHP Wordpress plugin and use EasyBlog. EasyBlog is much more user friendly and comparable with Wordpress on a basic level. OK so it doesn't have the plethora of plugins available to Wordpress, but on a community site this is probably a good thing. I do Have one JomSocial site that uses the corePHP Wordpress plugin, and whilst it works well, it is generally too complex for most users to get their heads around. If anyone really wants / needs a specific blogging platform I would be happy to write a custom script, although I would not do this for free.

I have addressed most of the issues with the previous release including the video and photo sections. All videos, both embedded and uploaded are now supported. Groups are migrated as are events, forums and groups. I have also added messages to the migrator. Although my own site does not really utilise the messaging function, there would be plenty that do. 

One nagging issue that I have not been able to fix relates to the forums. There is a bug that means a small amount of posts are not being converted from HTML into the BBcode that the forum uses. This means that the HTML tags display in the posts. I've stared at this particular issue for so long that I now have code blindness. It only happens to longer posts and almost seems to be an issue related to REGEX or database limitations. For the time being I've decided to focus on the outstanding issues, and leave this issue until later.

Once the basic migration script has been finished I will then look towards writing some code to allow htaccess redirects for the moved content. This is really important for SEO and retaining any rankings that you may have already amassed. The redirect script will utilise both htaccess rules and a custom php script to lookup the new data and return the correct link with a 301 (permanent) redirect. This will also allow any hot linked images or videos to still work.

At the moment I'm throwing all of the time that I can at getting the script finished as I want to migrate my remaining Dolphin site to JomSocial. Timeframe for the finished article including redirect script is probably still at least a month away, although a fully functional migration script will hopefully be closer.

Anyhows, Here's the changelog...

/DM

 

Version 0.10 (so far)

21.06.12
- Improved forum migration
- Kunena setup (categories to be enabled - add viewing permissions) 
- Fixed group avatars 
-

Version 0.9
20.06.12
- Fixed Video migration

Version 0.8
08.06.12
- Improved video migration
- Updated Photo migration
- Reformatted script to work from subfolder of dolphin installation
- Added groups migration
- Added easyblog integration
- Improved Forum migration
- Added Message migration
- Added Sites migration

Airflick & Airplayer
iPad 3 months on

Related Posts

 

Comments 1

DeeEmm on Tuesday, 26 June 2012 02:34

Just a quick update...

IBDW spy wall comments now migrated. Just working through the 'likes'.

0
Just a quick update... IBDW spy wall comments now migrated. Just working through the 'likes'.
Already Registered? Login Here
Guest
Friday, 26 May 2017
If you'd like to register, please fill in the username, password and name fields.

Captcha Image