XF 1.4 How to replace bbcode and word?


1. My old VB forums were using [youtube][/youtube] BBcodes and were also allowing users to just paste the Youtube link and the video would be inserted.
What do I need to do to make all these work?

2. I'm struggling with finding how to replace words. These are word I was automatically replacing in both the text and links and I'd like to do the same with Xenforo.



XenForo moderator
Staff member
Run this in phpMyAdmin:
UPDATE xf_post SET message = REPLACE(message, '[youtube]', '[media=youtube]');
UPDATE xf_post SET message = REPLACE(message, '[/youtube]', '[/media]');
Take a backup first.

Auto parsing of media can be configured in the bb code media site options.