bypass /admin/*

Jerry.Robinson - February 19, 2009 - 18:10
Project:Counter
Version:6.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

danielb - March 23, 2009 - 04:38

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

#2

Glowy - May 27, 2009 - 13:17

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

Thanks a lot,

Chris

#3

drupal-id.com - June 21, 2009 - 16:37

@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

danielb - June 21, 2009 - 23:19

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

#5

drupal-id.com - August 12, 2009 - 13:33
Status:active» closed

Solved.

#6

Drup-rider - August 27, 2009 - 01:16

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

Drup-rider - August 27, 2009 - 01:19
Status:closed» active

#8

drupal-id.com - September 1, 2009 - 07:39
  • 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

drupal-id.com - September 25, 2009 - 22:54
Status:active» closed

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.

 
 

Drupal is a registered trademark of Dries Buytaert.