News:

Join the Facebook Fan Page.

Main Menu

Current status

Started by minibeast198, August 21, 2010, 02:56:22 PM

Previous topic - Next topic

minibeast198

Is there a way to check the current status of a user (like if you go to a profile and it tells you that user is online)? I have my own page where I display pictures of all the staff that I want to put a little "online" tag over if that staff member is logged in.

JimM

You should be able to check:

if ($context['user']['is_logged']

and then display whatever you want to indicate they are online.
Jim "JimM" Moore
Former Support Specialist

minibeast198

How do I tell it which user to refer to?

Advertisement: