info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- ihayredinov@ihayredinov

ihayredinov - 0 likes
- ihayredinov@ihayredinov

ihayredinov - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
You must log in to post replies.$users_online = get_online_users();
For a specific user you could use something like:
$time = time() - 600; // 600 seconds ago
if ($user->last_action >= $time) {
// user is assumed to be online
}
Search the plugin repo. Its already available.