Making A Swear Filter

CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
edited May 2005 in Off-Topic
<div class="IPBDescription">Need you foul mouthed people</div> Hi I’m making one of these signature images where you can leave a message, but due to the fact that most forums have a swear filter on them and I don’t want to break the terms and conditions of using these forums I need to make a swear filter.

*WARNING*
The following address might contain adult material and may not be suitable for those of you who are easily offended.

Although the greatest care has already been put in place to make sure that words are filtered.

Any way for those of you who are willing to test it out for me please could you go to the above address and swear till your heart is content.

<span style='font-family:Arial'><span style='font-size:14pt;line-height:100%'><span style='color:red'>UPDATE:</span></span></span>

The finished version is at:

<a href='http://www.curvatures.co.uk/index.php?dest=sig' target='_blank'>http://www.curvatures.co.uk/index.php?dest=sig</a>

Thanks for your help with the swear word filter, the only way to really test it now is to make it live, just working out if thats possible <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin-fix.gif' border='0' style='vertical-align:middle' alt='biggrin-fix.gif' /><!--endemo-->

Comments

  • JimmehJimmeh Join Date: 2003-08-24 Member: 20173Members, Constellation
    Racist words are not filtered.
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    Ammending now thanks for your help
  • CabooseCaboose title = name(self, handle) Join Date: 2003-02-15 Member: 13597Members, Constellation
    first lady... <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo--> <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused-fix.gif' border='0' style='vertical-align:middle' alt='confused-fix.gif' /><!--endemo-->
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    You guys are gross fair play
  • JimmehJimmeh Join Date: 2003-08-24 Member: 20173Members, Constellation
    I win to be honest.

    I did all I could think off.
  • BlackMageBlackMage [citation needed] Join Date: 2003-06-18 Member: 17474Members, Constellation
    remember to rot13 the swearfilter (http://tools.geht.net/rot13.html) so us sneaky trolls can't swear
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    ooohh looks into rot13

    Its a shame i have to make it filter but hell its better then getting kicked out <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
  • ShoeboxShoebox Join Date: 2004-11-15 Member: 32817Members
    ok ya exactly what is the point of this?
  • im_lostim_lost TWG Rule Guru Join Date: 2003-04-26 Member: 15861Members
    What does rot13 accomplish? I checked out the site, plugged in some text, and saw that the characters were shifted by 13, but I don't see how it is useful.
  • BlackMageBlackMage [citation needed] Join Date: 2003-06-18 Member: 17474Members, Constellation
    it's used to bypass swear filters in some places because most people who have been online for a while know how to translate (in other words, someone could put "**** your mother" through rot13 and then add it to your sig thingy)
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    <!--QuoteBegin-Shoebox+May 24 2005, 11:04 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Shoebox @ May 24 2005, 11:04 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> ok ya exactly what is the point of this? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    If your talking about the post its to find as many offensive words as possible and create a filter so you cant use those words.

    As for the sig, its just a bit of fun with php as i got really bored. If any one wants a copy of the filter just pm me and i will give you a list, it is actually usefull for people.
  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    On a side note, you should put in some form of flood prevention so people aren't constantly fighting over who gets to write in your sig. :P

    p.s. you should be aware that on these forums at least dynamic sigs are not allowed (for the very reason you are making this post about). Just an FYI in case any mods nuke your sig.

    Still, a neat little project. Dynamic PNG content via PHP ftw. :D
  • BlackMageBlackMage [citation needed] Join Date: 2003-06-18 Member: 17474Members, Constellation
    edited May 2005
    GIF via Perl > PNG via PHP

    a question for the mods:
    does a sig that is rewritten every day count as dynamic?
  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    Wang in a blender > Perl though :P

    On another side note, the little alien curvey thing on your main site looks horrendous. I can't read any of the text.
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    Yeah im noticing some flood protection is needed, this is the first showcase ive done so far so im kinda happy about it.

    Well if mods feel the need to nuke my sig after all this i dunno, seems a bit pointless.
  • BlackMageBlackMage [citation needed] Join Date: 2003-06-18 Member: 17474Members, Constellation
    edited May 2005
    i happen to like regexs and the fact that i can do in six lines what it takes you twenty to do (real coders don't have to update, they get it right the first time)

    on a tanget to a tangent, what alien curvy thing?


    edit: 2kth post!
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    Making it a non live thing would work, then im actually moderating what goes into it <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
  • ShoeboxShoebox Join Date: 2004-11-15 Member: 32817Members
    <!--QuoteBegin-Curve+May 24 2005, 04:09 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Curve @ May 24 2005, 04:09 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Shoebox+May 24 2005, 11:04 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Shoebox @ May 24 2005, 11:04 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> ok ya exactly what is the point of this? <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    If your talking about the post its to find as many offensive words as possible and create a filter so you cant use those words.

    As for the sig, its just a bit of fun with php as i got really bored. If any one wants a copy of the filter just pm me and i will give you a list, it is actually usefull for people. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    ahhh i get it.
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    damn it ive got to make it so people cant just hit submit and cause a line break
  • Mad_ManMad_Man Join Date: 2003-06-13 Member: 17359Members, Constellation
    You might wanna add a char limit =/

    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    Shouldnt be accepted
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    Yeah didnt think of a character limit, doh!
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    Character limit now works, w00t

    Now ive just gotta make it so that you cant just put ".........." or "poo poo poo"
  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    Indeed mr. mage, regular expressions ftw
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    Well its a shame it aint live but i guess its the only way to make sure it doesnt get abused <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad-fix.gif' border='0' style='vertical-align:middle' alt='sad-fix.gif' /><!--endemo-->
  • CurveCurve Join Date: 2003-12-17 Member: 24475Members, Reinforced - Shadow
    ok well i pretty much finished it.

    Any more ideas are always appreaciated <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile-fix.gif' border='0' style='vertical-align:middle' alt='smile-fix.gif' /><!--endemo-->
Sign In or Register to comment.