Project:Counter
Version:6.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Is it possible to add the feature to bypass /admin/* to avoid admin functions from the hit counter?

Comments

#1

Also would like a feature to not count hits by certain user roles, such as the admin :P

#2

Hello! I'd also like this feature. Is it possible to realize it somehow?

Thanks a lot,

Chris

#3

@Jerry.Robinson:

Yes, it is possible. Just:
1. go to Administer- Site building - Blocks
2. Select "Counter" block - Configure
3. Choose "Show on every page except the listed pages" and enter: admin/*

With above setting Counter block will not show on any "admin/*" URL, so the hit will not counting too.

#4

ah good point, that would also work for roles and any visibility settings done with PHP :P

#5

Status:active» closed (fixed)

Solved.

#6

Hi,

Sorry I had to open this up again. I've also set all my blocks including the counter block to not show on forum/* ....does that mean it hasn't been counting the forum hits too? Is there any other way I can have the counter not count my (admin) hits.

Also is there a way to reset the counter...i've looked but can't find any info on this anywhere.

Cheers!

#7

Status:closed (fixed)» active

#8

  • In your case, Counter module will not count access to forum/* but forum hits store in another Drupal table. Mean, the forum hits still working.
  • "Is there any other way I can have the counter not count my (admin) hits" --> I will add this feature to 6.x-2.0
  • "Also is there a way to reset the counter" --> right now you can reset it by delete all row in "counter" table using PHPMyAdmin

#9

Status:active» closed (fixed)

Counter 6.x-2.0 available now!
Please create new forum thread for bug reporting or feature request.

Thanks to all contributions to this module.