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.
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
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
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.
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?