Drupal user online status extra field on user view mode
Drupal user online status Views field
Drupal user online status settings
Drupal user online status user page
Drupal user online status View display

This module provides an extra field for the user entity and a Views field to display user online statuses. Online, offline and absent. You can configure the time delay between status changes and define your own custom online, offline and absent CSS classes.

This module was created as an answer to a related question on Drupal Answers. Main problem with displaying the online status is caching.

The User Online Status solves this by exposing an uncached endpoint from where the user online statuses get fetched via Ajax and then printing the information on the page via JavaScript. This works with full caching enabled.

Similar modules

User Status Online also provides an extra field and a Views field. Instead of Ajax it uses cache tags and disables the current page's cache to display up-to-date online statuses.

Project information

Releases