PDA

View Full Version : Don't censor inside HTML or vbCode


SFishy
06-09-2001, 08:17 AM
Hey all,

Sounds a bit bizarre but I need to have it so the censor function does NOT include anything inside HTML or vbCode tags. In our community we have some weird censor rules and some of the words are actually things that could be used inside a useful tag!

example:
I can't have
<font size="1">blah blah</font>
popping out as
<font size="****">blah blah</font>

Can anyone help me with this? I really need to have censoring ignore anything inside carrots.

Thanks!

John Percival
06-09-2001, 03:46 PM
Amy,

Unfortunately, there is not a lot that we can do about that - without serious programming effort, which will also slow the running of the board down considerably, you are not going to be able to achieve that anyway. Perhaps you might have to give up on censoring whatever is appearing in the HTML code?

Can anyone help me with this? I really need to have censoring ignore anything inside carrots.

We have an anti-carrot policy in place here I am afraid :)

John

Mike Sullivan
06-09-2001, 03:55 PM
Do you mean "inside carrots" as ^word^ or ^blahblahblah word blahblahblah^ ? (Those are carrots, right? :)) If it's the former, you could probably edit the censoring routines to account for that (adding the carrot as something that won't match in an exact [ {word} ] censor).

vanny
09-04-2001, 06:13 PM
I would like to censor the word " I hate you " to " I love you". How can I do that ?

Wayne Luke
09-04-2001, 08:38 PM
Originally posted by vanny
I would like to censor the word " I hate you " to " I love you". How can I do that ?

Pretty old, non-relevant thread to bump but...

Create a replacement variable.. In "text to look for" put hate. In The replacement text box put love.