Mark F Posted January 10, 2009 Posted January 10, 2009 Hello everyone, I know that there are already about 50 'users online' scripts on the website, though I have yet to see one that shows all of the games users ordered by the time that they were last online. (from most recent all the way down to least recent) I know that this is a n00bish question to ask, though any help would be appreiated. Quote
Lithium Posted January 10, 2009 Posted January 10, 2009 Re: [REQUEST] Users Online hmmm that is a simple change on the usersonline sql statement... $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp()-15*60 ORDER BY laston DESC"); <- default usersonline $q=$db->query("SELECT * FROM users WHERE laston>unix_timestamp() ORDER BY laston DESC"); <- shows all Quote
Tonka Posted January 10, 2009 Posted January 10, 2009 Re: [REQUEST] Users Online an ajax usersonline that does what you want http://criminalexistence.com/ceforums/index.php?topic=20908.0 Quote
Mark F Posted January 11, 2009 Author Posted January 11, 2009 Re: [REQUEST] Users Online Thanks guys. Quote
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.