![]() |
Postbased content killer [3.6 compatible]
We have been using the replacement variable manager and the censorship functions in vBulletin for a long time now, and it works fine as long as our users types the censored words as we have entered them in the managers. Sometimes our users gets smart and instead of typing in "censored word" they type "c e n s o r e d w o r d" and suddenly they have passed through the censoring system. This is very annoying and I still can't find a censorship manager that handles regular expressions.
This is why I wrote this plugin - to handle users that tries to avoid the censoring with different kind of characters, spaces, etc. The content filter should be used with caution - it kills the content completely (without destroying the original of course), if it finds any matches of a filtered word - just like I wanted it from the start. Unfortunately I have'nt done any admin interface yet (because I can't), to handle patterns, but this is a good start, and configuration is made from the plugin manager. Filtering can be handled in 3 different ways:
Details:
|
*reserved
but i really dont understand it to the fullest... its pretty much replace text? how did u go about doing the code? |
It just replaces the $post[message] with another string if any matches are done, so admins/moderators can still see the original post.
|
why would your message be *reserved ???
|
The default plugin also affect PM's. To avoid this, add the following code at the top of both content_killer_quote and content_killer_postbit:
PHP Code:
|
Quote:
|
The old "private"-thing has been fixed when I converted this hack to a "admin-configurable" interface.
Tested with 3.6 |
Coming soon
|
All times are GMT. The time now is 03:00 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|