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: 6812
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:	4831
Size:	9.8 KB
ID:	78900   Click image for larger version

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

Name:	logs.gif
Views:	4593
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

  #211  
Old 22 Sep 2008, 22:01
acorndomains.co acorndomains.co is offline
 
Join Date: Mar 2005
was working for me in 3.7.3 but started getting out of memory errors taking the whole board down, any ideas?

My PHP memory limit is 64MB
__________________
Domain Name Forum
Domain Name News
Reply With Quote
  #212  
Old 22 Sep 2008, 22:05
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Real name: Erik
Originally Posted by acorndomains.co View Post
was working for me in 3.7.3 but started getting out of memory errors taking the whole board down, any ideas?

My PHP memory limit is 64MB
if you have a busy board (eg lots of people that are trying to register) it might cause things like this no idea what you can do about that except increasing the limit
Reply With Quote
  #213  
Old 23 Sep 2008, 13:31
pedigree pedigree is offline
 
Join Date: Jul 2005
the mod itself shouldnt be using that much memory. How many people are you seeing each day? That are trying to register? What PHP version are you running and on what OS/version?
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #214  
Old 23 Sep 2008, 13:42
acorndomains.co acorndomains.co is offline
 
Join Date: Mar 2005
Web Server Apache v2.2.9
PHP 5.2.6
PHP Memory Limit 64.00 MB
MySQL Version 5.0.45

100 users average at any one time

When I turn the plug-in off, the server memory load drops 30%

I am getting a lot of spam blocks, maybe that's it.
__________________
Domain Name Forum
Domain Name News
Reply With Quote
  #215  
Old 23 Sep 2008, 23:02
U.K.Visuals U.K.Visuals is offline
 
Join Date: Jan 2006
could someone tell me where i can find the function to report Spammers to the SFS Database? i think this two images i uploaded with this mod are for this function? right?
Reply With Quote
  #216  
Old 23 Sep 2008, 23:13
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Real name: Erik
Originally Posted by U.K.Visuals View Post
could someone tell me where i can find the function to report Spammers to the SFS Database? i think this two images i uploaded with this mod are for this function? right?
yeah good question i've looked for it myself turned on the usergroup permissions but can't find it ... I just added my own form to the admincp that adds the spammers to SFS database throug cURL or a socket connection if cURL is not availible
Reply With Quote
  #217  
Old 24 Sep 2008, 13:39
pedigree pedigree is offline
 
Join Date: Jul 2005
As mentioned in the thread before, that functionality was in the XML postbit but not actually included in the code, I kind of jumped the gun a bit sorry. I was hoping that an API was forthcoming from sfs.com but it hasnt been. The site admin of sfs has gone awol for a while as hes busy so Ill see if I can add the API code to the site. In the meantime, Ive got code there to add it and parse back the HTML to see if it was successful or not.

0.7 will include the ability to submit data to the website.

To acorndomains - the plugin should only really load when the page is doing a registration. Ill revisit the 0.6 code and look to see if its recompiling the code when it shouldnt need to - if it is then Ill try to modify the plugin to avoid loading the function code when its not required. Are you using any php accelerators at all?
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #218  
Old 25 Sep 2008, 16:51
abrecher abrecher is offline
 
Join Date: Jan 2004
Any ETA on next version ? This mod is a life and time saver for me. So far today it's stopped over 30 spam signups.
Reply With Quote
  #219  
Old 26 Sep 2008, 15:44
pedigree pedigree is offline
 
Join Date: Jul 2005
0.7 is almost done but is missing a lot of the GUI changes, the complete stats engine and has no bug/error handling at the moment. Ive adding those on a weekly basis when I get time from work, which isnt that often these days.
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #220  
Old 27 Sep 2008, 18:52
edward hamilton edward hamilton is offline
 
Join Date: Mar 2007
Instructions are included in the instructions.txt file - PLEASE read it first.
From above, is this file the installation.txt file or am I missing something?
__________________
Ministry of Rum forums
When I dream up a better job, I'm going to take it.
Reply With Quote
  #221  
Old 27 Sep 2008, 19:43
pedigree pedigree is offline
 
Join Date: Jul 2005
one or the other depending on the version
__________________
My mods vbRosterMaster | Ajax New PM Notifier | vbStopForumSpam
Reply With Quote
  #222  
Old 27 Sep 2008, 21:58
edward hamilton edward hamilton is offline
 
Join Date: Mar 2007
First I'd like to thank you for taking the time to do this while you've obviously been busy at home.

I installed this mod easily this morning. Here is an excerpt from the log.
horoscopey 2008-09-27 10:40:29 horoscopey@ebaysweep.com 71.239.75.95 Result on field ip - 71.239.75.95 [REMOTEERR] Unverfied but allowed by policy
horoscopey 2008-09-27 10:40:29 horoscopey@ebaysweep.com 71.239.75.95 Result on field email - horoscopey@ebaysweep.com [REMOTEERR] Unverfied but allowed by policy
horoscopey 2008-09-27 10:40:29 horoscopey@ebaysweep.com 71.239.75.95 Allowed registration
I have email and username set to enabled, but left ip disabled in the admincp vsStopForumSpam settings.

Since horoscopey is the spam lists, can anyone tell me what I might be doing wrong?
__________________
Ministry of Rum forums
When I dream up a better job, I'm going to take it.
Reply With Quote
  #223  
Old 27 Sep 2008, 23:30
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Real name: Erik
Originally Posted by edward hamilton View Post
First I'd like to thank you for taking the time to do this while you've obviously been busy at home.

I installed this mod easily this morning. Here is an excerpt from the log.


I have email and username set to enabled, but left ip disabled in the admincp vsStopForumSpam settings.

Since horoscopey is the spam lists, can anyone tell me what I might be doing wrong?
if you see "[REMOTEERR]" the stopforumspam service is down (or something has gone wrong while checking) in this case you need to set the option to block registeration on remote connection errors.
Reply With Quote
  #224  
Old 28 Sep 2008, 02:06
IC3D's Avatar
IC3D IC3D is offline
 
Join Date: Dec 2007
Hello.

First off, the idea of this mod is absolutely amazing. Great work.

I'm having some issues running it on version 3.7.3 Patch Level 1.

The install went smooth as butter...hooks were placed...and etc. etc.

When I went to try and 'sign up' as a new user using one of the names off that site...I got the following:

Warning: Unknown(includes/functions_vbsfs.php): failed to open stream: No such file or directory in [path]/register.php(385) : eval()'d code on line 3

Fatal error: (null)(): Failed opening required 'includes/functions_vbsfs.php' (include_path='.:/usr/local/lib/php:/usr/local/lib/php/PEAR:/usr/local/share/pear') in /hsphere/local/home/ic3dnet/forums.ic3donline.com/register.php(385) : eval()'d code on line 3
I am just starting out in VB...so kind of not sure what to do now. Can someone please help me? Thank you...I greatly appreciate it. I'll remove the product in the mean time.
Reply With Quote
  #225  
Old 28 Sep 2008, 06:06
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Real name: Erik
Originally Posted by IC3D View Post
Hello.

First off, the idea of this mod is absolutely amazing. Great work.

I'm having some issues running it on version 3.7.3 Patch Level 1.

The install went smooth as butter...hooks were placed...and etc. etc.

When I went to try and 'sign up' as a new user using one of the names off that site...I got the following:



I am just starting out in VB...so kind of not sure what to do now. Can someone please help me? Thank you...I greatly appreciate it. I'll remove the product in the mean time.
your functions_vbsfs.php is missing you need to upload this file from the zip to your vBulletin /includes directory and this error will be gone
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:32.

Layout Options | Width: Wide Color: