[2.0.19] Easy BotStopper

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
44
65%
Very Good
9
13%
Good
8
12%
Fair
2
3%
Poor
5
7%
 
Total votes : 68

[2.0.19] Easy BotStopper

Postby MOD Robot » Sat Mar 18, 2006 12:46 pm

MOD Name: Easy BotStopper
Author: battye
MOD Description: This is a simple program to stop spam bot registrations.


MOD Version: 1.0.0

Download File: Easy_BotStopper__100.mod
mods overview page: View
File Size: 3088 Bytes

Security Score: 0

Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version in the topic title. It may not work in any other versions of phpBB.
Last edited by MOD Robot on Mon Apr 30, 2007 12:31 am, edited 1 time in total.
(this is a non-active account manager for the phpBB MOD Team)
MOD Robot
MOD Queue Bot
MOD Queue Bot
 
Posts: 22156
Joined: Sat Aug 16, 2003 7:36 am

Postby ycl6 » Mon Apr 03, 2006 12:26 pm

MOD Validated/Released

Notes:
This MOD works by making website field invisible during registration. Spam bot that uses auto-registration script which provides an website URL will be detected and stopped.
Last edited by ycl6 on Mon Apr 03, 2006 3:03 pm, edited 2 times in total.
User avatar
ycl6
Former Team Member
 
Posts: 5702
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan

Postby battye » Mon Apr 03, 2006 12:28 pm

Cheers ycl6 :)
User avatar
battye
MOD Team Member
MOD Team Member
 
Posts: 9740
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia

Postby eviL<3 » Mon Apr 03, 2006 1:41 pm

ycl6 wrote:MOD Validated/Released

Notes:
This MOD works by making website field invisible during registration. Spam bot that uses auto-registration script which provides a website will be detected and stopped.


fixed. I'll install this one :)
User avatar
eviL<3
Former Team Member
 
Posts: 7479
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}

Postby ycl6 » Mon Apr 03, 2006 3:05 pm

eviL<3 wrote:
ycl6 wrote:MOD Validated/Released

Notes:
This MOD works by making website field invisible during registration. Spam bot that uses auto-registration script which provides a website will be detected and stopped.

Thanks, it should be website :P

~Mac
User avatar
ycl6
Former Team Member
 
Posts: 5702
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan

Postby irish gunner » Tue Apr 04, 2006 11:55 am

Posted in wrong forum initially sorry :oops:

Hi

Getting more and more spammers from Bots and tried the below

http://www.phpbb.com/phpBB/viewtopic.php?t=257755

Still got the spammers

Also tried the below MOD and it blocked spammers but then when new users went to log in they got the below error
so had to change it back to the original and the spammers came back

Can I change anything in the below MOD to fix it so that users can log in but will stop the bot spammers

Cheers

General Error

Could not obtain next user_id information

DEBUG MODE

SELECT MAX(user_id) AS total FROM phpbb_users

Line : 613
File : usercp_register.ph

Thank you very much for your time!,



##############################################################
## MOD Title: Easy BotStopper
## MOD Author: battye < (N/A) > (N/A) http://www.online-scrabble.com
## MOD Description: This is a simple program to stop spam bot registrations.
## MOD Version: 0.0.1
##
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: usercp_register.php, profile_add_body.tpl
## Included Files: (N/A)
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: This is the easiest way to stop spam bot registrations.
##############################################################
## MOD History:
##
## 2005-12-10 - Version 0.0.1
## - Die bots. Die.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
usercp_register.php

#
#-----[ FIND ]------------------------------------------
#
$unhtml_specialchars_match = array('#&gt;#', '#&lt;#', '#&quot;#', '#&amp;#');
$unhtml_specialchars_replace = array('>', '<', '"', '&');

#
#-----[ AFTER, ADD ]------------------------------------------
#

if ( $mode == 'editprofile' )
{
$template->assign_block_vars('only_show_notbot', array());
}

#
#-----[ FIND ]------------------------------------------
#
if ( !($row = $db->sql_fetchrow($result)) )
{
message_die(GENERAL_ERROR, 'Could not obtain next user_id information', '', __LINE__, __FILE__, $sql);
}
$user_id = $row['total'] + 1;

#
#-----[ AFTER, ADD ]------------------------------------------
#
if( $website != '' )
{
die();
}

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_WEBSITE}:</span></td>

#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- BEGIN only_show_notbot -->

#
#-----[ FIND ]------------------------------------------
#
<input type="text" class="post" style="width: 200px" name="website" size="25" maxlength="255" value="{WEBSITE}" />
</td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- END only_show_notbot -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
irish gunner
Registered User
 
Posts: 17
Joined: Mon Mar 13, 2006 8:14 pm

Postby battye » Wed Apr 05, 2006 10:52 am

You have installed the MOD incorrectly then, undo all changes and then reapply them :)
User avatar
battye
MOD Team Member
MOD Team Member
 
Posts: 9740
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia

Postby kulinar » Wed Apr 05, 2006 3:17 pm

It would be nice if the IPs of all spammers (bots) are recorded in order to ban them.
kulinar
Registered User
 
Posts: 638
Joined: Thu Feb 17, 2005 7:31 pm

Postby eviL<3 » Wed Apr 05, 2006 3:22 pm

I doubt that would be required...
User avatar
eviL<3
Former Team Member
 
Posts: 7479
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}

Postby battye » Thu Apr 06, 2006 9:26 am

kulinar wrote:It would be nice if the IPs of all spammers (bots) are recorded in order to ban them.


I believe there is a MOD that does this, I'm not sure of the name however.. :?
User avatar
battye
MOD Team Member
MOD Team Member
 
Posts: 9740
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia

Postby countz » Thu Apr 06, 2006 3:21 pm

good mod!


thanx
This is a block of text that can be added to posts you make. There is a 800 character limit

http://www.bhq.it
countz
Registered User
 
Posts: 65
Joined: Fri Jul 09, 2004 7:07 pm

Postby guarez » Thu Apr 06, 2006 3:45 pm

mm i install the MOD but the only change i can see is the "URL" field in the register page dont show.

thats all?
User avatar
guarez
Registered User
 
Posts: 61
Joined: Fri Apr 25, 2003 5:23 am

Postby eviL<3 » Thu Apr 06, 2006 3:51 pm

guarez wrote:mm i install the MOD but the only change i can see is the "URL" field in the register page dont show.

thats all?


Yep. Registration bots will enter the data into the field, but it doesn't exist. So the Mod will block all who enter something into that field, wich is impossible for Humans :)
User avatar
eviL<3
Former Team Member
 
Posts: 7479
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}

Postby siege911 » Thu Apr 06, 2006 7:15 pm

I'm getting this error on Registration and Profile changing.

Parse error: parse error, unexpected $ in /*****/includes/template.php(127) : eval()'d code on line 328
siege911
Registered User
 
Posts: 100
Joined: Wed Mar 16, 2005 10:46 pm

Postby p19h » Thu Apr 06, 2006 8:58 pm

Excuse me, how do I install this mod?
p19h
Registered User
 
Posts: 2
Joined: Thu Apr 06, 2006 8:56 pm

Next

Return to [2.0.x] MOD Database Releases

Who is online

Users browsing this forum: No registered users and 13 guests