Ahoi,
da ist beim Modeinbau etwas schiefgelaufen: Bei Dir lautet die Codestelle in der usercp_register.php so:
Code: Alles auswählen
// Run some validation on the optional fields. These are pass-by-ref, so they'll be changed to
// empty strings if they fail.
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
// Der Humanizer MOD
$humanizer_attribute = md5(($board_config['board_startdate'] + $board_config['board_timezone']) * $board_config['avatar_filesize']);
$ruhuman = ( isset($HTTP_POST_VARS[$humanizer_attribute]) ) ? ( ($HTTP_POST_VARS[$humanizer_attribute] == $humanizer_attribute) ? TRUE : 0 ) : 0;
// Der Humanizer MOD
$humanizer_attribute = md5(($board_config['board_startdate'] + $board_config['board_timezone']) * $board_config['avatar_filesize']);
$ruhuman = ( isset($HTTP_POST_VARS[$humanizer_attribute]) ) ? ( ($HTTP_POST_VARS[$humanizer_attribute] == $humanizer_attribute) ? TRUE : 0 ) : 0;
Richtig wäre aber so:
Code: Alles auswählen
// Run some validation on the optional fields. These are pass-by-ref, so they'll be changed to
// empty strings if they fail.
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
// The humanizer MOD
$humanizer_attribute = md5(($board_config['board_startdate'] + $board_config['board_timezone']) * $board_config['avatar_filesize']);
$ruhuman = ( isset($HTTP_POST_VARS[$humanizer_attribute]) ) ? ( ($HTTP_POST_VARS[$humanizer_attribute] == $humanizer_attribute) ? TRUE : 0 ) : 0;
Vor der Zeile
Code: Alles auswählen
if ($board_config['enable_confirm'] && $mode == 'register')
hast Du den fraglichen Code auch doppelt eingebaut - bitte ändern.
Das gleiche gilt für die Codestelle, die vor folgender Zeile eingefügt werden soll:
Code: Alles auswählen
if ( ($mode == 'register') || ($board_config['allow_namechange']) )
Folgendes hast Du auch doppelt drinnen:
Code: Alles auswählen
// Der Humanizer MOD
'ARE_U_HUMAN_YES' => ( $ruhuman ) ? 'checked="checked"' : '',
'ARE_U_HUMAN_NO' => ( !$ruhuman ) ? 'checked="checked"' : '',
Und weiter habe ich nicht geschaut. Einfach mal den Einbau Schritt für Schritt noch einmal durchgehen. Und vergiss den EasyMod, vor allem bei so kurzen Mods. Nimm einen guten Texteditor wie den kostenlosen Proton:
http://www.meybohm.de/proton.html
Wichtig: In Deiner usercp_register.php ist noch mehr durcheinander. Bei Dir lauten die Zeilen 571-577:
Code: Alles auswählen
'USERNAME' => preg_replace($unhtml_specialchars_match, $unhtml_specialchars_repla'S_ALLOW_AVATAR_UPLOAD' => $board_config['allow_avatar_upload'],
ce, substr(str_replace("\'", "'", $username), 0, 25)),
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '',
'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)
);
$emailer->send();
Probiere stattdessen folgende Zeilen:
Code: Alles auswählen
'USERNAME' => preg_replace($unhtml_specialchars_match, $unhtml_specialchars_replace, substr(str_replace("\'", "'", $username), 0, 25)),
'EMAIL_SIG' => (!empty($board_config['board_email_sig'])) ? str_replace('<br />', "\n", "-- \n" . $board_config['board_email_sig']) : '',
'U_ACTIVATE' => $server_url . '?mode=activate&' . POST_USERS_URL . '=' . $user_id . '&act_key=' . $user_actkey)
);
$emailer->send();
LG, IPB_Flüchtling