Censoring of words in quotations does not work?
5 posters
Page 1 of 1
Censoring of words in quotations does not work?
I have added a list of banned words in my censor list in the admin panel and its working most of the time. However if the user uses quotations around the word its not being censored. How do I fix it so all banned words are censored even if the user is using quotations. Example the word banna is censored but “banna” is not censored.
Thanks
Thanks
agency.operator- New Member
- Posts : 2
Reputation : 0
Language : English
Re: Censoring of words in quotations does not work?
I believe that won't be possible unless you create "banna" & censor it as well.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Censoring of words in quotations does not work?
May i ask what banna means ?
Tarogasini- Active Poster
- Posts : 1351
Reputation : 9
Language : English
Location : Simplicity is my style.
Re: Censoring of words in quotations does not work?
banna is just the example word. i banned a word like banna then a member posted "we like banna" and the word was not censored. I would also like to be able to ban a phrase. It would be helpful if there was a way to ban a phrase like "we like banna"
agency.operator- New Member
- Posts : 2
Reputation : 0
Language : English
Re: Censoring of words in quotations does not work?
To ban a phrase, add a wildcard (an asterisk) before of after the word "banna". For example:
*banna*
That will censor "We like banna" or "Banna is awesome". I'm not entirely sure why the word is not censored in quotes, though.
*banna*
That will censor "We like banna" or "Banna is awesome". I'm not entirely sure why the word is not censored in quotes, though.
Re: Censoring of words in quotations does not work?
I think it (database or whatever) looks for the amount of characters and then looks at the center character, then the first and last until a perfect match. So, "banna" would register as 7 characters, rather than 5.
Similar topics
» the forbiden words in my forum don't work
» Vulgar Words Censoring
» CSS censoring
» Regular Expressions Pattern Matching for censoring words
» Word censoring doesn't work any more
» Vulgar Words Censoring
» CSS censoring
» Regular Expressions Pattern Matching for censoring words
» Word censoring doesn't work any more
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum