Module Description
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.
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.
Module Link
Project Usage
259
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of displaying accurate user online statuses by providing an uncached endpoint for fetching statuses via Ajax and printing the information on the page using JavaScript, allowing for full caching to be enabled.
Data Name
user_online_status