Page 1 of 1

Easy BotStopper problem

Posted: Tue Jan 22, 2008 8:28 am
by doswald
dear mate me here again, i told you am ur fans haha :wink:

have new concern, i'm still battling with these bots kept on registering in my site, i went to phpbb MOD website and download this however i found that bots are still alive and keep on registering about 5-10 per day. here's the code i found in PHPBB website

Code: Select all

##############################################################
## 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: 1.0.0
##
## 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:
##
##   2006-03-18 - Version 1.0.0
##      - Die bots. Die. :)
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

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

#
#-----[ FIND ]------------------------------------------
#
$unhtml_specialchars_match = array('#>#', '#<#', '#"#', '#&#');
$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
i hope you can help me again to prevent such bots interferin our site.

kind regards
doswald

Re: Easy BotStopper problem

Posted: Tue Jan 22, 2008 8:30 am
by battye
Easy BotStopper was nearly 100% effective a few years ago, but bots have woken up to my technique :x

I've found the best option to be "The Humanizer" MOD which you can download from http://www.phpbb.com/community/viewtopic.php?t=383788 :)