Betreff: Aw: yogurt und und profil zusammen ? von Kaliber am 07.02.2011 08:01:03
function eventCoreEdituserStart($args) {
header("location: ./modules/profile/edituser.php" . (empty($_SERVER['QUERY_STRING']) ? "" : "?" . $_SERVER['QUERY_STRING']));
exit();
}
function eventCoreLostpassStart($args) {
$email = isset($_GET['email']) ? trim($_GET['email']) : '';
$email = isset($_POST['email']) ? trim($_POST['email']) : $email;
header("location: ./modules/profile/lostpass.php?email={$email}" . (empty($_GET['code']) ? "" : "&" . $_GET['code']));
exit();
}
function eventCoreRegisterStart($args) {
header("location: ./modules/profile/register.php" . (empty($_SERVER['QUERY_STRING']) ? "" : "?" . $_SERVER['QUERY_STRING']) );
exit();
}
function eventCoreUserinfoStart($args) {
header("location: ./modules/yogurt/index.php" . (empty($_SERVER['QUERY_STRING']) ? "" : "?" . $_SERVER['QUERY_STRING']) );
exit();
}
?>
für alle die yogurt verwnden also um nie wieder das alte profil áuf rufen zu mussen einfach unter modules/profile/preloads/core.php und aus modules/profile/userinfo.php modules/yogurt/index.php da raus machen dann werdet ihr immer auf das yogurt profil geleitet
EDIT by Muki, bitte Code als Code anzeigen lassen.
|