Project:Statistics Advanced Settings
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I do like the improved stats this module gives the site. There are though two features that I believe would be very useful, especially for page counts.

  • Role Filtering - Be able to set what roles that shall not affect the counter, including UID #1
  • Own content - Option not to count up the users own content

Comments

#1

Added ignoring counter visits by role. I'm not going to implement a special case for uid #1 since it is an un-Drupal way to handle those.

#2

Title:Filter on roles and owner» Exclude counter visits by roles and owner

#3

It looks like this change only disabled access logging per role. The node counter still operates.

AttachmentSize
adstats_role_counter.patch 668 bytes

#4

How bizarre, my comment was truncated. The rest of it reads:

Attached is a simple patch to correct this. Also note that user_access() always returns TRUE for uid #1 in Drupal, so it may be worth implementing a special case.

#5

Status:active» fixed

Access log and node counter are two separate things. You can't put that in the check for excluding from the access log. There is already the 'exclude visits from counters' permission that should be used. Marking as fixed since this is all implemented.

#6

Version:6.x-1.4» 6.x-1.x-dev

I should note that this functionality is in the 6.x-1.x-dev version right now. I have yet to create a new release.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#8

Super awesome great. Looking forward to this ('exclude visits from counters.')

#9

I've installed the dev version of this module (6.x-1.x-dev) and I can't seem to find the option to disable hits by the admin account.

Am I missing something?

Thanks.