TAV1702 Posted October 22, 2009 Report Share Posted October 22, 2009 I do not think this is working yet correct? Have logged in many times, and it never shows a number of users recently online. it always says 0. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 22, 2009 Administrators Report Share Posted October 22, 2009 Hmm, right now it only tracks users who clicked "Remember Me", I have to fix it so it tracks both Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 22, 2009 Author Report Share Posted October 22, 2009 Oh ok that's cool. Am giving the Beta a good ol fashioned test run and that's jut one of the minor things I noticed. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 22, 2009 Administrators Report Share Posted October 22, 2009 Thanks alot man, appreciate it Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 22, 2009 Author Report Share Posted October 22, 2009 No probs. Any time Quote Link to comment Share on other sites More sharing options...
G-NEWC Posted October 24, 2009 Report Share Posted October 24, 2009 Sorry if i've missed something, but where do i get the relevant code for displaying the users online while using the beta? James Quote Link to comment Share on other sites More sharing options...
G-NEWC Posted October 24, 2009 Report Share Posted October 24, 2009 Also on the beta, i try to unclick "enabled" on the one of the schedules to remove it from the list, and after pressing submit nothing happens. It stays enabled. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 24, 2009 Author Report Share Posted October 24, 2009 Sorry if i've missed something, but where do i get the relevant code for displaying the users online while using the beta? James If you have installed the beta version, it is default in the templates. It should show on the home page automatically under new pilots on right side. Currently, when you login, you must click the remember me box for it to save your session and show current user online in last 20 minutes. While on this topic, is there any way we can change this to show number of users online in the last 24 hours instead of 20 minutes? Quote Link to comment Share on other sites More sharing options...
G-NEWC Posted October 24, 2009 Report Share Posted October 24, 2009 Alot of my templates are in the lib/skins folder as they have been edited, therefore some don't get updated automatically on updating. Thats the issue...i can't seem to find the code required. Thanks for the help, though. James Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted October 24, 2009 Administrators Report Share Posted October 24, 2009 It would be: $pilots = StatsData::UsersOnline(); foreach($pilots as $pilot) { } Check out the default frontpage_main.tpl file, quick example in there. To change the online time, change the USERS_ONLINE_TIME setting in local.config, though I will change the function to also accept a time parameter. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted October 25, 2009 Author Report Share Posted October 25, 2009 Alot of my templates are in the lib/skins folder as they have been edited, therefore some don't get updated automatically on updating. Thats the issue...i can't seem to find the code required. Thanks for the help, though. James Sorry about that James. I guess it would have helped if I would have asked that or contemplated it. And thanks for that tip on the time Nabeel. Much appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.