Hmm.
SMF login redirect til nuværende/samme side ved login: http://forum.websitebaker2.org/index.php?topic=10310.0
Sandsynligvis nemmere at tweake: http://custom.simplemachines.org/mods/index.php?mod=1443
Bonus fra: http://custom.simplemachines.org/mods/index.php?action=parse
Et ondt og falskt hack:
./Sources/LogInOut.php
Code: [Select]
// PJL Redirect on login/logout Mod.
//if (!empty($modSettings['logon_redirect_enable']) && !empty($modSettings['logon_redirect_url']))
if (!empty($modSettings['logon_redirect_enable'])) //GRN
{
if (empty($_SESSION['login_url']))
//$_SESSION['login_url'] = $modSettings['logon_redirect_url'];
$_SESSION['login_url'] = $_SESSION['old_url']; //GRN
}
// End Mod.
Comments