Closed (fixed)
Project:
Visitors (Web Analytics)
Version:
6.x-0.11
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
20 Apr 2009 at 15:01 UTC
Updated:
14 Apr 2014 at 13:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dmitriy.trt commentedHere is new patch with more modifications: added statistics about pages and hosts to block:
Everything can be disabled.
Also deleted description from some settings, and deleted call to drupal_bootstrap in visitors_exit().
New patch includes previous.
Sorry for bad English, again. Please, check strings.
Comment #2
gashev commentedexclude_root_user.diff:
if ($user->uid == '1' && variable_get('visitors_exclude_root_user', 1)
Root user always with uid = 1? I don't know.
patch2.diff:
I don't want to add more functionality to visitors_exit function. Visitors_exit function - very fast, only log current user info. No more.
Comment #3
gashev commentedvisitors_exclude_administer_user feature added to next release.
Different from visitors_exclude_root_user: checking user_access('administer').
Comment #4
gashev commentedComment #5
gashev commentedVisitors 6.x-0.12, 2009-04-25
------------------------
- Changed:
* feature request #439254: Exclude administer users from statistics.
Comment #6
dmitriy.trt commentedRoot user always has uid==1. See http://api.drupal.org/api/function/user_access/6
Comment #7
gashev commentedCheck plz visitors_exclude_administer_user (6.x-0.13) (is the same of visitors_exclude_root_user).
Comment #8
dmitriy.trt commentedpatch2 doesn't add more code to visitors_exit. All additional code is for block which displays statistics and for settings page.
Sorry for reply after 3 months, but I still need features added by patch2. Of course, I'm using modified version of your module, but it would be great to see this features in upstream.
Comment #9
gashev commented