Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Migrating a Site to Silverstripe /

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Vanilla Forum to SS Forum


Go to End


4 Posts   3851 Views

Avatar
devnull

Community Member, 7 Posts

5 October 2009 at 10:59am

Edited: 05/10/2009 11:03am

I am writing some small quick php scripts for copying the Vanilla Forum into the SS Forum.

I am manually just adding the users to the Members table with the correct settings assigned
updating the group table for association

Forums have been created for the Vanilla Categories.

The Discussion from Vanilla are being added to the Post table with the Discussion->FirstComment body and authorid, and the forumID for the CategoryID
The Comments are then added to the Post table with the correct TopicID

While these are beeing added there are lookups to update the authorid with the new Memberid.

If anyone thinks there is a better way to do this write in SS please let me know, or if you would like a copy of the scripts please reply.

Thank You,
devnull

Avatar
Willr

Forum Moderator, 5523 Posts

5 October 2009 at 4:26pm

Hey devnull,

Sounds good! If you get the script to a solid working state it might be cool to bundle a whole bunch of these migrator tasks into the module. Internally we just did a phpbb3 -> SS forum which will hopefully be included. Vanilla would be a nice addition to this set of tasks

Avatar
devnull

Community Member, 7 Posts

7 October 2009 at 12:14pm

Edited: 07/10/2009 4:46pm

quick question for you.
do you know how to convert html to the bbcode format easily or to just not use bbcode in the forum ?
vanilla uses html bodies ... i would prefer to not use bbcode on the forum actually if i don't have too.

-drew

@@update:
sorry ... found a good start http://forum.codecall.net/blogs/jordan/209-converting-html-bbcode.html

Avatar
SuperBlues

Community Member, 25 Posts

25 March 2010 at 1:39am

hi devnull

I have exactly the same requirement. To transfer a Vanilla forum to SS.

Did you get this working and if you could point me in the direction of any scripts that you used I would be grateful

thanks