Quote:
Originally Posted by CreedFeed
Mine seems to only remember sessions for admins now. Normal users are not remember as being logged in.
|
I was wondering why the code is still there, but my testing version was working fine (as I was being an administrator), so I didnt investigate more
Sorry guys.
the new sessions.php in the first post was updated.
basically, you will only need to change the condition:
Look for:
PHP Code:
if ($this->read_cookie_data("bbpassword") == md5($this->user_info['user_password'].''.VBLICENCE_NUMBER) && $this->user_info['user_level'] > USER_AWAITING) {
replace with
PHP Code:
if ($this->read_cookie_data("bbpassword") == md5($this->user_info['user_password'].''.VBLICENCE_NUMBER) && $this->user_info['user_level'] != USER_AWAITING) {
this is applied for the sessions.php file in the first post. if you have the VBLICENCE_NUMBER here, just need to replace > USER_AWAITING with != USER_AWAITING
or you can remove the whole
&& $this->user_info['user_level'] != USER_AWAITING
well, I see this doesnt make alot of sence to force those who are awaiting for email confirmation not to be "remembered". but it was is the original code, so ... I just leave it there in case someone use it.
Quote:
mtha, I just signed up for your forums/gallery. When I login through your gallery page, then close my browser, reopen, and go to your gallery it shows me as not logged in. ??
|
the demo was NOT MY forum/gallery, I think it was MatrixGL. I dont have a demo for my testing work
sorry.