Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By Bruno Vincent on
I am using a view to show what users of the website or Online or Offline.
I am using user:online field and global PHP field combination with views PHP
Everthing works perfectly.
However, when a user logs off, they remain online forever, they don't show as offline.
The code is use for global PHP is:
<?php print_r ($row->login); ?>
I hope my explanation is clear enough...