|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/04/25 20:00
|
By: p999
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 5 |   | |
|
I did find a solutions for both the '404' problem and 'remember me'. The latter Beat provided an answer in this thread. See this thread for the 404 solution:
http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,46317/catid,43/
limit,6/limitstart,6/
"modules/mod_cblogin/mod_cb_login.php" at line #512
You should change this: name="return" value="' . htmlspecialchars( $login ) . '"
to: name="return" value="' . $login . '"
The only issue I have concerns "special", or “registered” items. On the first visit to the site I have to refresh the page before they appear.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/05/25 22:59
|
By: bmacwire
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 14 |   | |
|
|
The only solution I have found to the Remember Me Bug is to select the setup option for CB_Login for "Remember Me" to "Hide/Selected". In my experience this bug only occurs in IE7, not Firefox. I didn't test in IE6 so I don't know if this is related to some update to IE7 or what. I am hoping that this bug is addressed in 1.2 but I don't see anything about it in the Pre-Release.
|
|
The administrator has disabled public write access. |
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/05/31 14:06
|
By: dhowe01
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 16 |   | |
|
applied fixes mentioned here. "Remember me" now seems to write a cookie. closing the browser, reOpening, and reconnecting to the webpage simply produces a blank page. Hitting "reload" makes the page display
Nobody has a fix for this??
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/06/16 09:00
|
By: D0gSoldi3r
|
Status:
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 17 |   | |
|
Is there still no fix for this, You guys need to get off your ass and fix this fundamental problem. This is annoying alot of people so fix it.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/06/24 19:10
|
By: Feendish
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 2 |   | |
|
I think I've solved the problem (on my site anyway). To recap the problem: If the user chose "Remember Me" and logged in then closed their browser and came back at a later time, the user would appear to be logged out. BUT if they refreshed the page they magically are logged in again.
The solution: 1. Make sure mod_cblogin is installed correctly. 2. Make sure mod_login (the one supplied with Joomla is disabled). 3. Insert the following code at the top of your templates index.php file or AFTER the global declarations in the mod_cblogin.php file.
| Code: | <?php
$user =& JFactory::getUser(); //Grab the Joomla 1.5.x user details object
if ((!$my->id)&&($user->id)){ //If the legacy array is not populated but user is still logged in according to Joomla 1.5.x,
foreach ($user as $key => $value) { //loop through 1.5.x user object
$my->$key=$value; //and copy 1.5.x object value to same key in 1.0.x object.
}
}
?>
|
The issue seems to be that the $my object is not being populated until the page is refreshed. What the code above does is checks that (a) the user is stilled logged in according to the newer 1.5.x $user object and (b) the legacy 1.0.x $my object is empty. It then copies the $user values into the $my values as both objects contain the same keys. Hope this works. I'm sure someone will suggest a cleaner fix.
|
|
The administrator has disabled public write access. |
|
|
|
|
Re:Problem with Remember me in CB login
|
|
Date: 2008/08/15 21:43
|
By: Swiftek
|
Status: User
|
|
|
Karma: 3  
|
|
Fresh Joomlapolitan  | Posts: 9 |   | |
|
I have this problem also and I think it is related to Fire Fox not remembering me at all.
Is this Fire Fox problem fixed or being discussed elsewhere? I really need a fix to this.
Post edited by: Swiftek, at: 2008/08/15 21:45
|
|
The administrator has disabled public write access. |
|
|