Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ban some words/links from using on the forum Details »»
Ban some words/links from using on the forum
Version: 1.2.1, by LordOfWAR_PC LordOfWAR_PC is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 01-22-2011 Last Update: 02-09-2011 Installs: 57
Uses Plugins
Re-useable Code Translations  
No support by the author.

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

File Type: xml product-DeniedWords_en_1_2_1.xml (16.5 KB, 226 views)

Screenshots

File Type: jpg OldPostWithBannedWords_AfterPlugin.jpg (19.2 KB, 0 views)
File Type: jpg error.jpg (52.0 KB, 0 views)
File Type: jpg error2.jpg (45.8 KB, 0 views)
File Type: jpg Params_en.jpg (406.8 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
DNCL, nacaruncr, pwnedPRO

Comments
  #32  
Old 05-05-2011, 07:01 PM
thehawkVB thehawkVB is offline
 
Join Date: Apr 2011
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a limit in the number of words?

I added 66 of them, didn't work, with one it did.

EDIT: Ok, it seems words are to be on different lines, not separated by comma, mea culpa

Thanks.
Reply With Quote
  #33  
Old 07-28-2011, 12:17 AM
DNCL DNCL is offline
 
Join Date: Jul 2011
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello dear LordOfWAR_PC, does this mod work well with the CKEditor in 4.1.4 or 4.15? if not can you upgrade it please so i can upgrade my 4.1.3 forum.
Reply With Quote
  #34  
Old 07-28-2011, 01:14 AM
rajubd rajubd is offline
 
Join Date: Jun 2009
Posts: 209
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes working on 4..1.4
Reply With Quote
Благодарность от:
DNCL
  #35  
Old 10-25-2011, 03:10 AM
nacaruncr nacaruncr is offline
 
Join Date: Nov 2010
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed + tagged + MOTM + 5 Stars

Edit:
How I can do to appear all list of ban words when people trying to post?
example.... I have this webs in the list:
Code:
hidemylinks.com
zpag.es
adf.ly
ivpaste.com
How I can do to appear:
"Sorry, but Administrator denied one of the words, which you used in your message
hidemylinks.com, zpag.es, adf.ly, ivpaste.com
..."

regards
Reply With Quote
  #36  
Old 11-19-2011, 02:48 PM
Gonzales Gonzales is offline
 
Join Date: Nov 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

perfect for my board, is work in 4.1.8, ty.
Reply With Quote
  #37  
Old 02-06-2012, 10:37 PM
muratcan25's Avatar
muratcan25 muratcan25 is offline
 
Join Date: May 2009
Location: Turkey
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to vbulletin 3 ?
Reply With Quote
  #38  
Old 04-19-2012, 08:25 AM
Samsine Samsine is offline
 
Join Date: Sep 2008
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it work in 4.1.11
Reply With Quote
  #39  
Old 11-10-2017, 12:48 AM
gsk8's Avatar
gsk8 gsk8 is offline
 
Join Date: Jun 2003
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems to work fine on VB 4.2.5

I wish there was a way to ban the word "jap" without banning "japan". We have a huge international presence, and some folks from other countries don't understand that this is not an acceptable word.
Reply With Quote
  #40  
Old 05-28-2018, 12:06 AM
DCD.RB DCD.RB is offline
 
Join Date: Jan 2011
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This seem to work on vB 3.8, but I noticed someone was able to bypass this just having a quote or spoiler tags before the post.

I tested it, the banned words filter no longer checks for the words if the quotes/spoiler tags came before the banned words.

Edit: I got it, using this seems to break the plugin:

Code:
Reply With Quote
Reply


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


All times are GMT. The time now is 08:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13671 seconds
  • Memory Usage 2,333KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete