The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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:
|
![]() |
|
|