Version: 0.9, by FractalizeR
Developer Last Online: Nov 2014
Category: Show Thread Enhancements -
Version: 3.6.8
Rating:
Released: 11-11-2007
Last Update: Never
Installs: 28
Uses Plugins
Translations Is in Beta Stage
No support by the author.
What this hack does?
This hack is a post censor, that will replace unwanted words and phrases by the values you specify.
Features:
Supports standard replace
Supports replacing using regular expressions
Allows to apply censor only to specified usergroups
On-the-fly regular expression syntax checking
Some use cases:
I don't like posts with multiple exclamation or question marks. Maximum three signs is allowed.
Sometimes you ban competitor forum names from using on your forum. But users enter them separating letters by spaces or underscores. This is unwanted and it is difficult to deal with using standard censor
Any forms of curses and bad words should be replaced by XXX
Version was tested under VB 3.6.8, but supposed to work on any 3.6.x release. Please report all compatibility issues here.
Please look at control panel screenshot below (please mind, that I am russian and screenshots are from russian forum, so for example usergroup names are incorrectly displayed when I set langauge to English).
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
hmm looks really good. I know a lot of people try to bypass the filters with spaced.
Just wondering, can this also bypass other characters besides the basic alphabet? Because I know people were using other characters that look like the alphabet to bypass the filters, not sure if your hack can filter it or not?
Just wondering, can this also bypass other characters besides the basic alphabet? Because I know people were using other characters that look like the alphabet to bypass the filters, not sure if your hack can filter it or not?
Yes, of course. You can use \xhh in search pattern, that denotes symbol with hexadecimal code hh. You can read more about this here: http://ru2.php.net/manual/en/ref.pcre.php
I had done several of my arrays, but always came up with the same result. I ended up just copying and pasting your sample array even though I don't see anyone typing "StringIWantToReplaceInto1" anytime soon. Still, no luck.
brandondrury, have you get rid of those nasty error messages? I cannot reproduce this situation on my forum. About filter - have you set usergroups this filter should be applied to? Filtering will work only for usergroups you select.
Does someone who also installed this hack has any problems with it?
I havn't tried it yet, i'm still fiddling with the expressions. How would I go about doing the same for multiple question marks? When I put a ? in there, it tells me that there is something wrong with my expression.
Here is what I have in the Regular Expression part: