Gibt es die Möglichkeit, dieses Script so umzuschreiben, dass man wenn man sich einloggt und vorher noch kein Geburtsdatum angegeben hat, auf eine Seite kommt, auf der man sein Geburtsdatum vervollständigen muss:
Code: Alles auswählen
//Begin agree to privacy on first login Mod
if ($user->data['user_agree_privacy'] == 0 && $user->data['is_registered'] && !$user->data['is_bot'] && (request_var('mode', '') != 'privacy'))
{
if (confirm_box(true))
{
$sql = 'UPDATE ' . USERS_TABLE . "
SET user_agree_privacy = '1'
WHERE user_id = " . $user->data['user_id'];
$db->sql_query($sql);
}
else
{
confirm_box(false, sprintf($user->lang['AGREE_PRIVACY'], '<a href="' . append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=privacy') . '">', '</a>'));
header("Location: " . append_sid("{$phpbb_root_path}ucp.$phpEx?mode=logout&sid=" . $user->session_id));
}
}
//End agree to privacy on first login Mod
Vielen Dank
the_zoker_09