I am currently trying to create a Who's Online and Who's New block using views that also shows the users avatar (if they have one). I have tried it like this http://drupal.org/node/679410 and no matter what I do it does not match the default Who's Online or Who's New block that is included with drupal 6. What is happening is when I go into the view as soon as I click the items to display and change that number from the default to 6 it repeats the admin user 6 times for both new and online users. What I want to do is also include items from the content_profile module so I believe I would have to do this as a node and not user (for this wouldn't be available for user). But at this point that is a ways off for it not even displaying proper information right for me to be able to even attempt to change it from user to node. Also when I view this with firefox images show up fine but they don't show up in IE, Google chrome or Safari.
By krazykanuk on
Comments
Who's online
Maybe this will help, as I have been trying to do this also, but only for who's online now.
I created a new view (node)
And added fields:
User name
User photo (enabled in user profiles)
Private message link (from privatemsg.module) This could be contact or whatever.
Add filters:
User: name. NOT anonymous or administrator (This could be user: type or whatever)
User: last access. settings: Operator= is greater than or equal to. Time offset= -5 minutes
Last access may not give the best status for who's online, but its the best suggestion I could find.
Thats it!
You could use the filter for User: created date. to display new users.