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 forgot to ask. Are there any conflicts with this plugin and the RSS feed manager? In other words, will the RSS feeds be able to post links?
I'm not sure. I've never used RSS links on my forum ><
the RSS links are posted by a user right? So as long as that user in not in the list of usergoupID's not able to post links or has more than the minimum post count it should be ok.
I'm not sure. I've never used RSS links on my forum ><
the RSS links are posted by a user right? So as long as that user in not in the list of usergoupID's not able to post links or has more than the minimum post count it should be ok.
Yes, RSS feeds are set to post as little ol' me. And I'm not blocked from posting links. Just thought I'd ask.
.biz,.us,.de,.com,.uk,.to,.info,.br,.net,.ru,.org,.tv,.ws,.fm,.eu,.cc,. c o m,. n e t,. o r g,. d e,. i n f o,. r u,. b i z,. u s,. u k,. t v,. w s,. f m,. c c,. e u
Great plugin. Will install right away. Its simple but looks good. Have seen other similar hacks earlier but this seems better.
Two questions, though:
Why does your description only mention TLD? I glanced over the code and it uses strpos in the whole message to ascertain if the message should be blocked or not. Doesn't that mean we can use any text - word or phrase - to trigger the spam check?
Also, I found your if statement a bit weird. If I understood it correctly, it says:
if the post doesnt contain any offending stuff
then
original post = original post
else
original post = special predefined message
isnt it simpler to write:
if the post contains any offending stuff
then
original post = special predefined message
Great plugin. Will install right away. Its simple but looks good. Have seen other similar hacks earlier but this seems better.
Two questions, though:
Why does your description only mention TLD? I glanced over the code and it uses strpos in the whole message to ascertain if the message should be blocked or not. Doesn't that mean we can use any text - word or phrase - to trigger the spam check?
Also, I found your if statement a bit weird. If I understood it correctly, it says:
if the post doesnt contain any offending stuff
then
original post = original post
else
original post = special predefined message
isnt it simpler to write:
if the post contains any offending stuff
then
original post = special predefined message
Yeah, you're right on the ball. It checks for instances of anything you enter between the , , 's so you could enter .de,skycatcher,.com and it would considder the word skycatcher as spam if it finds an instance of that in the post, but it was intended to stop constant attempts to display links etc, so you can use it as you see fit, but that's on you