Seite 1 von 1

Confuise a bot lauft nicht, da eine Zeile bei mir fehlt

Verfasst: 01.01.2007 16:22
von RalfThomas
Hallo,

ich habe folgenden Mod eingebaut: Confuse a bot
http://www.phpbb.com/phpBB/viewtopic.php?t=393265

aber bei diesem Part:

[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------
# Partial line match. Actual line is much longer.
#
"U_AGREE_OVER13" =>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
&agreed=true"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
&". AGREED_VAR ."=".AGREED_VAL
#
#-----[ FIND ]------------------------------------------
# Partial line match. Actual line is much longer.
#
"U_AGREE_UNDER13" =>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
&agreed=true&coppa=true"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
&". AGREED_VAR ."=". AGREED_VAL ."&".COPPA_VAR."=true"
#
#-----[ FIND ]------------------------------------------
#
$error_msg = '';


$error_msg = ''; kommt nicht in meiner Datei vor.
Atteched mein File.

Gruss
Ralf
http://www.rc-forum.ch/includes/usercp_register.txt

Verfasst: 01.01.2007 18:56
von redbull254
Hallo,RalfThomas
kann die Seite nicht aufrufen. :o

hallo

Verfasst: 01.01.2007 19:31
von RalfThomas
Hallo,

das heir sollte gehen
http://www.rc-forum.ch/includes/usercp_register.txt

Datenbank ist momentan gelsöcht.

Gruss
Ralf

Verfasst: 01.01.2007 19:41
von redbull254
Wahrscheinlich hast Du die Zeile mal bei einem anderen Mod Einbau raus genommen.

Hier mal von mir die Stelle, wo sie drin ist.
$error = FALSE;
$error_msg = '';
$page_title = ( $mode == 'editprofile' ) ? $lang['Edit_profile'] : $lang['Register'];

if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed']) && !isset($HTTP_GET_VARS['agreed']) )
{
include($phpbb_root_path . 'includes/page_header.'.$phpEx);

show_coppa();

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
}

$coppa = ( empty($HTTP_POST_VARS['coppa']) && empty($HTTP_GET_VARS['coppa']) ) ? 0 : TRUE;