StopForumSpam Mod V0.6
Description:----------------
This Mod will allow you to check the StopForumSpam.com database for Usernames, Email Addresses and IP Addresses on registration, guest posting, broadcast message, alert moderator and send topic. If any details match a spammers details in their database then registration or guest posting will not be allowed.
You can also allow Administrators to submit details to the database when spammers get through who haven't already been submitted (you will need an API Key from their website for the submit feature to work).
Note: The following modules need to be installed on your server for this mod to work. There is a module checker built in so you can easily see if any modules are missing. Also, you won't be able to enable the settings if any modules are missing.
LWP::UserAgent
XML::Simple
XML::SAXGerman translations are available to download from this post (thanks pyragony):http://www.boardmod.org/yabb2/YaBB.pl?num=1315522544/167#167Screenshots:-----------------
Admin Center - Antispam Settings - StopForumSpam:
Error Message:
View Profile:
Board Index:
Admin Center - Registration Log:
Admin Center - Forum Statistics:
Response Page:
Admin Center - Forum Stats - StopForumSpam Log:
Zip Package:-----------------
StopForumSpam_Mod_V0_6.mod
html_root/yabbfiles/Templates/Admin/default/admincatbg.gif
html_root/yabbfiles/Templates/Forum/default/sfs.png
cgi-bin/Admin/StopForumSpamLog.pl
cgi-bin/Languages/English/StopForumSpam.lng
cgi-bin/Sources/StopForumSpam.pl
Installation:----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload StopForumSpam.pl and StopForumSpam.lng to their relevant directories in ASCII mode.
4) Upload admincatbg.gif and sfs.png to their relevant directories in binary mode.
5) Go to Admin Center - Antispam Settings - StopForumSpam to configure the settings.
Files to edit:----------------
AdminIndex.pl
Admin/Admin.pl
Admin/AdminSubList.pl
Admin/ModList.pl
Admin/ModuleChecker.pl
Admin/NewSettings.pl
Admin/RegistrationLog.pl
Admin/Settings_Antispam.pl
Languages/English/Admin.lng
Languages/English/Error.lng
Languages/English/Register.lng
Sources/BoardIndex.pl
Sources/Post.pl
Sources/Profile.pl
Sources/Register.pl
Sources/SendTopic.pl
Sources/SubList.pl
Templates/default/BoardIndex.template
Templates/yabb21/BoardIndex.template
Mod History:----------------
V0.1 - First release - 8th September 2011
V0.1.1 - Optimized to only send one request - 13th September 2011
V0.1.2 - Fixed small syntax error - 16th October 2011
V0.2 - Added Admin options to choose which details to check against the database - 20th October 2011
V0.2.1 - Added error message if unable to connect to the SopForumSpam database and moved code below other checks on registration page - 26th October 2011
V0.2.2 - Added a timeout and Admin option to choose how registration should behave if the StopForumSpam database is unavailable and added a custom URL option to redirect spammers to another page/website - 31st October 2011
V0.3 - Added to the Module Check in Admin Center - 1st November 2011
V0.3.1 - Added module checks to the Register page so there will be no spam checks or errors if the required modules are not installed, and added module checks to the settings page so that the settings cannot be enabled if the required modules are not installed - 2nd November 2011
V0.4 - Added Auto-banning for IP Addresses and Email Addresses - 7th November 2011
V0.5 - Added ability for Administrators to submit spam to the StopForumSpam database from user profiles and the registration log, added option to block IPs on server level and moved code to a separate file - 16th November 2011
V0.5.1 - Fixed bug with auto-adding email addresses and added StopForumSpam Statistics to Admin Center and Board Index - 24th November 2011
V0.5.2 - Tidied up Statistics code - 24th November 2011
V0.6 - Added StopForumSpam registration log and added checks to guest posting, broadcast message, alert moderator and send topic - 27th November 2011