The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Making a SpamCatcher
Well instead of harassing users at registration/login/search, I decided to only do the registration CAPTCHA and detection of spam material in the users first two posts.
Here's how it works, when a new user makes their first two posts, the contents of their message are REGEX'd for certain patterns and keywords. I'm still rather new to vBulletin modifications, but I know PHP quite well. I'm not 100% positive how to use data managers, but when I did, nothing happened. Here's what I want to happen When they are considered a spam bot, their post is set to unapproved and the user is banned, and put in a special usergroup (so we can track possible false-positives) The current method that does work is a direct SQL query (setting visible = 0 where postid = $post['postid']). But this does not update the "Last Post:" Any advice? I had a thought, what if I changed my hook to _process rather than _complete, then I modify the $post array so that $post['visible'] = 0; I'm not sure if I could do this or if I would be forced to use a datamanager, But i'm very unfamiliar with datamans as of yet. Needsome help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|