How to show users Online and with Photos filter on views want a view that will have this functionality:

https://www.thaifriendly.com/browse.php

There is a radio box to see users that are:


Online
With Photos


I have played with views but can't find a way to make it work, the current_user field works, but it only displays the user that is logged in at the moment, not ALL logged in users

There is not current_user filed in sort either.

Thanks,
Bruno
You can achieve that by using the User Stats module 


  Provides commonly requested user statistics for themers, IP address tracking and Views integration. 
  
  Statistics are:
  
  days registered; join date; days since
  last login; days since last post; post count;
  login count; user online/offline; IP
  address;