MyBB Community Forums

Full Version: Online status
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Where is the user online status stored in MySQL?

I want to check if a user is logged on or off in a script.

Ideally I'd like to check if a username is in an array of logged in users.

if (in_array ($user, $array_of_loggedin_users)) {

do this;

}

The following is not what I'm after: $mybb->user['uid'] or $mybb->user['username'] only returns the user id or username for the user currently visiting the page.
You already have a thread for this. Please continue it there.

http://community.mybb.com/thread-121616.html