2012-04-25, 02:00 PM
So I am redesigning my user profile and I've encountered something.
Basically, the "last visit" information is only useful if the user is offline. If the user is online, obviously their last visit is whatever page they are currently on. I want to do two things:
1. Show the "last visit" information only if the user is currently offline.
2. Show it next to "X is offline."
Can anyone provide guidance on how to accomplish this?
Basically, the "last visit" information is only useful if the user is offline. If the user is online, obviously their last visit is whatever page they are currently on. I want to do two things:
1. Show the "last visit" information only if the user is currently offline.
2. Show it next to "X is offline."
Can anyone provide guidance on how to accomplish this?