The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Strip bbcode from posts with mysql query
Hello,
I am wanting to remove formatting from post text such as font, size, and color. sample text I need to preserve things such as bold/italic/underline. So the above text would turn out like: sample text Is there a database query I could run on the posts table that would accomplish this? Can someone provide an example? |
#2
|
|||
|
|||
I don't know if there's an easy way to do it using a query, but you can use a small php script. Borrowing a nice script that Adrian posted in this thread https://vborg.vbsupport.ru/showthread.php?t=266166 , you could do something like this:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|