The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
MonkeyStop - Auto-Moderation of Spammer Keywords and URLs by postcount Details »» | |||||||||||||||||||||||||||
MonkeyStop - Auto-Moderation of Spammer Keywords and URLs by postcount
Developer Last Online: Apr 2014
Description
----------- A quick but effective hack that lets you set keywords that will flag posts and set as Moderated, requiring approval from a mod/supermod/admin before they're visible to users. You can also set the number of URLs to be allowed per post to stop flooding from spammers. Additionally, you can configure the number of posts required to avoid the moderation, so the filter only effects new users to your forum. Installation ------------ Import product-monkeystop.xml (ACP / vBulletin Options / Manage Products / [Add/Import Product]) Usage ------------ Configure the product in ACP / vBulletin Options / vBulletin Options / General Settings. (scroll to the bottom) New threads and posts containing the offenses will automatically be moderated. You can view moderated threads in ACP / Moderation / Moderate Threads. You should also see an icon in the thread postbit and forum display if the post is moderated (see screenshot). Since most spammers register then spam your board while their post count is low, it may be effective to leave the default values (0 URLs allowed until post count is 3) or even up the post count requirement. If you wish to allow some links, change URLs to 1 or 2 for example. !!! Warning !!! ------------ If you allow keyword auto-moderation, your users will receive an "Invalid Thread" message when they use a flagged word on new threads because it's a moderated thread. However this error can be customized here: Admin Panel / Phrase Manager / phrase type: Error Messages / invalidid (page 15 or so of the errors) I added: Code:
<br/><br/>If you received this message immediately after posting a new thread, there's a good chance your message was flagged as spam. Please read this thread for more info. Credits ----------- This is a hack of the "Auto Moderation by Keywords" mod by Andreas (https://vborg.vbsupport.ru/member.php?u=47102) Thanks go out for his great mod -- if only I could PM or e-mail him to thank him directly! I only made minor changes to the mod to allow it to work with vBulletin 3.6.0 (by default it wouldn't work on new threads) and to auto-moderate posts URLs. So give him credit if you think it's cool, but his PM box is full. Dan "Tweak Monkey" Kennedy History ----------- v1.0.1: Added minimum post count option v1.0.0: Initial release Show Your Support
|
Comments |
#2
|
|||
|
|||
Based on the assumption that spammers always use a URL, can I just set http:// as a keyword?
Can it be made so only members posting the first time is subjected to that? |
#3
|
||||
|
||||
this is almost identical to andreas code.
|
#4
|
|||
|
|||
Quote:
Quote:
|
#5
|
|||
|
|||
Quote:
I tried PMing Andreas to request an update but his PM box is full. I also tried e-mailing him but his address is not listed. His web site was too confusing for me (as it's not English and some pop-ups that got in the way) so I couldn't find a way to contact him about this mod. He hadn't updated his mod in over a year and doesn't list that he supports it -- meaning that anyone using VB 3.6+ doesn't have the option to use it (and it's a great concept for sure). I figured this could help some people and I give him all the credit for the original mod in both my post and the readme.txt. I just gave it a slightly different name so I can keep developing it without conflicting with his version -- if I make more changes I'll post them up and anyone can use them / modify them as well to continue developing this concept. I hope this is acceptable, I really just wanted to help the community. Here are the changes I made in case you were curious: --- 1) Andreas' code did not work with VB 3.6.0 (at least for me) because the $this->fetch_field('pagetext') field seemed invalid when posting new threads, so his mod did not stop new threads from being posted (the biggest problem with spammers). I changed this to $this->fetch_field('pagetext', 'post') which fixed this. 2) I added two alternate conditional statements that check how many times the string "http:" is contained in the post: Code:
if (substr_count($this->fetch_field('pagetext', 'post'), 'http:') > $this->registry->options['automodurls']) 3) I added the # of URLs to the plugin as a new setting so it can be defined in the admin panel. 4) Andreas code said to use "colon" to separate the keywords, but it requires commas. 5) There was at least one typo and some hard to digest instructions that I cleaned up. I also re-wrote the readme with info on how to warn users their thread was blocked, since that wasn't addressed in the original. 6) It now also checks the post count of the user and only filters posts if they are below the threshold. |
#6
|
|||
|
|||
Great idea! I don't have any spam problems on my site but if it comes up i'll remember this
|
#7
|
|||
|
|||
Quote:
|
#8
|
||||
|
||||
This sounds really useful. I hope there is no issue with you developing this. It's a very nice thing to share it. May use this in the near future.
|
#9
|
|||
|
|||
Is there any chance of adding a feature to this that would automatically move posts containing predefined words to an assigned forum? It would save me a whole lot of time :P
|
#10
|
|||
|
|||
this sounds promising, i have occassional spammers, mostly trying to sell drugs
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|