This simple hook blocks users from registering if they have records on stopforumspam.com
. This is an alternative hook to JGrucza's Forum Spammer IP & Email Check via stopforumspam
. There are some differences between the two. First mainly being it uses cURL rather then 'file_get_contents'. cURL is faster and as I have allow_url_fopen
disabled I needed an alternative. Secondly, I needed a whitelist... so that is included. This hook does not check how many records the user has or the last time they were seen(however I can add these features if they are wanted). If you combine this hook with registration Q&A challenges and the IPS Spam Service, it will give spammers a hard time.
If your host doesn't have cURL installed, this hook will not work.Features:
- Enable/Disable Hook
- Whitelist IP/Email.
- Select match type (IP Address, Email Address, Either of them or both of them)
- Change the message shown to the blocked user.
If you could test it, to see if it also works on your forum that would be great. Enjoy.View Resource