Probleme beim Einbau Advanced Visual Registration
Verfasst: 01.01.2007 15:15
Hallo,
ich habe Probleme beim Einbau vonAdvanced Visual Registration
http://www.phpbb.de/moddb/mod.php?id=403
Grund ist in der Anleitung steht :
#----------[ OPEN ]-------------------------------------
#
includes/usercp_register.php
#
#----------[ FIND ]-------------------------------------
#
// Generate the required confirmation code
// NB 0 (zero) could get confused with O (the letter) so we make change it
$code = dss_rand();
$code = substr(str_replace('0', 'Z', strtoupper(base_convert($code, 16, 35))), 2, 6);
#
#----------[ REPLACE WITH ]-----------------------------
#
// Generate the required confirmation code
$code_length = mt_rand(4, 6);
$code = dss_rand();
$code = strtoupper(base_convert($code, 16, 35));
$code = str_replace('I', '', $code); // The letter I could get confused with the letter J and the number 1 (one) so we remove it
$code = str_replace('0', '', $code); // NB 0 (zero) could get confused with O (the letter) so we remove it
$code = substr($code, 2, $code_length);
Aber das was vorhanden sein soll , ist in meiner Datein nicht vorhanden.
Anbei meine Datei als TXT Link
http://www.rc-forum.ch/includes/usercp_register.txt
Gruss
Ralf
ich habe Probleme beim Einbau vonAdvanced Visual Registration
http://www.phpbb.de/moddb/mod.php?id=403
Grund ist in der Anleitung steht :
#----------[ OPEN ]-------------------------------------
#
includes/usercp_register.php
#
#----------[ FIND ]-------------------------------------
#
// Generate the required confirmation code
// NB 0 (zero) could get confused with O (the letter) so we make change it
$code = dss_rand();
$code = substr(str_replace('0', 'Z', strtoupper(base_convert($code, 16, 35))), 2, 6);
#
#----------[ REPLACE WITH ]-----------------------------
#
// Generate the required confirmation code
$code_length = mt_rand(4, 6);
$code = dss_rand();
$code = strtoupper(base_convert($code, 16, 35));
$code = str_replace('I', '', $code); // The letter I could get confused with the letter J and the number 1 (one) so we remove it
$code = str_replace('0', '', $code); // NB 0 (zero) could get confused with O (the letter) so we remove it
$code = substr($code, 2, $code_length);
Aber das was vorhanden sein soll , ist in meiner Datein nicht vorhanden.
Anbei meine Datei als TXT Link
http://www.rc-forum.ch/includes/usercp_register.txt
Gruss
Ralf