• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 BB Code help


Active member
So I just migrated from VB to Xenforo and I'm now dealing with some legacy issues. One of those is the BBcode I used for Youtube embeds on VB. When using VB, the user would use this code to embed a youtube video:


Where ESOj56fWB8Q = ID of the video on Youtube.

Is there a way I can make these old legacy embeds work on my new Xenforo installation using custom BB codes?

Thanks so much!



XenForo moderator
Staff member
Take a backup first.

UPDATE xf_post SET message = REPLACE(message,'[YT]','[MEDIA=youtube]');
UPDATE xf_post SET message = REPLACE(message,'[/YT]','[/MEDIA]');


Active member
So, I did this... And it didn't work.... posts still display in this format:


Could I have missed something? Is it case sensitive?