1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How does the swear filter work?

Discussion in 'XenForo Pre-Sales Questions' started by Facepalmx2, Sep 26, 2010.

  1. Facepalmx2

    Facepalmx2 Active Member

    Curious how the swear filter works.
    Does it work like vBulletin does?
    Is there some sort of new setup that makes it awesome?
    Is there any way to add several words at once, or is it one-by-one? (e.g. is it a text box, or is it like IP.Board?)
    Just looking to find out for a project to help people become lazy. :p
  2. Shamil

    Shamil Well-Known Member

    It seems to work like vBulletin does. So identify a string of letters, regardless of if it's a substring or not.
  3. Erik

    Erik Well-Known Member

    Personally, I would really like regex support. Someone posted earlier about how "s n i g g e r" got censored. Most cases like this could be avoided using a proper regex. :)
  4. James

    James Well-Known Member

    There are word replacements too. Typing K e i r changes it to Kier and so on. I hope it has a similar vB implementation so that I can filter only if that word appears on its own.

    Regex sounds nice too.
  5. Kevlar

    Kevlar Member

    Will the censor filter take into account people who are smart enough to apply formatting in the word to circumvent the swear filter? For example badword != badword ... badword would be filtered but the second would not due to the formatting in the word.
  6. Shadab

    Shadab Well-Known Member

    Unfortunately not.

    See this thread: [Won't Fix] BBCode Bypasses Profanity Filter.
    (especially Scott's post for an explanation)
  7. Mike

    Mike XenForo Developer Staff Member

    No, that is, effectively, impossible. (Or at least stupendously complex.)
  8. dutchbb

    dutchbb Well-Known Member

    That's one of the reasons we do not - and never will - use a swear filter. It's really something that should be reserved for kids forums anyway. On an adult forum you just make rules and agreements with your members about this. If they break those rule after being warned a first time they should be sanctioned. It makes no sense to have a swear filter when you know it's not changing behavior. That's like having a red traffic light, but when someone is driving through it you just accept it and do nothing about it.
    anotheralias and Ruven like this.

Share This Page