.:URGENT:.
Code: Select all
// Generate logged in/logged out status
//
if ( $userdata['session_logged_in'] )
{
$u_login_logout = 'login.' . $phpEx . '?logout=true&redirect=' . $redirect . '&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
}
else
{
$u_login_logout = 'login.' . $phpEx . '?redirect=' . $redirect;
$l_login_logout = $lang['Login'];
}
//-- fin mod : Login Redirection Suite -----------------------------------------
Code: Select all
// Generate logged in/logged out status
//
if ( $userdata['session_logged_in'] )
{
//delete--- $u_login_logout = 'login.' . $phpEx . '?logout=true&redirect=' . $redirect . '&sid=' . $userdata['session_id'];
$u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
}
else
{
$u_login_logout = 'login.' . $phpEx . '?redirect=' . $redirect;
$l_login_logout = $lang['Login'];
}
//-- fin mod : Login Redirection Suite -----------------------------------------
Shanana wrote: Question:
Can this mod also make it so that if you type in the wrong login information, visitors get redirected to the page of your choice?
felipe wrote: The very first link on that page is incorrect. I shows
h*tp://www.rubenal.com/phpbb/\"./login.php?red ... /index.php?\" (the protocol was complete, i only typed h*tp so it would not create a false URL)
I looked through the MODifications I made to includes/page_header.php, and I installed it correctly, but I made one change last night. I really don't think that my change is the problem but it could be Here's the change I made:
Another thing, my other admin attempted to login today (I hadn't logged in all day today, except just 20 mins ago) He tried his normal password that he's been using for many weeks, and it denied him, saying pass was incorrect. So he clicked forgot password, and the prog sent him a new one. He tried it, and it didn't work! When he got back home, and hopped onto his home PC, he logged in using the old password, the one he had been using for weeks before he clicked on forgot password, and he was able to login successfully! Is this an effect of this mod? What could be the problem here...? How can I fix this?