Censored Words

Started by fmben, July 03, 2011, 03:57:42 AM

Previous topic - Next topic

fmben

in the backend, there is a Censored Words (under  Posts and Topics)

right now, if we set a word, like smf => simple machines forum, then even in the coding

<a href=http://www.smf.cn>SMF Chinese</a>

will change to

<a href=http://www.www.simple machines forum.cn.cn>simple machines forum Chinese</a>

I don't want the url part change, only text not links can use this function, how to do it? can we change some code to do it like this?

Illori

the censor function does not know the difference in urls and text, but you can try checking check only whole words and see if that helps.

fmben

emm...

yes, the function don't know it.

so we don't have any way to deal with this? Because it's very important to not deal with those text inside the <a> tag, so i can't let it to change the wordings inside the <a>this text</a>

Illori

you can always post a mod request, Mod Requests

Advertisement: