Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Ban some words/links from using on the forum Details »
Ban some words/links from using on the forum
Mod Version: 1.2.1, by LordOfWAR_PC (Member) LordOfWAR_PC is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 4.67 average) Installs: 55
Released: 23 Jan 2011 Last Update: 10 Feb 2011 Downloads: 241
Not Supported Uses Plugins Re-usable Code Translations  

Product was updated to version 1.2.1

Changelog v1.2.1 :
  • Fixed bug, when guests was able to read posts (with parsed bbcodes) even after option - "Disable BBCodes in all existing posts, which already include denied words/links" was enabled.

Changelog v1.2 :
  • Threads/Posts and Pm's titles will be checked for banned strings too.
  • Now it is possible to customize your own error message for every banned word/link/string.

Changelog v1.1 :
  • Now error message are provided with banned word/link which was used in users message. So users will know which word they must delete to continue.
  • All links are urldecoded before checking, so trick with posting urlencoded links will not work anymore.

____

In some time, every VB forum admin have an situation, when someone or some spam-bots, or groups of peoples starting writting every time same "bad" words or when they every time publishing a links on their web-sites. They think that referals from your site will help them to grow up in search systems and e.t.c.

Vbulletin have an normal autocensor, which can change some words to the "*****", but it allows to the users to write a post... Also after using autocensor, if sometimes we will want to disable it - all this links/words must be resaved in every post to see them again (because even after disabling autocensor - peoples will see same - "*******").

____

So... With using "BannedWords" plugin, you can ban/deny some words/links(or their parts) from using in new posts/pm's. Users will see an error after trying to add new reply/start new thread or so... (error with text that he used banned word. To be clear - I am used "word" as any string which can be an part of users message).

This plugin allows you to specify banned words, users and usergroups which will be ignored by plugin (let's say - situation, when we want to leave possibility to publish forbidden links for moderators and admins) and others options.

Plugin options (screenshot) - vBulletin Options->Banned Words Plugin Settings :


Error which users will see after creating messages with denied words (screenshot) :


If you want to customize error message for every banned word, you must make new vbphrase (for needed banned word) in Languages & Phrases->Phrase Manager->Add New Phrase :
  • Phrase Type=Error Messages
  • Product=BannedWords
  • Varname=AnyYourVarName
  • Text=AnyYourErrorMessage (your error message can contain this word - "!bword!",which will be replaced by banned word which cause the error.

After you will make new vbphrase, you must go into this plugin options and type your banned word and phrase name as shown in Example #2 :

somelink.com,my_error_vbphrase1

(Banned Word/Link and Phrase/Var name must be separated by comma).

___

If you will enable option with disabling bbcodes in all posts (with denied words), which was created recently, they (posts) will looks as shown in this screenshot (with disabled bbcodes) :


___

Also you can disable this product in any time, and all recently blocked words will be allowed and bbcodes in old posts with denied words will works automatically.

Product was tested on VB 3.8.6 and VB 4.0.1, but must works also on every VB 3 or 4 version...

____

How to install :

Just import xml file as usual VB product.

Uninstallation :

Just uninstall this product as any other VB product.

How to update :

Uninstall and then reinstall product (before that, it is recomended to save your old options into some place).

____

For multilanguage forums :

After installing of "Ban some words/links from using on the forum" product, you will be able to find and edit needed vbphrases :
  • bannedwords_error
  • setting_bannedwords_onoff_desc
  • setting_bannedwords_onoff_title
  • setting_bannedwords_list_desc
  • setting_bannedwords_list_title
  • setting_bannedwords_exception_usrgroups_desc
  • setting_bannedwords_exception_usrgroups_title
  • setting_bannedwords_exception_users_desc
  • setting_bannedwords_exception_users_title
  • setting_bannedwords_use_in_pm_desc
  • setting_bannedwords_use_in_pm_title
  • setting_bannedwords_disable_bb_in_exist_post_desc
  • setting_bannedwords_disable_bb_in_exist_post_title

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	OldPostWithBannedWords_AfterPlugin.jpg
Views:	1607
Size:	19.2 KB
ID:	126002   Click image for larger version

Name:	error.jpg
Views:	1453
Size:	52.0 KB
ID:	126112   Click image for larger version

Name:	error2.jpg
Views:	169
Size:	45.8 KB
ID:	126113   Click image for larger version

Name:	Params_en.jpg
Views:	1447
Size:	406.8 KB
ID:	126152  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 24 Jan 2011, 08:48
Jackie1 Jackie1 is offline
 
Join Date: Sep 2007
Don't work in vbb 4.1.1.
Pls help me
Reply With Quote
  #3  
Old 24 Jan 2011, 11:28
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Originally Posted by Jackie1 View Post
Don't work in vbb 4.1.1.
Pls help me
Just tested it on Vb 4.1.1 forum and all works fine. Banned links was blocked.

//--Added

Or you are telling about Blog (not a forum ?). If yes, then sorry, it was developed for using on the forum only.

//--/Added



"Not work" means not working everywhere or only in some place ?

After installing the product, you must go to the "Vbulletin Options->Banned Words Plugin Settings", then enable and configure it (example was shown in the first screenshot there).

If plugin will be configured, then users will not be able to create new thread/new reply/save edited post/send PM/ShowPosts with denied words (depending on you plugin configuration). Others actions, like send public messages will not be checked.

Also you must understand, that if you added your user id or usergroup id into exceptions, then there will not be any restrictions for you (you will be able to make new posts with denied links/words, edit them, see them with enabled bbcodes and e.t.c., so if you want to test plugin - at the first step do not add any exceptions (or then test it from different user accounts with different usergroups). And if all will works fine, then you can think about usergroups or users exceptions).

___

If you do all what I wrote before and it's doesn't help, then check "Vbulletin Options->Plugin/Hook System". It must be enabled too :

Attached Images
File Type: jpg hook.jpg (37.9 KB, 1318 views)

Last edited by LordOfWAR_PC; 24 Jan 2011 at 11:33.
Reply With Quote
  #4  
Old 24 Jan 2011, 12:45
rajubd rajubd is offline
 
Join Date: Jun 2009
it will be very usefull for me will install it soon..
Reply With Quote
  #5  
Old 24 Jan 2011, 20:22
rajubd rajubd is offline
 
Join Date: Jun 2009
work well in vb 4.1.1
moninated also...
Reply With Quote
  #6  
Old 24 Jan 2011, 20:24
Blackbeard02 Blackbeard02 is offline
 
Join Date: Sep 2009
Thank you, this may save me some headaches
Reply With Quote
  #7  
Old 24 Jan 2011, 23:18
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Thank you
__________________
games
Forum Nokia
Reply With Quote
  #8  
Old 25 Jan 2011, 02:21
g0dfather1984's Avatar
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Any chance of letting a user know what word they exactly said wrong?
Reply With Quote
  #9  
Old 25 Jan 2011, 10:23
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Originally Posted by g0dfather1984 View Post
Any chance of letting a user know what word they exactly said wrong?
Yes, i will add this option in next version
Reply With Quote
  #10  
Old 26 Jan 2011, 00:46
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Product was updated to 1.1 version.

Changelog :
  • Now error message are provided with banned word/link which was used in users message. So users will know which word they must delete to continue.


  • All links are urldecoded before checking, so trick with posting urlencoded links will not work anymore.

Last edited by LordOfWAR_PC; 26 Jan 2011 at 00:55.
Reply With Quote
  #11  
Old 27 Jan 2011, 11:54
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Real name: Valdet
Can you also add an option to block this word on title only, or title/thread.

And what about vB 3.x versions.

Great hack. Thanks.
Reply With Quote
  #12  
Old 27 Jan 2011, 13:13
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Originally Posted by valdet View Post
Can you also add an option to block this word on title only, or And
Ok, I will add an option with title blocking too.

Originally Posted by valdet View Post
what about vB 3.x versions.
3.8 versions are supported too (you can install it without any changes), I just don't want to make two same threads in both forums...
Reply With Quote
  #13  
Old 27 Jan 2011, 16:00
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Product was updated to version 1.2.

Changelog v1.2 :
  • Threads/Posts and Pm's titles will be checked for banned strings too.
  • Now it is possible to customize your own error message for every banned word/link/string.


If you want to customize error message for every banned word, you must make new vbphrase (for needed banned word) in Languages & Phrases->Phrase Manager->Add New Phrase :
  • Phrase Type=Error Messages
  • Product=BannedWords
  • Varname=AnyYourVarName
  • Text=AnyYourErrorMessage (your error message can contain this word - "!bword!",which will be replaced by banned word which cause the error.

After you will make new vbphrase, you must go into plugin options again and type your banned word and phrase name as shown in Example #2 :

somelink.com,my_error_vbphrase1

(Banned Word/Link and Phrase/Var name must be separated by comma).
Reply With Quote
  #14  
Old 28 Jan 2011, 10:54
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
This is not working at all on my forum. Nothing happens. No error message, nothing.

Please advise. I am on vb 4.1.1

Thanks!
__________________
For custom designed Windows 7 Visual Styles/Themes, please visit CreativX!
Reply With Quote
  #15  
Old 28 Jan 2011, 15:10
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
So, you want to say that you added some word(s) into banned list, enabled plugin and after this, peoples still can make new threads/new posts with banned words ?

1. Make sure that you really enabled this plugin.
2. Check if plugin/hook system is enabled :


3. Maybe you have some others plugins, which are working with threads/posts too... (so there is some conflict)...

4. Did you added some usergroups or userid's in users exception list ? If yes, then check your usergroup and(or) userid - if you are in exception list, then plugin will ignore you - your account will not be checked, so you will be able to add even banned words...

P.S. As I wrote in second message - I am already tested plugin on vb 4.1.1 - so it must works...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:34.

Layout Options | Width: Wide Color: