Nirjonadda
08-27-2015, 11:03 AM
How to remove BB Codes tags From post ? ALL [HIDE] tags it's created.Please any one can post the SQL Code for remove the HIDE Code? I want to Completely remove the Tag HIDE Code, How i can do ?
Seven different BBCode:
[HIDE-REPLY]
[HIDE-POSTS]
[HIDE-THANKS]
[HIDE-REPLY-THANKS]
[SHOWTOGROUPS]
[STG]
[HIDE]
Seven Skins
08-27-2015, 06:45 PM
Run this query after making DB backup.
Use it at your own risk.
UPDATE post SET pagetext = REPLACE(pagetext,'[HIDE-REPLY]','');
UPDATE post SET pagetext = REPLACE(pagetext,'[HIDE-POSTS]','');
UPDATE post SET pagetext = REPLACE(pagetext,'[HIDE-THANKS]','');
UPDATE post SET pagetext = REPLACE(pagetext,'[HIDE-REPLY-THANKS]','');
UPDATE post SET pagetext = REPLACE(pagetext,'[SHOWTOGROUPS]','');
UPDATE post SET pagetext = REPLACE(pagetext,'[STG]','');
UPDATE post SET pagetext = REPLACE(pagetext,'[HIDE]','');
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.