vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Ban some words/links from using on the forum (https://vborg.vbsupport.ru/showthread.php?t=257680)

valdet 01-27-2011 09:54 AM

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.

LordOfWAR_PC 01-27-2011 11:13 AM

Quote:

Originally Posted by valdet (Post 2155201)
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.

Quote:

Originally Posted by valdet (Post 2155201)
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...

LordOfWAR_PC 01-27-2011 02:00 PM

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).

Taurus1 01-28-2011 08:54 AM

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!

LordOfWAR_PC 01-28-2011 01:10 PM

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...

Taurus1 01-28-2011 02:06 PM

I am 100% sure I set it up correctly. So then there must be a conflict.

LordOfWAR_PC 01-28-2011 02:26 PM

Quote:

Originally Posted by Taurus1 (Post 2155702)
I am 100% sure I set it up correctly. So then there must be a conflict.

1. Can you pls send to me in PM screenshot of options menu, or just text of banned words ? I just want to check them by myself...

2. Where you tried it ? I mean - on creating new message, new thread, new pm ? Did you tried others words/links ?

BBF 01-29-2011 10:49 AM

let's say that i banned the word "sex".
if some user want to replay / create new thread with the word "sex", it will delete his post automatically and show him error message?

another question, it is possible to define the mod to use the "original" vBulletin censor system?

LordOfWAR_PC 01-29-2011 08:36 PM

Quote:

Originally Posted by BBF (Post 2156023)
let's say that i banned the word "sex".
if some user want to replay / create new thread with the word "sex", it will delete his post automatically and show him error message?

It will not delete no any post... Plugin will check users text (after he will click on post button) and if there is no any denied words, then message will be created on the forum, otherwise user will see an error with asking to delete forbidden words/links from his message.

Quote:

Originally Posted by BBF (Post 2156023)
another question, it is possible to define the mod to use the "original" vBulletin censor system?

No, it is other plugin, it works separately from original censorship system. But I can add in future version, something like - changing banned text to some word (or chars, like ***) in exists messages...

MikeF 02-09-2011 05:23 PM

Here here! This is a GREAT mod, but the BBCode thing is terrible. I have several problems with prior post blocking. Here's my scenario: We are trying to block:

imageshack.us
imageshack
image shack
91.216.122.223

Why? ImageShack has some 1/1000 problem where a phishing attack that says you have a virus on your computer pops up out of nowhere. So we want to prevent our members from accessing or posting about ImageShack. That IP is also the phishing site.

We can prevent NEW posts/threads/PMs about this, but
  • Guests can still see the fully translated BBCode
  • Outputting raw BBCode just makes people more interested anyway

I highly suggest you fix the first problem, and secondly, you suggest putting up a block message in replacement of the specific text/URL that has already been posted. This would help people understand what is going on, and that the forum itself is not experiencing a strange error.

Otherwise, nice one. If you continue to develop this mod, it could be considered as MOTM and many people will adopt it as a standard for their site.


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01256 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete