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: 1985
Released: 17 Apr 2008 Last Update: 27 Jan 2010 Downloads: 6810
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:	4823
Size:	9.8 KB
ID:	78900   Click image for larger version

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

Name:	logs.gif
Views:	4588
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 11:29

  #316  
Old 04 Nov 2008, 13:32
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by FF|Skyrider View Post
I wanted to order the logs by IP Adress, and got this error:
Reading is fundamental

Originally Posted by pedigree View Post
If you go to line 62 in admincp/vbstopforumspam.php and change

$order = 'ip ASC, date DESC';

to

$order = 'ipaddress ASC, date DESC';

then that will fix that error
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #317  
Old 04 Nov 2008, 18:04
pedigree pedigree is offline
 
Join Date: Jul 2005
Sometimes I think Wired1 watches this thread like a hawk
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #318  
Old 04 Nov 2008, 18:26
pigpog's Avatar
pigpog pigpog is offline
 
Join Date: Oct 2008
Thanks for this mod. I've installed it in conjunction with "Stop the Registration Bots" so if they get through that, they have your mod to contend with. Mwhahahaha! I'll be seeing how this goes - I looked at your site and it looks very comprehensive so I hope this will go a long way toward stopping the spammers from getting to my members!
Reply With Quote
  #319  
Old 04 Nov 2008, 21:58
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Originally Posted by pedigree View Post
Sometimes I think Wired1 watches this thread like a hawk
Maaaayyyybbbeee.....
__________________
Admin of the Corsair Memory Forum (AKA the House of Help from back in the day)
Admin of Petri's IT Forum / Moderator at webdesignforums.net
Reply With Quote
  #320  
Old 08 Nov 2008, 09:21
J Random Hacker J Random Hacker is offline
 
Join Date: Oct 2008
Thanks, and a question about Project Honey Pot inclusion

Nice plugin, and saves me from writing my own. Gotta love it!

When might we see Project Honey Pot included? SFS and PHP pretty much overlap, but I've found a few comment spammers in one but not the other and the ones I worry most about are those who haven't been around long enough to be widely detected yet.

Thanks for the plugin!
Reply With Quote
  #321  
Old 08 Nov 2008, 12:44
pedigree pedigree is offline
 
Join Date: Jul 2005
Im just in the final stages of the statistics/reporting engine but baby, work and travel are getting on top of me at the moment. I have a couple of weeks leave coming up so Im hopeful
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #322  
Old 08 Nov 2008, 17:00
Jasmin Jasmin is offline
 
Join Date: Apr 2004
Originally Posted by pedigree View Post
Donations to date

October 2008
"Stuff used to buy my children food with" $0
"Drive to get 0.7 completed" medium
Wow, that's really stupid. This is one of the most essential mods on here!

Personally, it has cut down more than half of my usual spammer volume, all automatically. That saves me and my team a LOT of time. Since time is something we can't replace, and misplaced attention is costly, I just sent you $50 as a thank you. In reality, you deserve more, but I hope the rest of the community starts pitching in, too.

You might want to consider charging for a version of this one (a deluxe version or a commercial key for those make money with their forum?) It might be great to get picked up by vbulletin.com itself. That $55/yr Akismet thing they have on there doesn't do anything useful compared to this. People mostly get false positives w/that one.

Honestly, it really sort of teed me off that I upgraded from my forum in large part to get access to Akismet, only to have it work against against us. Thankfully, your mod rocks, and is part of a total solution to the very real problem spammers bring. Thank you. Thank you!!
Reply With Quote
  #323  
Old 08 Nov 2008, 20:27
pedigree pedigree is offline
 
Join Date: Jul 2005
Wow, thats fantasic, thanks! I never expected that anyone would donate and $50 is fantasic. This is great motivation and Im going to get stuck into the code again right now.

To address your points, yeah, charging could make me some more money, it certainly would be good but I think I just hate spammers more. Im hoping that people will see value for money in the plugin and see that value in a donation. Im working as a developer on sfs at the moment and working to get the next version of the api set out so that we can really take it to people. We are giving serious though to limiting some of the biggest users as there are some hitting the API several thousand times a day but for people with forums like you and me, its still going to be free.

Thank you again, you made my day
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam

Last edited by pedigree; 08 Nov 2008 at 20:34.
Reply With Quote
  #324  
Old 08 Nov 2008, 23:42
GlowHost.com's Avatar
GlowHost.com GlowHost.com is offline
 
Join Date: Nov 2005
Where are the use registration logs stored for users who were prevented from registering?

FYI I have this installed on 3.7.4 and everything seems to work other than:

A) I have no idea to see if it is working because I cannot find the logs
2) From install.txt
5 - Edit Usergroup permissions (Optional) (AdminCP -> Usergroup -> Usergroup Manager -> (Group) ->
vbStopForumSpam Permissions - Access / View / Submit
Here you can allow specific usergroups access to details in User Ooptions/ Whos Online etc
This does not appear to be an option in 3.7.4
Reply With Quote
  #325  
Old 09 Nov 2008, 02:55
pedigree pedigree is offline
 
Join Date: Jul 2005
Originally Posted by GlowHost.com View Post
Where are the use registration logs stored for users who were prevented from registering?

FYI I have this installed on 3.7.4 and everything seems to work other than:

A) I have no idea to see if it is working because I cannot find the logs
2) From install.txt

This does not appear to be an option in 3.7.4
You need to read the thread a bit more but I admit, thats a bit hard as its 22 pages long. The logs are in the admincp, statistics & logs / vbstopforumspam logs. Ill edit the first post and detail one bugs that is easily fixed and detail this issue

if its not there, and as you cant find the usergroup options (that dont work in 0.61,. I jumped the gun) then I dont think you uploaded the files in the "upload" folder.
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #326  
Old 09 Nov 2008, 10:02
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Real name: Erik
Originally Posted by pedigree View Post
You need to read the thread a bit more but I admit, thats a bit hard as its 22 pages long. The logs are in the admincp, statistics & logs / vbstopforumspam logs. Ill edit the first post and detail one bugs that is easily fixed and detail this issue

if its not there, and as you cant find the usergroup options (that dont work in 0.61,. I jumped the gun) then I dont think you uploaded the files in the "upload" folder.
1) he did not uploaded the bitfield XML file to /includes/xml

2) he did not rebuilded his bitfields /admincp/index.php?do=buildbitfields
Reply With Quote
  #327  
Old 09 Nov 2008, 10:14
pedigree pedigree is offline
 
Join Date: Jul 2005
buildbitfields, that was the command I was looking for, thanks delphi 0.7 doesnt use them but if I delete them, it trashes the usergroup management until bitfields are rebuilt so I was looking at the easiest way to do it automatically inside the script
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #328  
Old 09 Nov 2008, 20:45
GlowHost.com's Avatar
GlowHost.com GlowHost.com is offline
 
Join Date: Nov 2005
Originally Posted by pedigree View Post
You need to read the thread a bit more but I admit, that's a bit hard as its 22 pages long. The logs are in the admincp, statistics & logs / vbstopforumspam logs. Ill edit the first post and detail one bugs that is easily fixed and detail this issue

if its not there, and as you cant find the usergroup options (that don't work in 0.61,. I jumped the gun) then I don't think you uploaded the files in the "upload" folder.
Thanks for your response. Have you tried this on 3.7.4?

The logs you mention do not show up for me in this version.

Per he install.txt
Upload the upload folder into the root of your forums. If you've changed the admincp folder to something else,
then make sure you move the admincp files into that folder.
They make no mention of the images and includes directories. However, I have in fact uploaded the files in admincp to the admincp dir, the images to the images dir, and the includes to the includes dir.

So either I botched the install somehow, or its not compatible with 3.7.4 OR not compatible with some of the mods I have on here but I don't see why at the very least the menu option for " admincp, statistics & logs / vbstopforumspam logs" would not be generated since none of the mods I have in here should effect side nav in admincp.
Reply With Quote
  #329  
Old 09 Nov 2008, 21:46
pedigree pedigree is offline
 
Join Date: Jul 2005
if you have an "upload" folder in the root of your install, then yes, you uploaded the folder instead of its contents. If you go to register (do it yourself) youll get an error if you uploaded the "upload" folder and not its contents. THe easist thing to do is FTP to your server, drag the contents of the upload folder to the root, this will put the files into the rights folders

yes, it works in 3.7.4

http://glowhost.com/forums/images/st...sfs_submit.gif

http://glowhost.com/forum/includes/functions_vbsfs.php

the fact that thats a 404 page makes me think you havent uploaded the files correctly
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam

Last edited by pedigree; 09 Nov 2008 at 21:55.
Reply With Quote
  #330  
Old 09 Nov 2008, 22:00
GlowHost.com's Avatar
GlowHost.com GlowHost.com is offline
 
Join Date: Nov 2005
I definately do not have an upload folder in there and I do understand the concept of which files belong where. I am going to try to re-install the files and see how it goes. Nice catch on the images thing.
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 14:37.

Layout Options | Width: Wide Color: