Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbStopForumSpam Details »»
vbStopForumSpam
Version: 0.61, by pedigree pedigree is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 4.0.0 Rating:
Released: 12-22-2009 Last Update: 12-26-2009 Installs: 1201
DB Changes Uses Plugins
Re-useable Code Additional Files  
No support by the author.

vbStopForumSpam

Mod of the month winner October 2009.... That cant be bad :up:


Apologies in advance, this is a copy of the 3.6/3.7/3.8 mod that has been verified to work in 4.0 (its so that I dont get a billion PMs asking if it works in 4.0)

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.

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.

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

For code to submit spammers to the database, check this post for code changes
https://vborg.vbsupport.ru/showpost....&postcount=288

Reported 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, 4.0 Gold
, 4.2pl1,2

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+

There is a small mod, coded by Wired1 that will allow you to submit spammer details to the database from the admin control panel, here https://vborg.vbsupport.ru/showpost....&postcount=289 This relies 100% on javascript being enabled and makes no tests that it is enabled.

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 the file upload the correct folders.

Please click Installed

The original thread is at https://vborg.vbsupport.ru/showthread.php?t=176481 where there is a wealth of knowledge about the mod, please ask questions in there.

Download Now

File Type: zip vbStopForumSpam_v0.61.zip (10.7 KB, 6715 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 06-06-2010, 04:09 AM
howard007 howard007 is offline
 
Join Date: Oct 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been running this fine and all of the sudden:

All of the sudden I get these errors and I've been running vbstopforumspam for a couple months. How do I fix?


Database error in vBulletin 4.0.3:

Invalid SQL:
INSERT INTO vbstopforumspam_log (date, ipaddress, email, username, message, blocked,
userhash) VALUES (now(), '91.121.85.126' , 'larrypae@gmail.com', 'Unregistered',
'Result on field username - Unregistered [REMOTEERR] Unverfied but allowed by
policy', 0, '677850e24e7b5900768632062e50c3f7');;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Sunday, June 6th 2010 @ 12:55:52 AM
Error Date : Sunday, June 6th 2010 @ 12:56:59 AM
Script : http://www.website.com/forums/register.php?do=addmember
Referrer : http://www.website.com/forums/register.php
IP Address : 91.121.85.126
Username : Unregistered
Classname : vB_Database_MySQLi
MySQL Version :
Reply With Quote
  #193  
Old 06-06-2010, 12:17 PM
Fireagle Fireagle is offline
 
Join Date: Mar 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Log sort by IP:

Quote:
Datenbankfehler in vBulletin 4.0.3:

Invalid SQL:

SELECT * FROM vb_vbstopforumspam_log AS logs

ORDER BY ip ASC, date DESC
LIMIT 0, 15;

MySQL-Fehler : Unknown column 'ip' in 'order clause'
Fehler-Nr. : 1054
Fehler-Zeit : Sunday, 06.06.2010 @ 15:16:20
Datum : Sunday, 06.06.2010 @ 15:16:20
Skript : http://*********/admincp/vbstopforum...erby=ip&page=1
Referrer : http://*********/admincp/vbstopforum...sername&page=1
IP-Adresse : ************
Benutzername : Fireagle
Klassenname : vB_Database
MySQL-Version : 5.0.83-log
Reply With Quote
  #194  
Old 06-08-2010, 12:34 AM
howard007 howard007 is offline
 
Join Date: Oct 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way that I can whitelist an IP? If I was a coder, I'd do it.

Can't we have an over ride option to enter an IP? PLEASE???

Thanks
Reply With Quote
  #195  
Old 06-08-2010, 02:53 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i added it and seems to be fine for now.
Reply With Quote
  #196  
Old 06-08-2010, 10:33 AM
JHUMON JHUMON is offline
 
Join Date: Aug 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hm working well
Reply With Quote
  #197  
Old 06-11-2010, 12:29 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

diamonds sparkles 2010-06-10 12:52:28 ******@hotmail.com 96.50.97.44 Allowed registration

It allowed her, but she still was rejected because of the spam policy. why is that?

All other members that were allowed are now on the site and their name is clickable when i run this log report except for her.
Reply With Quote
  #198  
Old 06-13-2010, 02:31 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mrdby View Post
diamonds sparkles 2010-06-10 12:52:28 ******@hotmail.com 96.50.97.44 Allowed registration

It allowed her, but she still was rejected because of the spam policy. why is that?

All other members that were allowed are now on the site and their name is clickable when i run this log report except for her.
maybe because of the space in her name? Check your username Regular expression and see if spaces are allowed.
Reply With Quote
  #199  
Old 06-14-2010, 09:22 AM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dragonsys View Post
maybe because of the space in her name? Check your username Regular expression and see if spaces are allowed.
where do i find that? I want to change people from adding spaces or certain characters when joining my site.
Reply With Quote
  #200  
Old 06-14-2010, 03:29 PM
fxwoody's Avatar
fxwoody fxwoody is offline
 
Join Date: Jun 2010
Location: On Earth
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tks for the plugins! Will make us feel safer
Reply With Quote
  #201  
Old 06-14-2010, 07:45 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same problem with somone else but they were allowed and still is not a registered member.

Unregistered 2010-06-14 15:24:05 thelordof.the.rings2k@gmail.com 85.186.255.233 Result on field username - Unregistered - Spammer and rejected by policy
Unregistered 2010-06-14 15:05:42 gogogogoass@gmail.com 94.19.191.183 Result on field username - Unregistered - Spammer and rejected by policy
Unregistered 2010-06-14 14:43:54 neltocount@land.ru 91.212.226.15 Result on field username - Unregistered - Spammer and rejected by policy
Unregistered 2010-06-14 14:04:15 afd-4444@yandex.ru 91.214.44.233 Result on field username - Unregistered - Spammer and rejected by policy
Unregistered 2010-06-14 08:59:56 mail@sextoys-diskret.com 79.237.89.141 Result on field username - Unregistered - Spammer and rejected by policy
rosieado 2010-06-14 08:57:08 rosieado@yahoo.com 71.179.101.243 Allowed registration
rosieado 2010-06-14 08:56:32 rosieado@yahoo.com 71.179.101.243 Allowed registration
rosieado 2010-06-14 08:55:37 rosieado@yahoo.com 71.179.101.243 Allowed registration
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04728 seconds
  • Memory Usage 2,354KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (10)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete