Hi,

There are always 'View' and 'Track' tabs when a node is displayed to my registered users and anonymous visitors. I hope to remove 'track' for all visitors expect for myself (admin). I can not see anything about this in 'permission' setting. Anyone can tell me how to do this? THanks.

-Derek

Comments

Shai’s picture

Hi Derek,

1. Turn off the Tracker module.

2. Create a view using the Views module that has admin permission only. Create an exposed filter to select the user, and then you create the view to pull a list of comments, nodes, whatever you want. Maybe even put it in a block. This functionality easily imitates the Tracker.

It is curious why core doesn't have any permissions set up for Tracker module at all. They were probably trying to be lean and mean, since most people wouldn't use those configurations.

Best,

Shai

content2zero.com

cwisniewski’s picture

Followed the instructions above, did everything by book and for some reason, even after going further and deleting the tracker directory, I still have a tab to track. I am about to start manually tearing apart some code here to fix, will post if I have any findings and anyone has a similar issue.

Best Regards and a huge kudos to anyone who can help,

Charles

HANIAK’s picture

I have the reverse problem, ahah!
Did you find out how to deactivate the tab, so I can activate it??

francewhoa’s picture

Navigate to Administer > Site building > Modules. Deactivate the TRACKER module. That will hide the TRACK tab.

Loving back your Drupal community result in multiple benefits for you  
mehlbye’s picture

..::
On the user permission page find the statistics module.
Uncheck the "view statistics" for the relevant roles.

That should turn of the "track"-tab, and on pages with no other tabs also the "view"-tab (since it's the only other option.

Chris::..

socrates.awmn’s picture

Thanks it worked for me! Track tab does not appear any more!

dugh’s picture

In drupal 6, there is no 'view statistics' permission.

There is an 'access statistics' permission, but I already had it set that only administrators had that set, no one else, yet I still see the Track tab on user's homepages.

I want to show it if anyone is logged in, but hide it if not.

tobias’s picture

I am also interested in hiding the track tab on user pages for folks that are not logged in. any help appreciated.

-t

jwuk’s picture

I'm hoping to see progress on this because I have a user who is complaining this invades his privacy if other normal users can see tracking. Can't say I feel he has a serious point, but I'm surprised this doesn't appear to be configurable. Is this submitted as an issue?

gaellafond’s picture

The view is a good workaround, but it do not render exactly the same output.

I made a patch for Drupal 6 Tracker module that add a 'access tracker' and a 'access own tracker' permission in the permissions page. You can check them for the user groups you want.

Drupal 6 patch:
http://drupal.org/node/762962
There is also a patch available for Drupal 5:
http://drupal.org/node/510802

Gael

lias’s picture

I will see how it works out in both my installs of drup 5 and 6.

anybody’s picture

Some more information and possible solutions can be found here:
http://julian.pustkuchen.com/en/linktipps/linktipp-drupal-hide-track-pag...

http://www.DROWL.de || Professionelle Drupal Lösungen aus Ostwestfalen-Lippe (OWL)
http://www.webks.de || webks: websolutions kept simple - Webbasierte Lösungen die einfach überzeugen!
http://www.drupal-theming.com || Individuelle Responsive Themes