Resource icon

Post Content Find / Replace 2.0.1

No permission to download
Another issue:
The code gets the message via $post->message.
Depending on installed Add-ons this might use a getter with modifies the value retrieved from the DB so preg_match / preg_replace may fail if the regex doesn't match the value retrieved from the getter (but would match the original DB value).

It might be better to (optionally) use $post->_message to bypass getters.
 
I just want to remove this color, not all colors:
Code:
[COLOR=rgb(138, 138, 138)]

If i use SQL to replace with nothing I will have to deal with the remaining
Code:
[/COLOR]
Hello, can anyone help me ? How to use this add-on to delete a specific color code from all forum posts?
 
Back
Top Bottom