![]() |
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? |
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:
|
All times are GMT. The time now is 04:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|