Hello at all
Some user of my site have login problems with firefox.
They can login with IE.
I test it but I´ve no problems to login/logout or register with firefox.
what´s going on there?
Moderator: Moderators




dcz wrote:And ?


dcz wrote:open :
- Code: Select all
includes/page_header.php
The mxBB one
Find :
- Code: Select all
//
// Generate logged in/logged out status
//
if ( $userdata['session_logged_in'] )
{
$u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
}
else
{
$u_login_logout = 'login.'.$phpEx;
$l_login_logout = $lang['Login'];
}
This is wher everything is done.
So I think the better fix right now would be to use the phpBB login.php instead, so that the link will be usable in both cases (log in and out) even if your user log-in from the portal will be thus redirected to the forum after they logged in.
So change it to :
- Code: Select all
//
// Generate logged in/logged out status
//
if ( $userdata['session_logged_in'] )
{
$u_login_logout = PHPBB_URL . 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
}
else
{
$u_login_logout = PHPBB_URL . 'login.'.$phpEx;
$l_login_logout = $lang['Login'];
}
Note, you might prefer no to use the first PHPBB_URL if the log out feature is working as is, then it will also work without the PHPBB_URL path
++




Users browsing this forum: No registered users and 4 guests