Central European Time - DST

Welcome, Guest.
carstensyabb
modforum
Forgot password?     Register!        
Pages: 1 2 
StopForumSpam Mod V0.6 for YaBB 2.5/2.5.2
Read 7,861 times
 

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
StopForumSpam Mod V0.6 for YaBB 2.5/2.5.2
07. Nov 2011 at 20:24
 
StopForumSpam Mod

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::SAX


Features:
  • Options to choose which fields to check against the database.
  • Options to Auto-ban IP Addresses and Email Addresses.
  • Option to block IP Addresses on server level (auto-added to The Guardian).
  • Option to allow Administrators to submit spam to the SFS database.
  • Option to redirect spammers to another page/website.
  • Module Checker.
  • Blocking and Submitting Statistics.
  • Registration/error log for StopForumSpam checks.

Screenshots:

Admin Center => Antispam Settings => StopForumSpam:

sfs_sets06.png

Registration page error:

StopForumSpamError.png

View Profile:

sfs_profile_submit.png

Board Index:

sfs_boardindex.png

Admin Center => Registration Log:

sfs_reglog_submit.png

Admin Center => Forum Statistics:

sfs_forumstats.png

Response Page:

sfs_response_page.png

Admin Center => Forum Stats => StopForumSpam Log:

sfs_log.png

Zip Package:

StopForumSpam_Mod_V0_6.mo​d
html_root/yabbfiles/Templ​ates/Admin/default/adminc​atbg.gif
html_root/yabbfiles/Templ​ates/Forum/default/sfs.pn​g
cgi-bin/Admin/StopForumSp​amLog.pl
cgi-bin/Languages/English​/StopForumSpam.lng
cgi-bin/Sources/StopForum​Spam.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.p​l
Languages/English/Admin.l​ng
Languages/English/Error.l​ng
Languages/English/Registe​r.lng
Sources/BoardIndex.pl
Sources/Post.pl
Sources/Profile.pl
Sources/Register.pl
Sources/SendTopic.pl
Sources/SubList.pl
Templates/default/BoardIn​dex.template
Templates/yabb21/BoardInd​ex.template

Version 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

Use the bottom download link for the YaBB 2.5.2 mod file - you'll still need to grab the other files needed from the 2.5 package.
 
 
« Last Edit: 14. Feb 2013 at 05:29 by Derek Barnstorm »  
StopForumSpam_Mod_V0_6.zip   (StopForumSpam_Mod_V0_6.zip | 28 KB | 232 downloads )

StopForumSpam_Mod_V0_6a_252.zip   (StopForumSpam_Mod_V0_6a_252.zip | 7 KB | 183 downloads )


No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.5 for YaBB 2.5
Reply #1 - 16. Nov 2011 at 20:01
 
V0.5 attached to the first post.

- 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 (auto-added to The Guardian) and moved code to a separate file.
 
 

No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline BloodyRue
Full Member
***
Posts: 99
     
 
Re: StopForumSpam Mod V0.5 for YaBB 2.5
Reply #2 - 23. Nov 2011 at 00:35
 
Your mod needs a stat file for the info center like this:

Spam-O-Matic StatisticsSpam-O-Matic Statistics
365 Spammers Denied Registration
214 Spammers submitted to StopForumSpam
559 Spammers submitted to Akismet
146 Spammy Posts Automatically Moderated
 
 

asapsf24.png
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.5 for YaBB 2.5
Reply #3 - 23. Nov 2011 at 20:54
 
Ah, the vB mod. Wink

It will be easy enough to add anyway - I'll see about adding it to the the next version. I assume you mean on the board index? I think I'll add it to the Forum Statistics in the Admin Center too.

Quote - BloodyRue wrote on 23. Nov 2011 at 00:35
559 Spammers submitted to Akismet

There's actually a Perl module for Akismet by the way - I was looking into it a little the other day.
 
 

No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.5.1 for YaBB 2.5
Reply #4 - 24. Nov 2011 at 01:57
 
V0.5.1 attached to the first post.

Fixed bug with auto-adding email addresses and added SFS Statistics the Board Index as an option and to the Forum Statistics in the Admin Center (as requested by BloodyRue).
 
 
« Last Edit: 24. Nov 2011 at 01:59 by Derek Barnstorm »  

No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #5 - 24. Nov 2011 at 04:59
 
I've tidied up the code for the statistics slightly. If you've already installed V0.5.1 then it doesn't really matter, but if you do want to install it again then the changes are in Admin.pl, ModList.pl, BoardIndex.pl, StopForumSpam.pl and the template files.

V0.5.2 attached to the first post.
 
 
« Last Edit: 24. Nov 2011 at 04:59 by Derek Barnstorm »  

No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline BloodyRue
Full Member
***
Posts: 99
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #6 - 24. Nov 2011 at 05:10
 
I was just starting to install but line 24 seems to bug on link to ip section, I can see that it would but figure there could be 2 links there. I have another bug on line 27 but i think that is an addition i made, haven't got there yet, still working on 24. I will dl 5.2 and see if it is a fix to this, probably not though i can get around it.
 
 

asapsf24.png
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #7 - 24. Nov 2011 at 05:15
 
Sorry, I don't really know what you mean by line 24 and 27?

If it's the edits to Profile.pl that you are struggling with, then here's a compatible mod file (attached to this post) for the Link IP Mod - I have that Mod installed on my demos board, so I know that it works because I have run it myself.
 
 
StopForumSpam_Mod_V0_5_2_LinkIP.zip   (StopForumSpam_Mod_V0_5_2_LinkIP.zip | 6 KB | 212 downloads )


No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline BloodyRue
Full Member
***
Posts: 99
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #8 - 24. Nov 2011 at 09:20
 
I got around it, I reworked the Link to IP code so there is a line for the reporting and a line to look up the IP.
Both are working fine. SFS reports that the spammers were sucessfully reported and they  are listed in my spammer report on their page. Thanks for the stats, looks great.
 
 

asapsf24.png
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #9 - 24. Nov 2011 at 11:10
 
Okay, great. And, you're welcome - I'm glad you like it.
 
 

No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline BloodyRue
Full Member
***
Posts: 99
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #10 - 24. Nov 2011 at 17:09
 
I will go through the compatable mod for link IP and apply the changes also.
btw, thanks for the tip on ctrl-click for board mod to change the status of installed/uninstalled.  I did a huge pile of mods by hand before I figured out how it worked.

The reason I had a problem with boardindex.template was that I had added a text 804bs in the language file to indicate the start date of the message board in that section with the forumstartdate variable.
 
 

asapsf24.png
IP Logged    
 
     

Offline Batchman
Mod Reviewer, Mod Writer
***
Posts: 266
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #11 - 24. Nov 2011 at 18:02
 
Wow! This thing keeps advancing by leaps and bounds. Is it time to start calling it Guardian 2.0 yet?  Cheesy

Thanks for all the hard work on this, Derek!
 
 
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #12 - 24. Nov 2011 at 18:20
 
He he! I don't know about 'Guardian 2.0', maybe 'Spamstorm'. Cheesy

It has seemed to have taken over my life at the moment though, it's been feature request after feature request, and I'm still three behind. It would help if I knew what I was doing. Roll Eyes
 
 

No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     

Offline BloodyRue
Full Member
***
Posts: 99
     
 
Re: StopForumSpam Mod V0.5.2 for YaBB 2.5
Reply #13 - 24. Nov 2011 at 20:13
 
Quote - Derek Barnstorm wrote on 24. Nov 2011 at 18:20
He he! I don't know about 'Guardian 2.0', maybe 'Spamstorm'. Cheesy

It has seemed to have taken over my life at the moment though, it's been feature request after feature request, and I'm still three behind. It would help if I knew what I was doing. Roll Eyes


Oh blast,  I was going to suggest for the stats: The  Barnstorm Trooper Stats.

I was worried you wouldn't want your name associated with spam.
 
 

asapsf24.png
IP Logged    
 
     

Offline Derek Barnstorm
Mod Writer, Mod Reviewer
***
Posts: 970
     
 
Re: StopForumSpam Mod V0.6 for YaBB 2.5
Reply #14 - 28. Nov 2011 at 00:44
 
V0.6 attached to the first post.

Added StopForumSpam registration log (as an admin option) and added checks to guest posting, broadcast message, alert moderator and send topic.

Quote - BloodyRue wrote on 24. Nov 2011 at 20:13
Oh blast,  I was going to suggest for the stats: The  Barnstorm Trooper Stats.

I was worried you wouldn't want your name associated with spam.

He he! Smiley
 
 

No rest for the wicked Carsten.
Demo my Mods for YaBB 2.5
 
IP Logged    
 
     
Pages: 1 2 
Previous Topic - ImageShack Uploader for YaBB 2.5 - V.2.1Next Topic - Must View Topic V0.1.2 for YaBB 2.5/2.5.2  
Carsten's YaBB Mod Forum » Powered by YaBB 2.4!
YaBB © 2000-2009. All Rights Reserved.