PDA

View Full Version : Censoring


filburt1
06-23-2002, 01:46 AM
How can I enable HTML for the censor char? I set it to <img src=... but it shows up as in the final HTML as &lt;img src=...

Admin
06-23-2002, 05:58 AM
You need to enable HTML in posts if you want the censor to censor HTML tags.

filburt1
06-23-2002, 02:06 PM
Isn't there some way to instead just switch the order of the parsing? Like censor the words after everything has already passed through the bbcode parsers?

Admin
06-23-2002, 02:23 PM
You mean before. Anyway, future posts will have this censored, as censoring is done when the post is added (to reduce load) and on the fly (to make sure new words are censored as well).

filburt1
06-23-2002, 02:37 PM
No I do mean after unless the htmlspecialchars() function is not called within the bbcode parser functions. That way the censoring would be the last function called, after all htmlspecialchars() and the <>s would be preserved.