Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #152  
Old 04-13-2010, 02:47 PM
jkcerda jkcerda is offline
 
Join Date: Mar 2008
Posts: 425
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet
Reply With Quote
  #153  
Old 04-13-2010, 09:46 PM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was working great, but all of a sudden the spammers are back in full force
Reply With Quote
  #154  
Old 04-13-2010, 10:51 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Battle_Ring View Post
This was working great, but all of a sudden the spammers are back in full force
What is your log showing?
Reply With Quote
  #155  
Old 04-16-2010, 11:49 PM
john h john h is offline
 
Join Date: Dec 2008
Location: Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lore Master View Post
The Unregistered displays when the username field is left blank when the form is sent. The REMOTERR dislays when the email field is left blank. For some reason these started showing up in vB 4.0.

My workaround: to check for a blank username and email fields and if either are empty bypass the stopforumspam check, as vB will send the user back to complete these fields anyways. Just a work-around, I tested it and it seemed to work correctly.

Go to plugins and open the vbstopformspam plugin for register_addmember_process. Select edit, and highlight the code. Paste this over it:

Code:
if (!empty($vbulletin->GPC['username']) AND !empty($vbulletin->GPC['email']))
{
				$sfsPurged = false;
				require_once('includes/functions_vbsfs.php');
				sfsProcess();
}
I will give this a go. So far I seem to be getting no username but with email in the logs. If just the username is blank, will this still work? I noticed the "AND" clause in the code, can this be made "OR"? I don't know php that well.
Reply With Quote
  #156  
Old 04-17-2010, 12:54 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my registration history for the past month...

Code:
March 17, 2010		6
March 18, 2010		2
March 19, 2010		2
March 20, 2010		3
March 21, 2010		4
March 22, 2010		7
March 23, 2010		2
March 24, 2010		1
March 25, 2010		4
March 26, 2010		6
March 27, 2010		5
March 28, 2010		8
March 29, 2010		5
March 30, 2010		8
March 31, 2010		4
April 01, 2010		3
April 02, 2010		4
April 03, 2010		2
April 04, 2010		6
April 05, 2010		8
April 06, 2010		18
April 07, 2010		34
April 08, 2010		41
April 09, 2010		36
April 10, 2010		30
April 11, 2010		25
April 12, 2010		48
April 13, 2010		55
April 14, 2010		21
April 15, 2010		44
clearly spamrate is going up...
Reply With Quote
  #157  
Old 04-17-2010, 01:50 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mastergumble View Post
I did a few tests with 4.0.3 Facebook connection without disable this mod and didnt got any problem.

What issue you getting with it enabled?
Anyone else no which way this goes, does it work with facebook connect or throw errors?
Reply With Quote
  #158  
Old 04-17-2010, 03:44 PM
Mastergumble Mastergumble is offline
 
Join Date: Sep 2008
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It allow FB registrations, so far i dont have problems running 4.0.3 still having the listed spammers being bloqued.
Reply With Quote
  #159  
Old 04-21-2010, 05:46 AM
john h john h is offline
 
Join Date: Dec 2008
Location: Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My blocked spammer are not being submitted to the www.stopforumspam.com website. I have triple checked my API key and it is entered correctly in the options page. Any ideas?
Reply With Quote
  #160  
Old 04-24-2010, 04:47 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have Facebook connect on and since I installed this mod the ONLY spammers I have gotten was from Facebook

Nice mod, thanks again for the work! 966 blocked in the first 10 days!

-Jason
Reply With Quote
  #161  
Old 04-26-2010, 02:05 PM
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Location: Armyville
Posts: 1,074
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was just in my logs, what does this mean?

Code:
#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroKey\MarlboroKey.txt,3,S] [url=#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroURL\MarlboroUrl.txt,1,L]]#file_links[C:\Documents and Settings\Administrator\De	2010-04-26 08:27:09	#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroKey\MarlboroKey.txt,3,S] [url=#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroURL\MarlboroUrl.txt,1,L]]#file_links[C:\Documents and Settings\Administrator\De	98.217.74.198	Allowed registration
#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroKey\MarlboroKey.txt,3,S] [url=#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroURL\MarlboroUrl.txt,1,L]]#file_links[C:\Documents and Settings\Administrator\De	2010-04-26 08:26:57	#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroKey\MarlboroKey.txt,3,S] [url=#file_links[C:\Documents and Settings\Administrator\Desktop\Base\MarlboroURL\MarlboroUrl.txt,1,L]]#file_links[C:\Documents and Settings\Administrator\De	98.217.7
Reply With Quote
Reply

Thread Tools

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 12:59 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.07351 seconds
  • Memory Usage 2,350KB
  • 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_code
  • (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