Quote:
Originally Posted by Skublum
I know what the problem you are having is.
It is simply that you need to put a comma after the single quote if there is going to be ANOTHER thing to censor after it.
In other words the comma should be after each one with the exception of the last one
so it SHOULD look like this
PHP Code:
return(array(
'StringIWantToReplaceFrom1' => 'StringIWantToReplaceInto1',
'StringIWantToReplaceFrom2' => 'StringIWantToReplaceInto2',
'StringIWantToReplaceFrom3' => 'StringIWantToReplaceInto3',
'StringIWantToReplaceFrom4' => 'StringIWantToReplaceInto4',
'StringIWantToReplaceFrom5' => 'StringIWantToReplaceInto5'
));
|
But the examples we tried all had coma's at the end of each line....
Even if I try it with the default installed blank setting I get the errors. I used this:
And I get error'ss with these samle ones too:
Code:
return(array(
'StringIWantToReplaceFrom1' => 'StringIWantToReplaceInto1',
'StringIWantToReplaceFrom2' => 'StringIWantToReplaceInto2'
));
WTF, just got a msn from a board member while I was testing... setting says its set to admins only, but my friend got the same errors and he is just a regular basic user, so this mod should not even be affecting him....
Quote:
Originally Posted by Skublum
One thing that I might just be missing or it might not exist,
the ability to remove case sensitive blocking. So that if it is at the beginning of a sentence and is capitalized it still gets blocked.
|
Regex does that if you put
'/wordToReplace/i' The
i makes it case insensitive.