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.
I am running 5.2.1. But hack should work on all PHP versions, that VB support.
I will also take a look. The problem is, that thread titles are displayed in many templates and deep hacking is needed.
so everytime that some user writes somebody@someserver.another.com the hack will replace it with XXXXXX@XXXX.XXX
i don?t have idea of expressions, so i dont know, how can i do it :$
so it?ll be very grateful if you guide me to do that
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.
so everytime that some user writes somebody@someserver.another.com the hack will replace it with XXXXXX@XXXX.XXX
i don?t have idea of expressions, so i dont know, how can i do it :$
so it?ll be very grateful if you guide me to do that
Try such regex: '/\s+[A-Za-z_\.]+@[A-Za-z_]+\.[A-Za-z_]+\s+/' =>'XXX@XXX.XXX'
2Big_Ern:
Still cannot reproduce error on my PC, but will check these days.
i just find it odd that me & bandonury are getting the same error.... I'm trying to think what might be causing it, but my forum has no other mods installed and I am on a good host that usually never has any tech problems r limitations like some of the free hosts....
thanks for looking into it. I hope we can find a solution, as I would love to install your mod
Is there anyway this could work for people using different cases. I don't care if they use different characters to get the word across, that is against my forums rules and they will be warned, but I hate punishing those who know of the censor and just type the word anyway expecting it to be blocked but then because it was at the beginning of a sentence or they write in all caps it gets by.