Hi,
I have just found a new oddity in the badword filter. Please excuse my language as I need to use it to explain the exact situation.
In my bad word filter I have many words but the one that I'm having difficulty with is:
<badWord>fuck</badWord>
When I type in "fuck" into our chat feature, the filter does exactly what is expected of it.
If I type "fuck you", the filter doesn't catch the error.
I'm confused because all other words such as "cunt" or "shit"... work exactly as they are expected to. So if I type in "eat shit" or "you cunt" or something similar, I get booted as expected.
Any ideas?
Smartfox Server Pro - 1.5.5
CentOS 5
Badwords Issue - Not recognizing word with other words
-
ChaseDoggy
- Posts: 8
- Joined: 20 Jun 2007, 16:11
Hi and welcome,
It's not clear to me if you also added "fuck you" to the list. Can you show us your bad-words-filter config? You can omit the long list of bad words, just the general settings and the "fuck" related bad words
Thanks
No probI have just found a new oddity in the badword filter. Please excuse my language as I need to use it to explain the exact situation.
It works for me. I added "fuck" to the bad words list and then tried the simple chat. I get "**** you" as expected.When I type in "fuck" into our chat feature, the filter does exactly what is expected of it.
If I type "fuck you", the filter doesn't catch the error.
It's not clear to me if you also added "fuck you" to the list. Can you show us your bad-words-filter config? You can omit the long list of bad words, just the general settings and the "fuck" related bad words
Thanks
-
ChaseDoggy
- Posts: 8
- Joined: 20 Jun 2007, 16:11
If I'm reading this right, I made a big mistake. But I don't know why it would filter the other words and not the one that I had mentioned earlier.
<BadWordsFilter active="false">
<FilterMode>filter</FilterMode> <!-- REMOVE or FILTER -->
<Warnings>true</Warnings>
<FilterRoomNames>true</FilterRoomNames>
<FilterUserNames>true</FilterUserNames>
<WarningsBeforeKick>3</WarningsBeforeKick>
<WarningMessage><![CDATA[No swearing!)]]></WarningMessage>
<KickMessage><![CDATA[You've been warned! No Swearing! Now you're kicked]]></KickMessage>
<BanMessage><![CDATA[Stop Swearing! You're being banned!]]></BanMessage>
<BanAfter timeSpan="1">3</BanAfter>
<BadWordsList>
Sorry if I wasted your time. I will set:
<BadWordsFilter active="true">
and see if that works.
Ever feel like a complete idiot?
<BadWordsFilter active="false">
<FilterMode>filter</FilterMode> <!-- REMOVE or FILTER -->
<Warnings>true</Warnings>
<FilterRoomNames>true</FilterRoomNames>
<FilterUserNames>true</FilterUserNames>
<WarningsBeforeKick>3</WarningsBeforeKick>
<WarningMessage><![CDATA[No swearing!)]]></WarningMessage>
<KickMessage><![CDATA[You've been warned! No Swearing! Now you're kicked]]></KickMessage>
<BanMessage><![CDATA[Stop Swearing! You're being banned!]]></BanMessage>
<BanAfter timeSpan="1">3</BanAfter>
<BadWordsList>
Sorry if I wasted your time. I will set:
<BadWordsFilter active="true">
and see if that works.
Ever feel like a complete idiot?