Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #22  
Old 02-10-2011, 01:59 PM
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MikeF View Post
  • Guests can still see the fully translated BBCode
Thanks a lot for your message . Bug is fixed now. I am updated plugin to v.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.

___

For others suggestions - I will think about them later. Maybe I will add some field, where admins will be able to write link to some image (or vbphrase with html support will be better ?), which will replace banned word in non parsed post.
Reply With Quote
  #23  
Old 02-25-2011, 07:36 PM
netiforum netiforum is offline
 
Join Date: Jan 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://vbsupport.org/forum/showpost.php?p=342870&postcount=4" target="_blank">http://vbsupport.org/forum/showpost....70&postcount=4</a>
Reply With Quote
  #24  
Old 03-19-2011, 11:46 AM
harpreetxi harpreetxi is offline
 
Join Date: Feb 2011
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dosen't work for me , can u help me ?

1) i imported
2) i went to settings> banned word > added domain.com on in 1st line
3) saved and went back to forum and created a thread
4) wrote domain.com in it and submitted and there was posted successfully.
Reply With Quote
  #25  
Old 03-19-2011, 10:33 PM
DeathRS's Avatar
DeathRS DeathRS is offline
 
Join Date: Aug 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and works fine.

I was wondering if there is a way to exclude specific forums?

Can you do that?
Reply With Quote
  #26  
Old 03-20-2011, 12:32 PM
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by netiforum View Post
Russian chars must be supported too... but "strtolower" function which is used in my plugin, probably still not case sensitive for others codepages... In the next version I will try to use "mb_strtolower" with users codedpage, it will help with different codepages...

Quote:
Originally Posted by harpreetxi View Post
dosen't work for me , can u help me ?

1) i imported
2) i went to settings> banned word > added domain.com on in 1st line
3) saved and went back to forum and created a thread
4) wrote domain.com in it and submitted and there was posted successfully.
If plugin already imported, then you must go to it's settings and :

1. Enable it.
2. Add needed bad words...
3. Check users which will be not blocked (Users/usergroups exception lists). If you added yourself into exception list, then forum will not block you...
4. Save settings.

Quote:
Originally Posted by DeathRS View Post
I installed it and works fine.

I was wondering if there is a way to exclude specific forums?

Can you do that?
I don't understand... what means "exclude specific forums" ? If you don't want to block them, then just don't add them into a list...
Reply With Quote
  #27  
Old 03-20-2011, 01:00 PM
DeathRS's Avatar
DeathRS DeathRS is offline
 
Join Date: Aug 2010
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to block in some of the forum some words and not in others...

Like the exclude the usergroups option...

I need exclude forums option...
Reply With Quote
  #28  
Old 03-20-2011, 01:55 PM
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DeathRS View Post
I want to block in some of the forum some words and not in others...

Like the exclude the usergroups option...

I need exclude forums option...
Ah, I understand. Ok, I will think about this in next version.
Reply With Quote
  #29  
Old 03-20-2011, 02:01 PM
denman75 denman75 is offline
 
Join Date: Aug 2006
Location: Netherlands
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LordOfWAR_PC View Post
Ah, I understand. Ok, I will think about this in next version.
is hoping on v2.0 cus i need that my admins can say everything in the admin sections
but i need restrictions on the open boards ,thank you and tagged! for future use
Reply With Quote
  #30  
Old 03-20-2011, 02:05 PM
LordOfWAR_PC LordOfWAR_PC is offline
 
Join Date: Jan 2011
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by denman75 View Post
is hoping on v2.0 cus i need that my admins can say everything in the admin sections
but i need restrictions on the open boards ,thank you and tagged! for future use
It is already possible to exclude admin usergroups and they will not be blocked everywhere... Or you want to block them in others sections ?
Reply With Quote
  #31  
Old 03-26-2011, 04:03 AM
harpreetxi harpreetxi is offline
 
Join Date: Feb 2011
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did enabled it , No1 is in exception , i added word.com and word but still i can post thread with that word

Can you please check my forum ? i'll give u login in pm
Reply With Quote
Reply

Thread Tools

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 01:22 AM.


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.08373 seconds
  • Memory Usage 2,348KB
  • Queries Executed 26 (?)
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
  • (7)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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