XF 1.5 Import from VB - Media - Youtube convert

Brogan

XenForo moderator
Staff member
#2
If it's just the bb code tags, you can do it with two simple queries.

Code:
UPDATE xf_post SET message = REPLACE(message, '[youtube]', '[media=youtube]');

UPDATE xf_post SET message = REPLACE(message, '[/youtube]', '[/media]');
That assumes the tags in VB are youtube /youtube.

Take a backup first.
 

Brogan

XenForo moderator
Staff member
#4
Yes, it won't work for more complex embeds.

You'll have to use the add-on you linked to in your first post.
 
Top