MyXoops Forum

Forum - myXOOPS German Support

8 + 8 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw: yogurt und und profil zusammen ?

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.

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 4216 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1588 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag