Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 31 Jul 2011, 09:32
evouga evouga is offline
 
Join Date: Jul 2011
"Remember me" unchecked -> users logged out after playing game, scores not saved

Hey everyone,

If a user tries to play a game in my arcade (using vB 4.1.5) after logging in without "remember me," they are logged out as soon as they start playing a game, and upon finishing the game their scores aren't saved.

The logout occurs regardless of how the user leaves the game page (for instance beating the game, or clicking on the "Arcade" nav link.)

I've tried Hippy's holdsession.php fix and it did not work.

Has anybody else had this problem? Is there a known fix? How would I go about debugging this issue?

Thanks.

EDIT: Extra info: "Play in new window" also immediately logs users out. They can click "play in new window," *immediately* close that window, refresh the arcade page, and they're logged out. So the problem doesn't appear to be in holdsession.php.

Last edited by evouga; 31 Jul 2011 at 10:09.
Reply With Quote
Comments
  #2  
Old 01 Aug 2011, 21:54
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
holdsession.php fix stopped working .

I found it to just be easier to make all the check boxes checked by default..

example in the screen shot below you'll see the templates to edit
search templates for
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

here is a example of the code your looking for


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


add checked="checked" where you see it here


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

*note

the code might be a litte different in each template so just search for the rawphrase remember_me and add the checked="checked"

right before /> {vb:rawphrase remember_me}

this will have the remember me checked default..

hope it helps you
Attached Images
File Type: jpg templates-to-edit.jpg (7.6 KB, 35 views)
Reply With Quote
  #3  
Old 10 Sep 2011, 06:20
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
do you do it on them all or just the header
Reply With Quote
  #4  
Old 10 Sep 2011, 13:02
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
personally.. I do them all
Reply With Quote
  #5  
Old 10 Sep 2011, 14:12
ForceHSS's Avatar
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
thanks works well
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 08:22.

Layout Options | Width: Wide Color: