SkyForum
•
Premium
•
2498 posts Quote
•
Jan 15, 2012 19:05
•
1 likes
•
 It seems weird that I have to keep installing these 'fixes' to get sh__ to work. I log in, I close the browser, I op-en the browser and it has forgotten me. Does it every time.
I should not have to do this anymore:
We had an issue with the Remember Me? feature not working on v7.0.4 dolphin on our site. In digging a little, I found that the function bx_login defaults the remember me status to false and does not try to get the form data to change this boolean in the code before logging the user in.
If you want to fix this, you can do the following in your code:
Open /inc/profiles.inc.php - look for the following code (original code is at line 443) <--- it's actually line 452 now
function bx_login($iId, $bRememberMe = false) {
Place the following block just below it:
if ((bool)$_POST['rememberMe'] == true) { $bRememberMe = true; };
Save and clear your cache. Next time you or a member logs in and checks the Remember Me button, the cookie will be properly created and they will be remembered. Enjoy -- My site has banner ads here! |
misterpopper
•
Premium
•
270 posts Quote
•
Jan 16, 2012 04:57
•
0 likes
•
 socialhams.net |
prolaznik
•
Advanced
•
1693 posts Quote
•
Jan 16, 2012 05:56
•
0 likes
•
 what do you have new install or updated version ? my site is based on 7.0.7 now it's almost 7.0.9 and this remember me option worked without any modification to it.
|
SkyForum
•
Premium
•
2498 posts Quote
•
Jan 16, 2012 12:49
•
0 likes
•
 Updated from 7.0 all the way brother! (lol) My site has banner ads here! |
csampson1
•
Advanced
•
947 posts Quote
•
Jan 16, 2012 13:09
•
0 likes
•
 Always with the very helpful and relevant posts........Thank you......... Christopher Sampson http://www.getglobalexposure.com |
Nathan Paton
•
SuperModerator
•
6972 posts Quote
•
Jan 16, 2012 13:21
•
0 likes
•
 Would you like to install the Be boot manager? Volunteer SuperModerator. I'm not tech support. |
SkyForum
•
Premium
•
2498 posts Quote
•
Jan 16, 2012 13:22
•
0 likes
•
 Credit should go where credit is due. I always save fixes to a text file on my desktop. Sometimes, I neglect to get the name of the person that presented it. I found the original post, it is here. I had to apply this fix way back in 7.04 and still have to use it today.
http://www.boonex.com/forums/topic/D7-0-4-Remember-Me-issue-.htm My site has banner ads here! |
AlexT
•
Administrator
•
1869 posts Quote
•
Jan 16, 2012 19:50
•
1 likes
•
 Finally, I was able to reproduce the problem - it happens only when admin tries to login.
Fixed - r15884 Rules: http://www.boonex.com/unity/txt/terms |
prolaznik
•
Advanced
•
1693 posts Quote
•
Jan 16, 2012 19:56
•
0 likes
•

Finally, I was able to reproduce the problem - it happens only when admin tries to login.
Fixed - r15884
so you are saying it works but it doesn't remember the admin account ?.. in that case i don't care about admin lol. |
AlexT
•
Administrator
•
1869 posts Quote
•
Jan 16, 2012 19:58
•
1 likes
•

Finally, I was able to reproduce the problem - it happens only when admin tries to login.
Fixed - r15884
so you are saying it works but it doesn't remember the admin account ?.. in that case i don't care about admin lol.
Yes, exactly. Rules: http://www.boonex.com/unity/txt/terms |
SkyForum
•
Premium
•
2498 posts Quote
•
Jan 17, 2012 13:10
•
0 likes
•
 LOL.
I don't mean to laff but that's just funny. Thanks for the fix Alex. My site has banner ads here! |