Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vbStopForumSpam - known spammer lookup for new registrations Details »
vbStopForumSpam - known spammer lookup for new registrations
Mod Version: 0.61, by pedigree (Coder) pedigree is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.1 Rating: (180 votes - 4.84 average) Installs: 1984
Released: 18 Apr 2008 Last Update: 27 Jan 2010 Downloads: 6820
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations External Content Is in Beta Stage  

vbStopForumSpam

This provides access to a RBL type system for forum admins, listing known spam IP / email / usernames. The RBL database is provided by www.stopforumspam.com. You do NOT need an API key from the website in order to access the database. only to submit data if you should wish to do so.

At the point of user registration, the mod checks if the IP number / provided username / email addresses appear on a block list and can block the registration.

Whilst this isnt the most perfect way to stop all forum spam, its another step that spammers have to overcome.

VB4 here http://www.vbulletin.org/forum/showt...hreadid=230921
Its the same code, it works in 3.54 to 4.0


What it does

It checks with a remote database of known forum spammers. Their IP number, email address and forum username are tested and based on your configuration, you can reject / log / accept user registrations based on what you get back.

This version doesnt have
- whitelisting or the ability to submit users to the database but it will within the next week.
- automatic user deletion / post / PM purging. There are good tools out there already, this does something else.

Instructions are included in the installation.txt file - PLEASE read it first and dont forget to actually upload the files in the upload folder, otherwise it WILL kill your registration progress and you wont see the log file options in admincp. You do not need to download the product-vbstopforumspam-3.54.xml file unless you are using a vBulletin version older than 3.6.0

Changes to vB
- 3 new database tables
- 2 database table alternations
- No new templates.
- 2 Hook (register_addmember_process & register_addmember_complete)

Ive tested it but had feedback that it works with versions as old as 3.6.2... Support should go back to older versions, as long as they have hook support for register_addmember_process / register_addmember_complete

Known to work - tested by me
- vBulletin 3.6.8 on Apache 2.2 / PHP 5.1.2 on Linux using cUrl
- vBulletin 3.7 Gold on Apache 2.0 / PHP 4.4.3 on Windows without cUrl (template changes wont work on 3.7 - thats in the next version with auto template changes)

For code to submit spammers to the database, check this post for code changes
http://www.vbulletin.org/forum/showp...&postcount=288

Reported in the thread to work
- 3.6.1, 3.6.2, 3.6.9, 3.6.10, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.74, 3.80, 3.81, 3.82, 3.83, 3.8.4, 4.0beta3


If you have 3.54, then you can use the product-vbstopforumspam-3.54.xml file attached instead of the one in the ZIP file, which will allow older vBulletin versions to access this mods' features. I personally havent tested this version, its a user contribution, thanks to Darrell Mobley, that changes the way the XML works when imported into older versions.

Installers should remember to refresh their ACP navigation window when they first install it so they can see the new log file menu item.

REQUIRES MySQL 4.1.1+

Future versions
- Automatic integration into vBulletin to add users to the stopForumSpam.com database from a form
- Whitelisting of username / IP / email addresses
- AJAX integration to allow for lookups from within the users profile
- Decreased remote query count from three per user to one per user.

Versions / Changes

0.1 Initial Release

0.2 pedigrees special brew birthday release.
- Small security update. If you have 0.1 installed, download 0.2 and replace your existing functions_vbsfs.php with the one in the archive. It just tests to see if its running inside the VB framework before anything else. This is what happens when you code at 2am after drinking wine

0.3
- stopped it processing valid registrations twice
- moved all non-function code into the plugin. Not a big one as 0.2 basically did that
- fixed a typo in the log pruner that stopped it working (404)
- removed unused fields from the database for people with mysql that doesnt support varchar > 255 (ie mySQL4). If you have 0.2 installed and dont need to prune your logs just yet, you dont really need to install this version but can instead wait for 1.0 unless of a massive security update.

0.4
- logs registrations that arent/wouldnt be blocked
- fixed XML errors when username has a space it in
- tightened up the cache so that it doesnt test a username against an email name to give a bypass result (for when a username is an email address that isnt banned where the email address is)
- fixed some basic logic errors in the PHP

0.6
- Should work on PHP 4.4 now - rewrote the XML with PHP4 in mind (tested on Apache2.0/PHP 4.4.3)
- Fixed a caching system where data wasnt being updated correctly which could cause a remote query when one wasnt needed
- Possible false negative situation when a spammer was blocked due to SFS.com being down who then visited again when it was up but within the cache expiry time
- Remote query failure when the result page isnt XML should work a bit better now. It does a very basic test for valid XML results.
- Fixed log purging (again) and it should actually work properly now.
- No longer requires PHP5
- The log viewer now links to a user profile when registration is allowed.

v0.61 - Removed a template change that was invalid vBulletin code. The package you download will still say its 0.60 however

NB : When upgrading from any version to 0.6, you must remove and then add the plugin due to changes in one of the database tables

You need to have an API key from www.stopforumspam.com in order to submit data, its free and easy to get... You DONT need an API key in order to use this mod however, only to submit spammer data.

Issues are
- The usergroup permissions / view details etc DONT work. I jumped the gun and put the permissions controls in there before I put the code in. Please delete the includes/xml/bitfield_vbstopforumspam.xml file and rebuild your postbit

Installation
- Follow the instructions in the zip file, that includes upload the correct folders
- ONLY download the 3.54 xml file if youre using a vbulletin version prior to 3.6.0. use this file to install the mod instead of the xml file in the zip file.

Please click Installed

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Screenshots

Click image for larger version

Name:	error.gif
Views:	4839
Size:	9.8 KB
ID:	78900   Click image for larger version

Name:	admin.gif
Views:	4534
Size:	19.0 KB
ID:	78901   Click image for larger version

Name:	logs.gif
Views:	4601
Size:	33.6 KB
ID:	78902  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Validate email by MX lookup fastforward vBulletin 2.x Full Releases 28 22 Oct 2007 12:29

  #1171  
Old 10 Jul 2012, 06:57
Barteh Barteh is offline
 
Join Date: Aug 2006
No issues here either. Pulled the stats, and of our last 1000 reg attempts, 94.5% are obvious spammers and get rejected by vBSFS right away. Remaining regs are predominantly repeat attempts by the same two spambots tripping over my other measures. The result is that of the succesful regs that arrive in my new user moderation queue, only very few are spammers.

*EDIT*

Heh, one attempt even has "[c:\[email protected],5,l]" as the email address
Reply With Quote
  #1172  
Old 13 Sep 2012, 13:34
desmomax desmomax is offline
 
Join Date: Mar 2008
log

very nice mod! thanks..

i saw a pic of log file in your post.. where can i found the log file in my admincp?
Reply With Quote
  #1173  
Old 13 Sep 2012, 14:45
rob4448585 rob4448585 is offline
 
Join Date: Feb 2007
Originally Posted by desmomax View Post
very nice mod! thanks..

i saw a pic of log file in your post.. where can i found the log file in my admincp?
Reply With Quote
  #1174  
Old 13 Sep 2012, 15:24
desmomax desmomax is offline
 
Join Date: Mar 2008
I cant see this voice in my log menu
Reply With Quote
  #1175  
Old 13 Sep 2012, 16:03
desmomax desmomax is offline
 
Join Date: Mar 2008
I followed the install instruction and the mod look like working fine but i see no log menu option.
thanks for your reply
Reply With Quote
  #1176  
Old 19 Sep 2012, 05:38
rob4448585 rob4448585 is offline
 
Join Date: Feb 2007
Originally Posted by desmomax View Post
I followed the install instruction and the mod look like working fine but i see no log menu option.
thanks for your reply
You didn't install it correctly.
Reply With Quote
  #1177  
Old 19 Sep 2012, 09:49
desmomax desmomax is offline
 
Join Date: Mar 2008
yes, solved. thanx
Reply With Quote
  #1178  
Old 20 Sep 2012, 18:44
st.charles's Avatar
st.charles st.charles is offline
 
Join Date: Mar 2007
Tryint to reinstall - failing

I'm trying to reinstall the vbstopforumspam mod after an upgrade from vbulletin 3.86 to 3.87.

After the upgrade, the database was throwing errors and I repaired it by removing some plugins.
vbstopforum spam was one of the plugins removed.
I reinstalled the other plugins and they're working fine.

When I go to import the new plugin after re-uploading the files correctly I get this MySQL error in the admincp backend:

Database error in vBulletin 3.8.7:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `vbstopforumspam` (
APIKey VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY ( APIKey )
) TYPE=MyISAM;;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 4
Error Number : 1064
Request Date : Thursday, September 20th 2012 @ 12:35:57 PM
Error Date : Thursday, September 20th 2012 @ 12:35:57 PM
Script : http://__mysite__/admincp/plugin.php?do=productimport
Referrer : http://__mysite__/admincp/plugin.php?do=productadd
IP Address : __my ip
Username : __my username
Classname : vB_Database
MySQL Version : 5.5.25-cll
For obvious reasons I replaced my site, username and ip above with "__my ip" etc.
Is it just not confirmed working with vb3.8.7?
Or am I missing something obvious in the plugin xml I can fix.

Thanks in advance to the thread contributors for ideas and help.
Reply With Quote
  #1179  
Old 09 Oct 2012, 09:06
desmomax desmomax is offline
 
Join Date: Mar 2008
After a while testing this mod i can say it works great. It happens that few real users are rejected by the mod. What shall i do in this case? is it possibile to bypass certain ip address?
thanx
Reply With Quote
  #1180  
Old 08 Nov 2012, 18:42
mattballew mattballew is offline
 
Join Date: Jan 2011
Im getting this error when i try to install.. http://puu.sh/1nTWu Anyone else have this issue?
Reply With Quote
  #1181  
Old 17 Nov 2012, 17:59
SRobbins1977 SRobbins1977 is offline
 
Join Date: Nov 2009
hello, I am getting this error:

Database error in vBulletin 4.2.0:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `vbstopforumspam` (
APIKey VARCHAR( 255 ) NOT NULL ,
PRIMARY KEY ( APIKey )
) TYPE=MyISAM;;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 4
Error Number : 1064
Request Date : Saturday, November 17th 2012 @ 11:55:32 AM
Error Date : Saturday, November 17th 2012 @ 11:55:32 AM
Script : http://mydomain.com/admincp/plugin.php?do=productimport
Referrer : http://mydomain.com/admincp/plugin.php?do=productadd
IP Address : 74.101.113.163
Username : Administrator
Classname : vB_Database
MySQL Version : 5.5.23-55
Please help!
Reply With Quote
  #1182  
Old 28 Nov 2012, 08:16
zylstra zylstra is offline
 
Join Date: Aug 2004
Replace all
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in the xml file.
Reply With Quote
  #1183  
Old 20 Dec 2012, 02:34
ApexSpeed ApexSpeed is offline
 
Join Date: Jul 2006
I am getting a similar error, but not exact:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Everything is working VERY well other than the db error e-mail for every spam registration, which is at anywhere between 300-400 a day now.

Same or similar fix?
Reply With Quote
  #1184  
Old 20 Dec 2012, 02:40
ApexSpeed ApexSpeed is offline
 
Join Date: Jul 2006
Ahhh, I just realized my server is running MySQL V 4.0.27. Guess this isn't going to work after all...
Reply With Quote
  #1185  
Old 20 Dec 2012, 21:56
ApexSpeed ApexSpeed is offline
 
Join Date: Jul 2006
Thumbs up

A nightmare to get the MySQL updated in the past 24 hours that led to 2,451 database errors in my Inbox at lunchtime today, but we finally got it updated to 5.0.+ MySQL version to run this plug-in. And I have to say, it's been 100% effective already blocking 44 spam user account registrations and allowing 3 legitimate users to register.


THANK YOU FOR THIS PLUG-IN! It's fantastic so far and relatively easy to install. Nice work!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 15:51.

Layout Options | Width: Wide Color: