vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=222536

vbStopForumSpam
by pedigree
05 Sep 2009 19:15

1 Attachment(s)
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. This queries the StopForumSpam database (where I am a coder and administrator) to see if a new users IP address/email address/IP number are listed as known spammer sources.

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

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.

Currently, I would say this is an beta codebase. Please treat it as such.

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.

This is the exact same version that is on the 3.6 forums because it works with 3.54 to 3.84 (at time of wriing, the latest version)

Changes to vB
- 3 new database tables
- 2 database table alternations
- No new templates.
- 2 Hook (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.5.4 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

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+

If you want to submit data directly from the user admincp to the database, then you can install an addon mod (Coded by Wired1) here http://www.vbulletin.org/forum/showp...&postcount=288

You need to have an API key from www.stopforumspam.com in order to submit data, its free and easy to get... The code above is a quick hack that changes the pages "form" so that it submits to the database. As its a quick hack, this relies 100% on javascript being enabled and makes no tests that it is enabled.

Please click Installed

pedigree 05 Sep 2009 19:19

This is an exact copy of the 3.6 mod as Ive been nagged to near suicide (joking really, I think) from people saying "Why isnt this listed in the 3.8 mods section"

- So now it is.

This should remove any issues with people not installing it because they didnt read the 3.6 mod stating it works from 3.5.4 and might highlight its existance and thus, userbase.

pedigree 05 Sep 2009 19:21

Quote:

Originally Posted by pedigree (Post 1880184)
This is an exact copy of the 3.6 mod as Ive been nagged to near suicide (joking really, I think) from people saying "Why isnt this listed in the 3.8 mods section"

- So now it is.

This should remove any issues with people not installing it because they didnt read the 3.6 mod stating it works from 3.5.4 and might highlight its existance and thus, userbase.

Please read the original 3.6 mod thread at

http://www.vbulletin.org/forum/showthread.php?t=176481

This is where the majority of the answers and replies are. Anything posted in the 3.8 mod section (until 0.7 is release) will be addressed in the original thread. This is to avoid splitting responses.

TheSupportForum 05 Sep 2009 20:12

are there any code changes to do since 3.6.1, i know there are lots, i use this mod currently for 3.8.4 but codes need updating

pedigree 05 Sep 2009 20:19

Nope, exactly the same. 0.61 was 0.60 with a tiny change and 0.60 didnt last very long at all. The mod in admincp still says 0.6 but is 0.61, which is what is posted here.

segwayon 06 Sep 2009 02:11

An excellent mod! Every board should use this full-featured modification if they wish to curtail spam. It includes a panel in the Admincp for reporting new spammers back to the StopForumSpam.com database so that other boards won't get plagued, too. Also, it allows for blocking spammers based on 3 different criteria: their usernames they select, their email addresses, and/or their IP addresses.

segwayon 06 Sep 2009 02:52

Pedigree: Someone on the lite mod asked if there's a way to query existing members: (http://www.vbulletin.org/forum/showp...1&postcount=48). Would you have any plans for somthing which allows an admin to scour the local database for hits?

pedigree 06 Sep 2009 11:37

Quote:

Originally Posted by segwayon (Post 1880365)
Pedigree: Someone on the lite mod asked if there's a way to query existing members: (http://www.vbulletin.org/forum/showp...1&postcount=48). Would you have any plans for somthing which allows an admin to scour the local database for hits?

I have and will but not a task to be run lightly. If you have , say, 2000 members and you want to check them all, thats 2000 (minimum) remove queries. As we only allow 5000 per day, thats a good slice is a daily allocation. What I might do uis build it around the daily downloadable (5am EST I think) CSV file. This would allow for every detail to be checked - registration ip, last activity ip, username, email address

wmelnick 06 Sep 2009 18:14

Following the installation instructions gives "Invalid File Specified" when I try to import it. Any ideas?

W

pedigree 07 Sep 2009 01:50

When you import the XML file?

how about some information, like what file youre importing and what version of vbulletin youre using

rasp187 07 Sep 2009 03:45

So to update from the 3.6 version we can just import the next XML file?

segwayon 07 Sep 2009 06:36

Quote:

Originally Posted by pedigree (Post 1880488)
I have and will but not a task to be run lightly. If you have , say, 2000 members and you want to check them all, thats 2000 (minimum) remove queries. As we only allow 5000 per day, thats a good slice is a daily allocation. What I might do uis build it around the daily downloadable (5am EST I think) CSV file. This would allow for every detail to be checked - registration ip, last activity ip, username, email address

What I did for the time being was to export the entire Users table in the PHPmyAdmin product as a CSV file, deleted all the unimportant fields, then I designed a form in VB.NET to open the exported CSV file, parse it line by line and add the contents into a listbox, and then roll through the listbox, serially building a URL string with all 3 parameters as you had showed us, and parse the returned pages for the markers on whether they were identified as spammers. Since our board has only 500 members it went well.

pedigree 07 Sep 2009 11:08

Quote:

Originally Posted by rasp187 (Post 1880838)
So to update from the 3.6 version we can just import the next XML file?

Just import the XML file in the zip file after uploading the contents of the "Upload" folder to the root of your forum

xjuliox 07 Sep 2009 11:22

It would be nice to have a feature to search for already registered users for spammers like if i installed vbstopforumspam it would search for everyone that was already register to see if their emails/IP's show up in the stopforumspam database.

AusPhotography 07 Sep 2009 11:48

www.stopforumspam.com XML response is giving errors for the non spammers....
<response success=" <type>ip</type>
<appears>no</appears>
<frequency>0</frequency>
</response>

Should be

<response success="false">
<type>ip</type>
<appears>no</appears>
<frequency>0</frequency>
</response>

And I cant contact them!


All times are GMT. The time now is 18:49.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.
Copyright ©2001 - , vbulletin.org. All rights reserved.