Problem with Remember me in CB login

12 years 1 month ago #61584 by p999
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:,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 ) . '"

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.
12 years 1 week ago #63636 by bmacwire
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.

Duder's got a lot of strands
12 years 2 days ago #64015 by dhowe01
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??
11 years 11 months ago #65799 by D0gSoldi3r
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. :angry:
11 years 11 months ago #66461 by Feendish
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.

$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.
11 years 9 months ago #71389 by Swiftek
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

Got Tech?
Moderators: beatnantkrileon
Time to create page: 0.461 seconds

Facebook Twitter LinkedIn