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)
-   -   Administrative and Maintenance Tools - (Extra Spam Protection) Prevent Posting Of Links On User Group Per User Group Basis (https://vborg.vbsupport.ru/showthread.php?t=243925)

borbole 06-03-2010 10:00 PM

(Extra Spam Protection) Prevent Posting Of Links On User Group Per User Group Basis
 
1 Attachment(s)
This is another mod I coded for my own forum and thought to submit it here in the hope tha other users might find an use for it as well. Lately my forum has been hits with a lot of spam posts. It seems like they bypass every single prevention at the registration which leads me to believe that those who register are human spammers and once they pass through all the anti spam restrictions at the registration, the spam bots take over to post at the forums.

Anyway, this hack will allow you to make posting of links allowed/disallowed on a usergroup per usergroup basis.

Installation: upload the includes folder to your forum root folder and then import the link_gids.xml file inside the mod package to Plugins&Products in the Acp of your forum.

After you install it, go to your Acp->Usergroups->Usergroup Manager->{ Chose the group that you want to prevent from posting links->Click Edit Usergroup} and under Post / Thread Permissions, you will see a new setting that says: Prevent From Posting Links, set that to yes.

For more information, please have a look at the attached screenshot below.

sulasno 06-04-2010 09:48 AM

tagged and thanks

Xencored 06-04-2010 11:21 AM

Awesome BYEBYE Spammers :D

Thansk alot mate 5*

borbole 06-04-2010 07:33 PM

Thanks for your comment. Since I coded this, I have to say that I didn''t have a single spam link.

cfish 06-09-2010 12:46 PM

This mod looks perfect as a replacement for the Check4SPAM mod - thank you.

How does this mod identify links? Does it do a search on the text string, looking for "www." ".com", ".net" etc. or does it just prevent the user from using the Insert Link button?

Speysider 06-09-2010 03:54 PM

Why not use Valter's Advanced Permissions hack? Doesn't this just do the same thing, stop people posting links when a criteria isn't met?

cfish 06-09-2010 04:15 PM

Quote:

Originally Posted by Speysider (Post 2051073)
Why not use Valter's Advanced Permissions hack? Doesn't this just do the same thing, stop people posting links when a criteria isn't met?

Yes, that would do the trick provided that links can be spotted when entered as plain text and not just as BBCode.

borbole 06-09-2010 05:19 PM

Quote:

Originally Posted by cfish (Post 2050974)
This mod looks perfect as a replacement for the Check4SPAM mod - thank you.

How does this mod identify links? Does it do a search on the text string, looking for "www." ".com", ".net" etc. or does it just prevent the user from using the Insert Link button?

It prevents them from posting links in both ways.

borbole 06-09-2010 05:20 PM

Quote:

Originally Posted by Speysider (Post 2051073)
Why not use Valter's Advanced Permissions hack? Doesn't this just do the same thing, stop people posting links when a criteria isn't met?

Nope, mine is different which you could have noticed as well if you read the description/saw the screenshot under the first post.

cfish 06-09-2010 05:29 PM

Quote:

Originally Posted by borbole (Post 2051111)
It prevents them from posting links in both ways.

Fantastic. Is the search string editable? I have a problem in that users may want to post questions about the .NET framework and this could be mistaken for a link.


All times are GMT. The time now is 03:05 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
  • Page Generation 0.01778 seconds
  • Memory Usage 1,743KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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