I have a User View that is trying to replicate the 'who's online' block. It currently has 3 filters:

  • A custom user_profile field (Must be False)
  • User: Active (Yes)
  • User: Current (Yes)

For some reason the filter works on when using the first two but when I introduce the User: Current filter it filters the entire view by the active user.

What I need to do is be able to filter the view by all current logged in users.

  • Active user simply means if they are blocked or not, it doesn't determine if they are online or offline. Oct 23 '12 at 14:39
  • Any ideas how to filter by online/offline?
    – dwarren
    Oct 23 '12 at 14:41
  • 'User: Current' is the person that views the view. In other words, if Peter views the view, only Peter will be listed.
    – deinqwertz
    Oct 23 '12 at 19:49
  • 3
    You could try to achieve it by adding a User: Last access filter and setting it to -2 minutes or so.
    – deinqwertz
    Oct 23 '12 at 19:51

please check the dev version for drupal 7

Provides commonly requested user statistics for themers, IP address tracking and Views integration. Statistics include if the user is on or offline.



Please refer User Stats module. Once you install this module, you will get an option online user as filter. That's It.

  • Sorry it is User stats module
    – Mehul Shah
    Jul 21 '15 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.