Needs review
Project:
User Stats
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2009 at 19:01 UTC
Updated:
30 Nov 2011 at 09:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
cerup commentedFor anyone else that's having this issue, I found that in order to filter a view by "is: online" you also have to filter "is: Active = yes." Without setting the active filter, this seems to only return non active users.
Comment #3
vinoth.3v commentedfor me too,
I added the isonline field in fields section of the view. But i am getting unexpected Behavior.
Thanks
Comment #4
neurovation.kiwi commentedHiho,
well, the filter does always filter for online users, disregarding if it is set to online or offline.
attached is a patch that fixes that issue.
cu
kiwi
Comment #5
thomasgm commentedWOW, it worked now, my filter is complete :) thanks neurovation.kiwi
Comment #6
thomasgm commentedThank you god of drupal :D
Comment #7
Gabriel R. commentedWorks well, should be rolled in.
Comment #8
neurovation.kiwi commentedwell - than change the status ;)
Comment #9
delphium commentedGreetings, this issue appears to have risen again, it did used to work, but does no longer since some recent required module updates.
When I am in the views editor I may apply the "User:Is Online" field and filter, unfortunately it beleives that all users are offline all the time, made evident when printing out the field and it prints "Offline" next to all users and shows blank if the filter is set to as "Online".
Using the latest 6.x-1.x-dev release from 2011-Oct-18 of user_stats along with Views 6.x-2.16.
Any help would be greatly appreciated.
EDIT:- It appears that memcache was having an effect with the user sessions that I was not fully expecting, causing this to no longer function.
Thanks
Delph.
Comment #10
neurovation.kiwi commentednot sure if this is a problem of userstats, since it does not create any data, but only checks with the value in the db: user.access.
please check the values in the users table, i guess, the acces value is older than 900 secs in each user entry.
if my assumption is true, than neither views nor user_stats has an issue, and you have to look up why the user.access information is not updated properly.
cu
kiwi