Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Stop Spam Links 1.2 Gold Details »»
Stop Spam Links 1.2 Gold
Version: 1.2, by SkyCatcher SkyCatcher is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 12-25-2006 Last Update: 12-30-2006 Installs: 90
Uses Plugins
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 12-23-2007, 09:28 PM
thefullmaza thefullmaza is offline
 
Join Date: Aug 2007
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks v good
Reply With Quote
  #103  
Old 12-24-2007, 12:46 PM
Electric-Shadow Electric-Shadow is offline
 
Join Date: Apr 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, could come in handy

nice job
Reply With Quote
  #104  
Old 12-24-2007, 12:48 PM
raja811 raja811 is offline
 
Join Date: Oct 2006
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx
Reply With Quote
  #105  
Old 04-27-2008, 03:56 PM
kawzaki kawzaki is offline
 
Join Date: Nov 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher View Post
I'm a total preg_match noob. Everytime I look at those it makes my head hurt.

What exactly is it looking for here. I don't see what the criteria are.
PHP Code:
$re "/(www\.)?(\w*[^\.])(\.[a-z]{2,3})/"
From what I can guess it's searching for "www", and then any combination of 2 letters after a " . " ?
Sorry I did not know there was a question for me here.
regexp is hard to use at once but easy to implement if you know what you want to reach.
especially if know what conditions / quantifiers must be used.

For that regexp, I gave an example of what that regexp would match, mainly:
domain.com OR domain.co

Code:
$re = "/(www\.)?(\w*[^\.])(\.[a-z]{2,3})/";
(www\.)? means we could have www or not.

consider this list of urls

domain.com
www.domain.com
http://www.domain.com/vb/images/page.php
http://www.domain.co.uk/vb/image/pages/page.php


as you see, not interested in the full URL.

check this, might help a lot:
http://www.ilovejackdaniels.com/regu...heat_sheet.png


and must know if there is a match, how many found, and how to iterate through the result array.

sorry for the late reply, better later than never though
Reply With Quote
  #106  
Old 10-11-2008, 04:25 PM
atcspaul atcspaul is offline
 
Join Date: Feb 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works perfect for me. nice mod. i did change the message to something a little nicer incase a good person and not a spammer tries to post a link
Reply With Quote
  #107  
Old 02-27-2009, 06:24 PM
mikeinjersey mikeinjersey is offline
 
Join Date: Feb 2006
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you please update this for 3.8 ?

This is the best mod out there to prevent new members from posting links in their posts. But it says the mod hasnt been updated in 2006 ?

I found it really useful when using it before.. I know of no other way of disabling links from being posted by spammers.
Reply With Quote
  #108  
Old 02-28-2009, 03:19 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, I'm sorry that the mod has outlived it's functionality but at the moment I do not have any time to fix it or update it for 3.8 I haven't done anything in vbcode for over a year and just don't have the time to start up again.

I'm sorry that the mod doesn't work as intended anymore and hope someone will come along to pick it up and update it to work with 3.8.

Thanks to all who said thanks and got some use out of this
Reply With Quote
  #109  
Old 03-01-2009, 04:25 AM
mikeinjersey mikeinjersey is offline
 
Join Date: Feb 2006
Posts: 290
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SkyCatcher View Post
Hello, I'm sorry that the mod has outlived it's functionality but at the moment I do not have any time to fix it or update it for 3.8 I haven't done anything in vbcode for over a year and just don't have the time to start up again.

I'm sorry that the mod doesn't work as intended anymore and hope someone will come along to pick it up and update it to work with 3.8.

Thanks to all who said thanks and got some use out of this
I'll help chip-in and maybe pay for it completely.

If you still have the skills, let us know how much is needed.
Reply With Quote
  #110  
Old 08-24-2009, 06:59 PM
footose footose is offline
 
Join Date: Mar 2006
Posts: 321
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works for me in 3.8.4
Reply With Quote
  #111  
Old 09-19-2009, 11:31 AM
skyyjet skyyjet is offline
 
Join Date: Aug 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its a good mod.. bu I find there are numerous tld's like .ws, .su etc so spammers are able to post.. or can someone give list of all tld's so we can enter it there in its configuration?
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 02:36 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.06503 seconds
  • Memory Usage 2,305KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete