Also in der includes/Functions.php! Soweit hab ich verstanden. Hab dort jetzt das eingefügt.
Dann den Cache geleert aber es hat sich nichts verändert. Kann es sein das das irgendwie noch anders sein muss?'U_M_TERMS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=terms'),
'U_M_PRV' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy'),
Mit dem Befehl sage ich ja wenn ich das richtig verstehe ucp.php öffnen im Modus terms bzw. privacy. [/quote][/code]Das steht in der ucp.php drin:
Code: Alles auswählen
break;
case 'terms':
case 'privacy':
$message = ($mode == 'terms') ? 'TERMS_OF_USE_CONTENT' : 'PRIVACY_POLICY';
$title = ($mode == 'terms') ? 'TERMS_USE' : 'PRIVACY';
if (empty($user->lang[$message]))
{
if ($user->data['is_registered'])
{
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
}
login_box();
}
$template->set_filenames(array(
'body' => 'ucp_agreement.html')
);
// Disable online list
page_header($user->lang[$title], false);
$template->assign_vars(array(
'S_AGREEMENT' => true,
'AGREEMENT_TITLE' => $user->lang[$title],
'AGREEMENT_TEXT' => sprintf($user->lang[$message], $config['sitename'], generate_board_url()),
'U_BACK' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login'),
'L_BACK' => $user->lang['BACK_TO_LOGIN'])
);
page_footer();
break;
Mfg Chrischi
EDIT: Alles klar war der Falsche code....
