Active
Project:
User Stats
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2010 at 02:54 UTC
Updated:
20 Jan 2011 at 09:51 UTC
I am using:
Login count: print user_stats_get_stats('login_count', $user->uid);
In a php enabled node and it prints 0. I am using this wrong or is it a bug?
Comments
Comment #1
liam mcdermott commentedThis isn't a well implemented feature, to be frank. It counts a login only when someone who is logged-out arrives at the site and uses the login form.
I'm assuming you're trying this on a test site, so I may be wrong, but, the likelihood is that you logged in with your admin user, installed User Stats, then created your node. Since User Stats can't retrospectively find log in counts it reported zero.
If you feel like having a stab at a better version of this feature, please do. I'll be really happy (and I'll try to help out).
Comment #2
chuckbar77 commentedI was wondering if you had any progress on this feature fix? Thank you
Comment #3
adit234 commentedsame in here....