Version: 1.2, by SkyCatcher
Developer Last Online: Mar 2013
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.
hello
I was interested in filtering links in PMs. so i modified the code (deleted the rest and kept the pm section) and replaced the search criteria to this:
PHP Code:
i just thought u might make use of it: <phpcode><![CDATA[$spamgroups = explode(',', $vbulletin->options['no_pm_links_usergroups']);
if (is_member_of($vbulletin->userinfo, $spamgroups) || $vbulletin->userinfo['posts'] < $vbulletin->options['no_pm_links_postcount']) {
the original post will be updated ( links replacements ) if found matching :
domain.com
or
any other format (e.g, http://www.domain.com ) that includes the above link as part of it. Indeed, it will capture (.ae, .ca, and all country specific domains ).
The next step,
is to allow using the forum URL in posts (or PMs).
( u know members usually tell each other about their posts)
hello
I was interested in filtering links in PMs. so i modified the code (deleted the rest and kept the pm section) and replaced the search criteria to this:
PHP Code:
i just thought u might make use of it:
<phpcode><![CDATA[$spamgroups = explode(',', $vbulletin->options['no_pm_links_usergroups']);
if (is_member_of($vbulletin->userinfo, $spamgroups) || $vbulletin->userinfo['posts'] < $vbulletin->options['no_pm_links_postcount'])
{
the original post will be updated ( links replacements ) if found matching :
domain.com
or
any other format (e.g, http://www.domain.com ) that includes the above link as part of it. Indeed, it will capture (.ae, .ca, and all country specific domains ).
The next step,
is to allow using the forum URL in posts (or PMs).
( u know members usually tell each other about their posts)
Sorry for my 3-in-a-row posts.
Cheers
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 " . " ?
Just wanted to let people know, if you have problems with spammers who register on your site and they try to post links to sell crap, this mod stops 'em dead in their tracks. I get at least 2-3 live humans a month, they register on my site just to post links to sell stuff. This has worked each and every time.
Now if I could just find a way to physically reach out and grab these a-holes by the neck, now that would make my day.
no good..even without adding any users ids i use a test account and has no post and set it to 0..and tried to post a a link and it gives me the spam message. when i take the userids out and try to post a link again..I still get the message.
no good..even without adding any users ids i use a test account and has no post and set it to 0..and tried to post a a link and it gives me the spam message. when i take the userids out and try to post a link again..I still get the message.
Ok just to make sure that we're on the same page:
When you enter a usergroupid (like 2 for registered members) all registered members will not be able to post links. They will get the spam message.
The postcount is for all usergroups that you didn't add to the usergroupid field above it.
So if you put in usergroupid: 2
Post count: 10
That means everyone in usergroup 2 cannot post links - ever.
If the member is not a member of usergroup 2 then he must have 10 posts before he can post any links.