MyBB Community Forums

Full Version: Planning conversion
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm planning on converting my phpbb forum to mybb. I've made a few test forums which have been successful. I have only a few problems.

* bbcodes are showing up everywhere. As the phpbb3 bbcodes are different to mybb's.
* Strange codes in posts.

<!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=LnjSWPxJxNs&feature=related" onclick="window.open(this.href);return false;">http://www.youtube.com/watch?v=LnjSWPxJ ... re=related</a><!-- m --> 

Any idea how i can fix these? I think i can fix these strange codes in the posts. I changed some code in phpbb3 to make links open in new windows. If i put that back to normal they should not display in the posts when i try converting again.

Any idea how i can fix the other problem?
mybb 1.6x bbcode for youtube is

[video=youtube]http://www.youtube.com/watch?v=LnjSWPxJxNs[/video]

Run these 2 mysql Queries in PHPmyAdmin, in a "test" database:

update mybb_posts set message=replace(message, '<!-- m --><a class="postlink" href="http://www.youtube.com/watch?v=', '[video=youtube]http://www.youtube.com/watch?v=');

update mybb_posts set message=replace(message, '... re=related</a><!-- m -->', '[/video]');
The merge system is specifically designed to only convert BB Codes that are supported by a stock install. If this is a stock code in phpBB3 and we've missed it, please open a Bug Report