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

[Already got it] Word Filter Censor feature

Discussion in 'Closed Suggestions' started by Mr. Wah, Aug 19, 2010.

  1. Mr. Wah

    Mr. Wah Member

    Just wanted to put in a suggestion of allowing a word filter form of a censorship. Allowing me to set my forum with a list of words that would be auto-filtered to another word. For example, I could list in the ACP the word "dog" to automatically be changed to "cat" and "*dog*" to automatically change anything with the word "dog" contained in it. I believe PHPBB uses this type of filter system and I have enjoyed it quite well.

    This could be an addition or stand alone to the current censor format.
     
  2. Kier

    Kier XenForo Developer Staff Member

    We already have something that does that and more.
     
    Jonathan and GodForum.com like this.
  3. Boothby

    Boothby Active Member

    Can it detect alterations like:

    BADWORD --> B A D W O R D --> B*A*D*W*O*R*D --> ß@Ð\^/()®|)

    ?
     
  4. ---MAD---

    ---MAD--- Well-Known Member

    I've never seen software that can detect something like that as thats far to different from the actual word that is meant to be censored.
     
  5. Mike

    Mike XenForo Developer Staff Member

    Chasing all sorts of censor permutations isn't worth it. If someone wants to get around it, they will; there are unlimited ways to approach it. It just has to be handled by active moderation.
     
    Sushubh Mittal likes this.
  6. yoghurtfarmer

    yoghurtfarmer Well-Known Member

    Does it include the use of regex? :)
     
  7. Mr. Wah

    Mr. Wah Member

    Thank you. As this made me very upset when I purchased VB4 only to see that I could list some censored words but it would only come out as *****. As an all-or-nothing. :-/
     
  8. FredC

    FredC Well-Known Member

    +1, An actual word replacement system would rock.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Word replacement exists.

    Type Z enforo (without the space) for example and the result is Xenforo.
     
  10. dutchbb

    dutchbb Well-Known Member

    I think censoring words is total nonsense. Firstly, people are just going to find ways to bypass it i.e. s.h.i.t. etc. But also the whole idea of censoring things like f*ck is nonsense. If you don't like people talk that way on your forum just tell them and make it a forum rule. And give them some kind of warning when they keep doing it.

    However word replacement would be great. Especially if you can include HTML.
     
    Mert likes this.
  11. Forsaken

    Forsaken Well-Known Member

    Forums that target minors need the censors, even if it'll be bypassed.
     
    Kier likes this.
  12. yoghurtfarmer

    yoghurtfarmer Well-Known Member

    The reason I mentioned regex earlier is that some forums insert affiliate links when someone links to amazon, ebay or etc. It would be awesome if this could be done via word censor rather than add-ons.
     
  13. Dean

    Dean Well-Known Member

    This sounds interesting. Could you make up a couple of examples so I could better understand you?
     
  14. yoghurtfarmer

    yoghurtfarmer Well-Known Member

    For example if somebody linked to http://www.groupon.com and my affiliate link is http://www.jdoqocy.com/click-4020055-10795794, it would replace the original link with the affiliate link. This example is easy to do with any ordinary word filter.

    The tricky part would be linking to specific products on a website like Amazon. Say a member is writing that Amazon has a deal on an LG TV and links to http://www.amazon.com/LG-32LE5300-3...1?ie=UTF8&s=electronics&qid=1283730207&sr=8-1

    Some admins would be interested in adding their affiliate tag (eg: ?tag=xenforo) so it'll become

    http://www.amazon.com/LG-32LE5300-3...electronics&qid=1283730207&sr=8-1?tag=xenforo

    Since there are so many different products and URLs for amazon, regex would be a flexible way to easily add these affiliate tags. Flexibility is important since affiliate tags/links vary depending on the program you belong to.

    Conversely, you might be an admin at a forum that does NOT allow affiliate/referral links. You can use regex to strip them out without having to rely as much on moderators.

    Maybe there's already easy ways to do this? I'm far from a programmer and not really well versed in forum software yet.
     
    Jesepi and Ra like this.
  15. Hornstar

    Hornstar Well-Known Member

    Yeah word replacement would be a welcomed addition.
     
  16. Jonathan

    Jonathan Active Member

    It'd be cool to have, like on phpBB, a system where the user can choose whether to censor words on the settings/preferences page
     
    Ra likes this.
  17. Ra

    Ra Active Member

    Regex idea is good for establishing +1 revenue source
    I Support this
     
  18. Jethro

    Jethro Well-Known Member

    +1 Also can have a lot of fun with it ;)
     
  19. buro9

    buro9 Active Member

    I'm there... doing it now:
    http://xenforo.com/community/threads/urlrewriter-auto-media-embed-and-affiliate-schemes.8292/

    That's a very early release.

    I'm going to be making a lot of rapid changes to first build out the definitions, and after that to work towards optimisation (to ensure it works on pages with tons of links whilst still supporting hundreds of definitions) and then admin tools so that you can add your own rewrite definitions and manage your affiliate codes... oh, and it also re-writes YouTube tags to embed videos.
     

Share This Page