habe mir den MapMod manuell installiert, da es beim phpbb2 Plus einige Stellen gab, wo der EasyMod ins Stocken kam...
Nun wird eine Fehlermeldung beim Profil aufrufen angezeigt:
Parse error: parse error, unexpected ';', expecting ')' in /homepages/14/d84923327/htdocs/Forum/includes/usercp_register.php on line 116
Hier ist der Teil, wo der Fehler sein soll:
Code: Alles auswählen
if ( $mode == 'editprofile' )
{
$user_id = intval($HTTP_POST_VARS['user_id']);
$current_email = trim(htmlspecialchars($HTTP_POST_VARS['current_email']));
}
$strip_var_list = array('username' => 'username',// 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 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests', 'arten' => 'arten');
// 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]));
}
}
Grüße,
Dominik