The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Replacement variables: non-case sensitive?
Hi guys,
I have a list of a few words that on my forum aren't appropriate. Sometimes though we get a drive-by posting...from someone that is just trying to flame the community and offend. And so, to take away the offensiveness, I've added these 3 words to the replacements with a nonsense word to replace it. the problem I'm having is sometimes one of the words slips by with a different formation of the word and mainly with an upper or lower case letter difference somewhere. this could be fixed if these replacement variables were non-case descriptive. Any way to do that? thanks for any ideas! |
#2
|
||||
|
||||
well, not so easy, because there is no str_replace function which is caseinsensitiv.
on php.net there are some examples how to achieve that, but they didn't work for me... |
#3
|
||||
|
||||
Why not add these words to the standard vB censor?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|