Thank you for the reply, but I already understood and knew how to do this with 2 lists. What I am looking for is a way to do it in one list, which I know isn't possible at this time.
The real goal of my post was to suggest the incorporation of a new field (i.e. is_online) in the user database table that tracks each user's online status as they log on and off. The field would just be a flipped bit that you could then sort against.
The only caveat then would users that close their browser without logging out. This would cause a misrepresentation in the user list. It actually appears that the current method of determining online status suffers from this as well.
However, this could possibly be accounted for by simply checking the session time and updating the proposed "is_online" field of the database if "Online Status" is an item included in the list. This update would obviously occur prior to the query to grab/display the user list. Of course, their may be no way to account for this condition, and a simply sticky bit field in the DB would be sufficient.
Just my thoughts. As I said, more of an enhancement consideration at this point. Not really expecting guidance on hacking the core system. I know that this kind of enhancement won't be introduced unless enough users express an interest in it (typical software development supply and demand), so perhaps this thread could act as a user petition for such an enhancement.
Post edited by: SAlexson, at: 2010/11/09 01:01
Post edited by: SAlexson, at: 2010/11/09 01:02