spockers
Forum Replies Created
-
@ podictionary…
Yes, the code change above will get wiped out on updates, I had to hunt this thread again because I got a notice that there’s an update to the plugin and I like to stay current. I second your (and NerdSpawn’s) plea about the plugin not counting admin users. I’m sure someone out there knows how to do this — it’s surely trivial, so please, someone, jump in!Thanks, JBrinx, that makes more sense, and works for me.
OK I think I found it. Go to line 85 in stats.php (I’m using CuteFTP, other editors may differ on line numbering). It should look like this:
if ( !empty($current_user->ID) || empty($options[‘blog_id’]) )
Remove the ! before empty, so it looks like this:
if ( empty($current_user->ID) || empty($options[‘blog_id’]) )
So far it seems to be working. Let me know if it works for you.
Ditto. My blog is about my 2-yr-old son, and is for family and friends. Everyone must register to post, so having only anon users’ stats isn’t very useful. I would think this would be a trivial change, so I’ll see if my limited programming skillz are up to it. If I figure it out, I’ll post a solution here.
Thanks