MyBB Community Forums

Full Version: Censor word.bug and suggest.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I don't know if it's a bug but the "bad word filter" don't work fully.

For exemple i want to change "mala" to "bamba"

If i post a text with "mala" i will read "bamba" when posted but if i edit or quote this text "mala" is still there.
If use search engine with "mala" key, the post will appear Sad.

The bad word filter could be a very a usefull tool ......

Imagine i don't want direct link for posts.

For exemple, i don't want to see links like

http://mydomain.com/board/mybb/showthrea...d=18#pid18

Because :

1: I use a redirect site like "dot.tk".Members don't have to know my host.
2: If i have to move board on an other host, i won't have problem with relative link Wink .

That's why it would be very usefull to use "word filter" for that.

"http://mydomain.com/board/mybb/" will be changed with "." Smile

And the link in the post will become "./showthread.php?tid=11&pid=18#pid18"

Very usefull isn't it ?

When testing this i saw another problem.
The tag "[ url]".

It gives nothing with :

post link

relative links don't work with url tag.

But it's ok with html when allowed.Cool



******************

I think it will be better to choose beetwen partial like it is or complete censor like i suggest.

Complete is usefull for links for exemple.

But partial is not bad if i want to censor words like "b*tch" for exemple and want to know in
case of problem if someone abuse about this for exemple flame PM between members.

Because we are talking about what about more choices like :

Kind of censor [complete] [partial] (Only when viewving post) .

Only word ( It works like that)
*word
word*
*word*

Using "*" and or "?" like on msdos could be appreciated.

because if "b*tch" is forbidden "b*tchs" will work Wink .

********************
After suggest, i want to congratulate this setting about one good thing.

For now i'm using IPB and the censor is complete, but i can't censor "?php" , a very dangerous word Sad .
And on mybb, if it's partial, it works Smile .

Another problem with IPB, if there's still a post with a bad word. Old post won't be refresh, if i create a bad word with mybb it's ok too Smile
darkside Wrote:If i post a text with "mala" i will read "bamba" when posted but if i edit or quote this text "mala" is still there.
That's intended in the way that the system was designed. The word is replaced on the display of the page, but the actual "bad word" is stored in the database. This allows for flexibility in the future if you decide to add/change/remove bad words, all posts will reflect the new rules.
darkside Wrote:If use search engine with "mala" key, the post will appear Sad.
It shouldn't, because the search engine will never see the actual word (bots don't have permission to edit the post, so they always see the "replaced" version of the word).
Hi Denis,

Thanks for answer Smile.

Quote:It shouldn't, because the search engine will never see the actual word (bots don't have permission to edit the post, so they always see the "replaced" version of the word).

I tried again and the bad word is in the result search ....
darkside Wrote:Hi Denis,

Thanks for answer Smile.

Quote:It shouldn't, because the search engine will never see the actual word (bots don't have permission to edit the post, so they always see the "replaced" version of the word).

I tried again and the bad word is in the result search ....

That would be because you did not have the word filter until it was already indexed by the search engines.
I create a new one with a word not in database "taratata" ...

It's a test board with only me, then i know what is posted Wink

I made a post with this word.

End then i made a shearch with this key and ........ the post is in the result.
Check the cache date of the search engine page.
labrocca Wrote:Check the cache date of the search engine page.

how can i do that ?

thanks .
For Google, when you see the list of the results, there will be a small "Cached" link to the right of the green URL text. This is what Google is basically "seeing" on your board/site.
I'm not talking about spiders like google and co.....

I'm talking about the search engine of mybb.
Seems to be:

For example, you created a bad word filter to change "MyBB" to "Google", post a thread with "MyBB" in it which would be replaced by "Google", then search the forum for "MyBB", the "Google" thread would appearer incorrectly.

Then, if you search for "Google", there is know threads found.

Is that what you mean, darkside?

However, it seems the search page phases the badwords as there's calls to the function:
$parser->parse_badwords();
Pages: 1 2