Hallo Leute
versuche grade diesen super Mod zuinstallieren bis jetzt auch keine Probleme, aber in der Install Anleitung gibt es eine Stelle da komm ich nicht weiter, hab auch schon hier gesucht aber zu demPunkt nichts gefunden.
Also dort steht:
Code: Alles auswählen
#-----[ OEFFNE ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FINDE ]------------------------------------------
#
$strip_var_list = array('username' => 'username',
#
#-----[ DANACH EINFUEGEN ]------------------------------------------
#
// Begin Map Mod
$strip_vars_mapmod = array('longitude' => 'longitude', 'latitude' => 'latitude');
$strip_var_list = array_merge ($strip_var_list, $strip_vars_mapmod);
// End Map Mod
#
Mein Problem ist das ich
$strip_var_list = array('username' => 'username', einfach nicht finden kann.
Habe schon nur nach
$strip_var_list gesucht dann finde ich was bezüglich ICQ YIM usw aber nichts mit Username auch wenn ich nach
username' => 'username' suche finde ich nichts.
Ich vermute das in der
2.0.19 irgendwas in der usercp_register.php geändert wurde.
Ich vermute mal das es irgendwo dort rein muß und das der "Kommentar damit zutun hat
Code: Alles auswählen
$strip_var_list = array('email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'confirm_code' => 'confirm_code');
// Strip all tags from data ... may p**s some people off, bah, strip_tags is
// doing the job but can still break HTML output ... have no choice, have
// to use htmlspecialchars ... be prepared to be moaned at.
while( list($var, $param) = @each($strip_var_list) )
{
if ( !empty($HTTP_POST_VARS[$param]) )
{
$$var = trim(htmlspecialchars($HTTP_POST_VARS[$param]));
}
}
$username = ( !empty($HTTP_POST_VARS['username']) ) ? phpbb_clean_username($HTTP_POST_VARS['username']) : '';
$trim_var_list = array('cur_password' => 'cur_password', 'new_password' => 'new_password', 'password_confirm' => 'password_confirm', 'signature' => 'signature');
Alle anderen Installaufgaben lassen sich lösen, aber hier welcher Experte weiß weiter.
Und wenn ich schon dabei bin
Code: Alles auswählen
// Begin Map Mod
"L_USER_MAP" => $lang['map'],
"U_USER_MAP" => append_sid("map.".$phpEx),
// End Map Mod
Das gehört in die page_header.php
Das müssen doch bestimmt nur ' und nicht " sein , stimmts ? -
JA stimmt hab ich schon geändert, nur zur Info falls jemand das gleiche Problem hat
Hoffe Ihr könnt helfen.
Mfg
Marco