• 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

#1
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.
 

---MAD---

Well-known member
#4
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.
 

Mike

XenForo developer
Staff member
#5
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.
 
#7
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. :-/
 

dutchbb

Well-known member
#10
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.
 

Forsaken

Well-known member
#11
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.
Forums that target minors need the censors, even if it'll be bypassed.
 

yoghurtfarmer

Well-known member
#12
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.
 

Dean

Well-known member
#13
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.
This sounds interesting. Could you make up a couple of examples so I could better understand you?
 

yoghurtfarmer

Well-known member
#14
This sounds interesting. Could you make up a couple of examples so I could better understand you?
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.
 

Jonathan

Active member
#16
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
 
Likes: Ra

buro9

Active member
#19
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.
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.