vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Stop Spam Links 1.2 Gold (https://vborg.vbsupport.ru/showthread.php?t=134778)

SkyCatcher 12-25-2006 10:00 PM

Stop Spam Links 1.2 Gold
 
Stop Spam Links 1.2 Gold

As of 3.8 this mod seems to have lost some/all of it's functionality depending on your vb settings. If anyone wishes to build on this mod, please feel free to as I do not have the time anymore.



What does this hack do?

This hack will replace a users entire post with a predefined message that you can edit in the adminCP should the user's post contain a TLD such as .de .com etc. This will only affect people in usergroups of your choice. By default only usergroup 1 is selected (Meaning Guests).

If you enter a usergroup ID, those user's will never be able to post links as long as they are a member of that group.

If the user's usergroup ID is not entered, then you can use a minimum postcount value which all users need to meet in order to post links.

----------------------------
Example: You enter usergroupID 2 (registered members). All registered members will not be able to post links.

You enter 5 for the postcount. Registered members will not be able to post links. Everyone else will need 5 posts before they can post links.
-----------------------------
Example2: You enter 1 for usergroupID (guests). No guest will be able to post links.

You enter 5 for the postcount. Everyone, except for guests, will need 5 posts before they can post links. Guests will never be able to.
-----------------------------

Installation Stats:
  • 1 Product
  • 4 Plugins
Installation Instructions
  • Import the Product file via the AdminCP
  • Go into Vbulletin Settings > Stop Spam Links
  • Suit to your needs
Install Time: 1 min


If you like this hack, please click INSTALL ----->>


UPGRADE INSTRUCTIONS

Simply go into the AdminCP > Manage Products > Find Stop Spam Links > Remove

Then reinstall the new product.

MAKE SURE TO COPY YOUR PERSONAL MESSAGE, USERGROUP ID's, AND DOMAIN ENDINGS YOU'VE ENTERED TO NOTEPAD SO YOU CAN COPY/PASTE THEM BACK IN AFTER THE UPGRADE. OTHERWISE YOU WILL HAVE THE DEFAULT VALUES AGAIN.


Updates:
1.2 Added Restrictions for Editing posts, PM's, and Quotes1.1 Added the use of Postcount
1.0 Initial Stable Release

Attached are 3.6 versions in English and German.

Special Thanks go out to extremeTim.


Sexified Ninja 12-26-2006 12:51 AM

maybe if it could block specific links....

SkyCatcher 12-26-2006 12:54 AM

Quote:

Originally Posted by Sexified Ninja (Post 1145115)
maybe if it could block specific links....

You can do that in the AdminCP by using the word filter.


This is designed to stop people from registering, and spamming 20 something porn links.

There are other spam filters out there that won't allow posting of urls, etc which I'm also using with this hack.

The problem is that someone could just post

linktounwantedsite.com

and your vb wouldn't pick it up because it's not a url, but the users would still have to read all those links.

I have a minimum postcount of 5 before people can post links on my board and this illiminates any users from seeing unwanted material. :)

Smoothie 12-26-2006 01:44 AM

Correct me if I'm wrong but, the problem with this is it's based on usergroups and not post counts. All of my registered members are allowed to post links. Spammers usually register and thus become part of that usergroup and they usually make like 1-5 posts w/links and then leave. Disallowing that group to post links wouldn't work for most sites.

It would be better to base this off of post counts.

SkyCatcher 12-26-2006 01:58 AM

Quote:

Originally Posted by Smoothie (Post 1145129)
Correct me if I'm wrong but, the problem with this is it's based on usergroups and not post counts. All of my registered members are allowed to post links. Spammers usually register and thus become part of that usergroup and they usually make like 1-5 posts w/links and then leave. Disallowing that group to post links wouldn't work for most sites.

It would be better to base this off of post counts.

I can add that feature when I get back tomorrow if you like.

I've got 2 usergroups for main members.

1 is registered users (anyone with less than 5)

and as soon as they have 5 posts they automatically get promoted to full access via the promotion feature.

Smoothie 12-26-2006 03:08 AM

Quote:

Originally Posted by SkyCatcher (Post 1145132)
I can add that feature when I get back tomorrow if you like.

I've got 2 usergroups for main members.

1 is registered users (anyone with less than 5)

and as soon as they have 5 posts they automatically get promoted to full access via the promotion feature.

Based on user post count would work for me. Or maybe have an option for both. Does this prevent both links being posted such as this: www.spam.com or this: spam.com? Thanks.

taydu 12-26-2006 04:18 AM

greate mod, can you create a white list of sites what will not activate the block. One question would this mod catch the post if user use this format for the links?

w w w . y a h o o . c o m
w w w DOT Y A H O O d o t n e t

SkyCatcher 12-26-2006 08:47 AM

Quote:

Originally Posted by taydu (Post 1145162)
greate mod, can you create a white list of sites what will not activate the block. One question would this mod catch the post if user use this format for the links?

w w w . y a h o o . c o m
w w w DOT Y A H O O d o t n e t

Yes you can set that when entering TLD's.

You can combine such as:

.de,.com,. d e,. c o m

Which will look for:

anything.de
anything. d e
anything.com
anything. c o m

All values are seperated by a , which means it will look for anything you enter after the ,

Such as entering:
.de, .com

Which will do this:
mylinki.de = match for spam

mylinki.com = no match (no space before the .)

mylinki. com = match for spam

Smoothie 12-26-2006 12:48 PM

So, I see we now can disallow links via post count as well? BTW, what's a TLD?

SkyCatcher 12-26-2006 03:50 PM

Quote:

Originally Posted by Smoothie (Post 1145287)
So, I see we now can disallow links via post count as well? BTW, what's a TLD?

Yep.

A TDL is a Top Level Domain such as .com .org etc.


All times are GMT. The time now is 01:50 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.01429 seconds
  • Memory Usage 1,747KB
  • 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
  • (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