Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Re:Problem with Remember me in CB login
Date: 2008/09/08 04:21 By: Canuck Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 17
graphgraph
Looks like I'll be buying the subscriber version
Click here to see the profile of this user The administrator has disabled public write access.

Re:Problem with Remember me in CB login
Date: 2008/10/07 14:05 By: belserg Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
I'm having the same issue with Joomla 1.0.15 and CB 1.1

Remember Me function in CB login module does not work as the browser does not remember user info (apparently due to absence of cookie).

Hopefully this issue will be solved soon.

And this has nothing to do with session lifetime seconds specified in Joomla and forum settings.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Problem with Remember me in CB login
Date: 2008/10/07 18:19 By: Swiftek Status: User  
Karma: 3  
Fresh Joomlapolitan

Posts: 22
graphgraph
belserg,

You really need to upgrade to Joomla 1.5. The migration is pretty simple. I highly recommend it.

If your problem is such that you are logged in once you click refresh or a link on your page, then I have some code that will fix the problem with CB 1.1 on Joomla 1.5. It may very well work on Joomla 1.0 also, but that is not how it was represented to me and I have not tested it.

If you are not being logged into your page at all even after refreshing, then I fear you have a different problem that will not be corrected by this fix.

I've also had a similar issue caused by JFusion (a bridge-like extension for forums). Feel free to ask me about that.

As always, before you start trying things, now's the time to do a backup .

Here's the code I refer to. THANKS FEENDISH. I hope he doesn't mind me posting it here. You put it at the very beginning of the template's index.php file.
Code:

 <?php  /**  * The code below was written by Feendish, a Joomlapolis forum member to fix the login refresh  issue.  */ $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 code above was written by Feendish, a Joomlapolis forum member to fix the login refresh  issue.  */ ?>

Click here to see the profile of this user The administrator has disabled public write access.

Re:Problem with Remember me in CB login
Date: 2008/10/07 19:46 By: Rapunzl Status: CB Doc subscriber  
Karma: 51  
Moderator

Posts: 1060
graphgraph
belserg wrote:
I'm having the same issue with Joomla 1.0.15 and CB 1.1

Remember Me function in CB login module does not work as the browser does not remember user info (apparently due to absence of cookie).

Hopefully this issue will be solved soon.

And this has nothing to do with session lifetime seconds specified in Joomla and forum settings.
The cookies serve as the memory item the browser needs to remember. Most sites rely on being able to store a cookie in the user's temp files, so disabling cookies will also disable this functionality.
Jamie
Rapunzl Reminisces Owner and Website Administrator / Community Builder and Groupjive Team Member and Moderator
_______________________________________________________
Want to speed up the release of CB 1.2 and Plugins? Before posting, please read CB 1.1 Bugs stickies or CB 1.2 Identified Issues and the FAQs and Search the forum and the Web for your error. If not found, post Joomla, CB, PHP, Database and Browser versions, along with the exact error you are getting and results. Fewer posts for the developers to sift through will result in faster releases!

If you're looking for CB plugins, try the Downloads section, Directory (new) section or Joomla Community Builder-specific extensions.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Problem with Remember me in CB login
Date: 2008/10/07 19:50 By: Swiftek Status: User  
Karma: 3  
Fresh Joomlapolitan

Posts: 22
graphgraph


I don't recall anyone suggesting that cookies be turned off or disabled...



Did you have some information that may help, Rapunzl?

You stated yourself that the problem was apparently due to cookies being turned off and wanted the problem solved. It's working as it should, so I don't understand the problem. (If cookies are disabled, the browser will not remember the login.)

Post edited by: Rapunzl, at: 2008/10/07 19:58
Click here to see the profile of this user The administrator has disabled public write access.

Re:Problem with Remember me in CB login
Date: 2008/10/10 15:10 By: belserg Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
Swiftek wrote:
belserg,

You really need to upgrade to Joomla 1.5. The migration is pretty simple. I highly recommend it.

Been there, done that. In my opinion, Joomla 1.5 is in Windows Vista stage right now - it's pretty, seems more useful, but it's heavier and currently with more bugs. Plus not so many plugins work nicely under 1.5 yet, even though they tend to have green "Native" sign on Joomla's extensions page. It's nearly impossible to migrate some very useful components that run fine under Joomla 1.0.x also. So after testing for some time, decision was made to run production site on Joomla 1.0.x still.

If your problem is such that you are logged in once you click refresh or a link on your page, then I have some code that will fix the problem with CB 1.1 on Joomla 1.5. It may very well work on Joomla 1.0 also, but that is not how it was represented to me and I have not tested it.

If you are not being logged into your page at all even after refreshing, then I fear you have a different problem that will not be corrected by this fix.

My problem, which - as far as I've read the forums - seems to be shared by many other admins, Joomla 1.0.x ones in particular, is that when you login to the site (Remember Me is hidden and checked) and then open a new browser window with the same site, it does not rememer you. Same happens, I think, when simply some time passes and you refresh the browser window in which you logged in to the site, but the one you did not close. Upon refreshing, it does not help, the site does not remember you and login form is diplayed, EVEN THOUGH your username is shown in CB's who's online module as being present at the site.

This is really inconvenient for the users and I did not expect to find this underwater stone when made a decision to deal with CB, which was overall a pleasant experience.

I've also had a similar issue caused by JFusion (a bridge-like extension for forums). Feel free to ask me about that.

JFusion is also one laggy thing. I've been trying to bridge it with my long-existing IPB board, but JFusion is far from perfection and eventually I found Joomla-SMF bridge by JoomlaHacks much more reliable.

Thanks for your replies and hopefully solution to initial Remember Me issue will present itself soon!
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login