Title: Admin Online
Last modified: August 18, 2016

---

# Admin Online

 *  [mitron](https://wordpress.org/support/users/mitron/)
 * (@mitron)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/admin-online/)
 * Hello,
 * I’ve been attempting to create a hack that shows when the admin is online/offline
   on each page of the blog. My first approach was to use the user_status field 
   in wp_users table, but then I found out this is not set when the user logs on.
   Why wouldn’t that be set to 1 after they log in?
 * Then I was going to use the get_currentuserinfo() function, but what happens 
   when there are more than one user online? Does it just show the user his/her 
   information or will it also show everyone who is logged on and how would we distinguish
   between the users using that function?
 * My next approach was to use the existing WP_UsersOnline plugin, but that shows
   everyone who is online, not just the admin and I don’t see where I can distinguish
   between specific users in that script.
 * Any help here would be appreciated. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [mitron](https://wordpress.org/support/users/mitron/)
 * (@mitron)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/admin-online/#post-381790)
 * Hmm, no one has a clue on this one?
 *  [smallmoskito](https://wordpress.org/support/users/smallmoskito/)
 * (@smallmoskito)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/admin-online/#post-381791)
 * yah, i am interested to know about this too… anyone can shed some light?
 *  Thread Starter [mitron](https://wordpress.org/support/users/mitron/)
 * (@mitron)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/admin-online/#post-381844)
 * Alright, since no one whats to support this thing I guess I’ll just hack away
   at it until I figure something out. Hang in there smallmoskito, it may take me
   some time but I’ll figure it out one way or another. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Admin Online’ is closed to new replies.

## Tags

 * [online](https://wordpress.org/support/topic-tag/online/)

 * 3 replies
 * 2 participants
 * Last reply from: [mitron](https://wordpress.org/support/users/mitron/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/admin-online/#post-381844)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
