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
  #12  
Old 12-30-2006, 05:59 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This isn't working correctly. Here's what I've got. I imported the product. I set it to a minimum post count of 15, usergroup field is empty and the spam message is configured.

I added a test account, made a new thread, and the spam filter kicked in. It was a url using BB code.

I then made a reply, added something like apple.com, no BB code, it showed the link. I added a 2nd reply with getmorefreestuff.com, no BB code, it showed the link. WTF?
Reply With Quote
  #13  
Old 12-30-2006, 06:08 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking at the hook location, apparently this only works when the spammer starts a new thread. replying to exisitng threads does not trigger the spam message.

BTW, how does this affect RSS feeds on the forums?
Reply With Quote
  #14  
Old 12-30-2006, 06:17 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What would be ideal is to stop spam links 1.2. On new thread, new reply, QR, quote or edit.
Reply With Quote
  #15  
Old 12-30-2006, 02:07 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smoothie View Post
What would be ideal is to stop spam links 1.2. On new thread, new reply, QR, quote or edit.
Yeah, it's only designed for new threads. For those people who register just to spam their links, or for bots who somehow manage to get around other spam protection.

I'll tinker with the reply quote edit, etc and see what I can come up with
Reply With Quote
  #16  
Old 12-30-2006, 03:11 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's what I'm thinking. Forget about the bots for a second, because my site gets real a-hole spammers. If a spammer hits the site and posts a new thread, the message he will see. If it were me, I'd hit reply to the same thread. The reason for this would be the thread already exists.

Worst case scenerio, it would be ideal to code this to act when replying to an existing thread. Whether it be QR, or full reply (not sure if there is a hook difference in the 2)
Reply With Quote
  #17  
Old 12-31-2006, 12:24 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(v1.2)Ok, now it checks:

When the user creates a new thread
When the user edits a post (quick & advanced)
When the user quotes or replies to a thread
When the user Creates or Replies to a PM
When the user Previews a post
Reply With Quote
  #18  
Old 12-31-2006, 01:57 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installing the upgrade now.
Reply With Quote
  #19  
Old 12-31-2006, 02:04 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a reason why the upgrade needs to be done by uninstalling vs. overwriting?
Reply With Quote
  #20  
Old 12-31-2006, 02:06 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I just like to recommend clean installs to illiminate any flukes
Reply With Quote
  #21  
Old 12-31-2006, 02:10 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah! OK.
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 06:34 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.06083 seconds
  • Memory Usage 2,302KB
  • 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_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
  • (3)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