- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,420
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
Let's say I want to remove the following legacy BBcode:
Code:
Then I run:
SQL:
Is this correct? Just checking here before I bottle it and have to restore a backup. For example, the Xenforo Youtube embed code is:
Code:
So, I don't want to remove the
Code:
part that matches on accident.
Post content...
Code:
[video=youtube]
Then I run:
SQL:
UPDATE xf_post SET message = REPLACE(message, '[video=youtube][/video]', '[MEDIA=youtube][/MEDIA]');
Is this correct? Just checking here before I bottle it and have to restore a backup. For example, the Xenforo Youtube embed code is:
Code:
[MEDIA=youtube][/MEDIA]
So, I don't want to remove the
Code:
=youtube]
part that matches on accident.
Post content...
نام موضوع : Removing old BB code from posts.