Closed (fixed)
Project:
Counter
Version:
6.x-2.0
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2009 at 17:57 UTC
Updated:
27 Nov 2009 at 18:14 UTC
The value of $ total should be:
$total = $data->total - $counter_skip_admin;
and the correct form of discounter should not be this?:
$ counter_skip_admin = variable_get ( 'counter_skip_admin', 1);
I think this because when I activate the checkbox to ignore the value of the manager shows me the same amount of users.
Comments
Comment #1
drupalnesia commented$counter_skip_admin is a param to skip admin visit. Example: if your counter is 500 then admin (uid=1) login then open 10 pages then the Counter value still 500 if you checked "skip admin" otherwise 510.
Comment #2
dvasquez commentedThank you,
I thought that this remained the administrator user module to the meter of site users. Ie. if I have 401 members on the site show me: 401 - admin = 400 users.
Is this module can do that too?
Maybe the admin should not be counted because the person giving is not part of the community, or perhaps have another account with real data.
Comment #3
drupalnesia commentedYes, just set:
1. Go to Administer - Site Builing - Counter settings
2. Look at "Advanced settings" section
3. Set "Skip Admin = TRUE"
Above steps will ignore admin visit, so you will have more real data counting.
Comment #4
drupalnesia commentedFixed.