XF 1.5 Import from VB - Media - Youtube convert

Brogan

XenForo moderator
Staff member
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.
 

rosal

Member
That didnt work in this example.
Code:
[video=youtube;DFpku6n3r84]https://www.youtube.com/watch?v=DFpku6n3r84[/video]
 

Brogan

XenForo moderator
Staff member
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