Module provides View field to views and Pseudo field to display user online status
This module provide a status based on strategy pattern and default display three different strategy:
if user is online then display: online status
if user is offline then display: offline status
if user is only absent then display: absent status
You can easily add new own strategy created a new php class but I am going to move that functionality to admin ui.
All functionality is based on oop pattern so you can easily use that code somewhere in your module.