|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/01/03 14:52
|
By: shtula
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 8 |   | |
|
franov wrote: Hi! I've the same problem but with Joomla 1.0.13...I use CB to manage SMF 1.1.14 together with the site and it works just fine as far registration, login and logout are concerned...but if I try to login with "remember me" checked...it won't remember me if you let the session expire or close and open again the browser...I'm getting crazy for this issue...do you have any idea on how to fix it? Thank you very much! Me too.
I'm using 1.0.13 and CB 1.1 but the only difference is I'm using Fireboard, not SMF.
All the other above mentioned problems have I too.
Is it safe to apply the hack for 1.5 to 1.0.13?
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/01/04 22:53
|
By: rfamatid
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
ok, looks like 'Remember Me' is now working. . .almost.
Why does it need another click outside of the home page to recognize the user? Once i click on a link, it realizes who i am and shows me the correct content based on being logged-in vs. not logged in.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/01/08 04:36
|
By: imsammyd
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 1 |   | |
|
|
It isn't working at all for me. Running joomla 1.5RC4 and CB 1.1. Anyone have a solution?
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/02/02 20:24
|
By: prosto
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
Downloaded from this site and installed CB 1.1 on fresh installation of Joomla 1.5.
Disabled system default "Login Form" module (mod_login), enabled "CB Login" module (mod_cblogin).
When I log in with "Remember Me" checked, after 15 minutes (default session lifetime) or after browser closed/reopened I'm logged out and have to log in again.
Applied the "fix" found in this thread -
| Code: |
if ( $hashedPwdLogin ) { // Joomla 1.0.12 and below:
$mainframe->login( $username, cbHashPassword( $passwd2 ) );
} elseif ( checkJversion() == 1 ) { // Joomla 1.5 RC and above:
$mainframe->login( array( 'username' => $username, 'password' => $passwd2 ), array( 'remember' => cbGetParam( $_POST, 'remember' ) ) ); // THIS LINE CHANGED !
} else {
$mainframe->login( $username, $passwd2 );
}
|
- and now it's working 50%, i.e., when I'm logged out after 15 minutes or reopening the browser I have to reload the page or click on any link, and I'm logged back in for the next session period.
Tested on 2 servers - same results.
Installed Joomla 1.5 separately without any extensions - no problems at all with the system default "Login Form" module (mod_login) and "Remember Me" checked.
To developers - please provide a solution for fixing this issue!
Thanks in advance.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/02/07 01:48
|
By: squallata
|
Status: User
|
|
|
Karma: 1  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
prosto i have the same problem and i found this bad thing it is e mod i wrote | Code: |
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $my , $_SERVER;
$usid = $my->id ;
@mysql_connect("your sql server", "user name", "password")
or die ("baglanti hatasi");
@mysql_select_db("joomla db")
or die("hata");
if ($usid == "") {
$git ='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
header("Location: $git");
exit;
}
|
and this mod is seen only registered user
if the user say remember me page reload again
i know it is bad thing but no body make good thing
and sory for my bad english
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/02/10 09:51
|
By: prosto
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
Hey, squallata, it may work, if you are already logged in, but if you try to log in/out, there will be problems.
|
|
The administrator has disabled public write access. |
|
|