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/01/03 14:52 By: shtula Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 8
graphgraph
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?
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/01/04 22:53 By: rfamatid Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
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.
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/01/08 04:36 By: imsammyd Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
It isn't working at all for me. Running joomla 1.5RC4 and CB 1.1. Anyone have a solution?
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/02/02 20:24 By: prosto Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
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$usernamecbHashPassword$passwd2 ) );             } elseif ( checkJversion() == ) {        // 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.
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/02/07 01:48 By: squallata Status: User  
Karma: 1  
Fresh Joomlapolitan

Posts: 5
graphgraph
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
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/02/10 09:51 By: prosto Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 5
graphgraph
Hey, squallata,
it may work, if you are already logged in, but if you try to log in/out, there will be problems.
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