![]() |
Stop Spam Links 1.2 Gold
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:
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. |
maybe if it could block specific links....
|
Quote:
This is designed to stop people from registering, and spamming 20 something porn links. There are other spam filters out there that won't allow posting of urls, etc which I'm also using with this hack. The problem is that someone could just post linktounwantedsite.com and your vb wouldn't pick it up because it's not a url, but the users would still have to read all those links. I have a minimum postcount of 5 before people can post links on my board and this illiminates any users from seeing unwanted material. :) |
Correct me if I'm wrong but, the problem with this is it's based on usergroups and not post counts. All of my registered members are allowed to post links. Spammers usually register and thus become part of that usergroup and they usually make like 1-5 posts w/links and then leave. Disallowing that group to post links wouldn't work for most sites.
It would be better to base this off of post counts. |
Quote:
I've got 2 usergroups for main members. 1 is registered users (anyone with less than 5) and as soon as they have 5 posts they automatically get promoted to full access via the promotion feature. |
Quote:
|
greate mod, can you create a white list of sites what will not activate the block. One question would this mod catch the post if user use this format for the links?
w w w . y a h o o . c o m w w w DOT Y A H O O d o t n e t |
Quote:
You can combine such as: .de,.com,. d e,. c o m Which will look for: anything.de anything. d e anything.com anything. c o m All values are seperated by a , which means it will look for anything you enter after the , Such as entering: .de, .com Which will do this: mylinki.de = match for spam mylinki.com = no match (no space before the .) mylinki. com = match for spam |
So, I see we now can disallow links via post count as well? BTW, what's a TLD?
|
Quote:
A TDL is a Top Level Domain such as .com .org etc. |
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? |
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? |
What would be ideal is to stop spam links 1.2. :) On new thread, new reply, QR, quote or edit.
|
Quote:
I'll tinker with the reply quote edit, etc and see what I can come up with :) |
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) |
(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 |
Installing the upgrade now. :)
|
Is there a reason why the upgrade needs to be done by uninstalling vs. overwriting?
|
No, I just like to recommend clean installs to illiminate any flukes :)
|
ah! OK.
|
Happy to report it seems to be working like a champ! Will test some more, but it's looking good. Simple but very effective.
|
BTW, I did the upgrade by overwriting instead of deleting and reinstalling and it worked just fine.
|
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?
|
Quote:
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. |
Quote:
|
installed !! thanks !! will try if it is works.. a lot of spammers nowdays..
|
If this helps, this is what I have so far;
Code:
.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 |
Quote:
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 :) Hey! I like my logic :D |
This looks great! We'll see how it works!
|
Quote:
Installed and works good so far. There are many hacks which do this kind of thing. I liked this one for 3 reasons: 1. it checks pm / new thread / new post / edit post 2. it doesnt put post in moderation queue which confuses the poster and increases work for mods 3. it is very very simple so there is very little chance of it clashing with other stuff |
Quote:
|
Not one spam link since this has been installed. Like I mentioned, simple, yet quite effective
|
hey i just found this and i think it will be great for me.... one other idea to help fight off spammers, which i have had a lot of lately...
would it be possible to send a PM notification to a preset admin/mod or multiple admin/mods when a 'spam' link is detected so they can review the situtaion right away and either say 'sorry noob you're too new to post links' or see that it really was malicious and delete or lock the thread? thanks.... |
This is great!! Thank you so much. The image verification is broken on our domain and I got so sick of going in and clearing up spam from bots!!!
|
Quote:
|
lol, self-promotion maybe? :)
Quote:
|
Quote:
Not much freetime lately but sending a PM to mods about the thread isn't a bad idea. Will keep it in mind for the future, thanks. |
To be honest, I like the mod just the way it is, nice and simple. I can find spam posts that have effectively been washed clean by this mod by clicking "get new" on my forum. :)
|
when i install this product i receive the following error:
Warning: strpos(): Empty delimiter. in /includes/class_dm_user.php(2385) : eval()'d code on line 11 at the top above my header and then in a vb error box like a postbit placement: Unable to add cookies, header already sent. File: /var/www/vhosts/mydomain.com/httpdocs/forums/includes/class_core.php Line: 3036 when ever a new member trys to create a new account, i have disabled the product and then create a new user account and no issues any suggestions what could be causing the issue? |
All times are GMT. The time now is 12:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|