Hello

I have turn off the 'Track IP addresses' in the user states setting page. but still there is a 'IP addresses' tab showing in the user account page. how can I remove this tab please ?

Thanks

Comments

Liam McDermott’s picture

Title: Why 'IP addresses' tab showing in the user account page ? » 'IP addresses' tab showing in the user account page even when 'Track IP addresses' disabled?
Category: support » bug

It's a View, so you should go to Administer -> Site building -> Views then disable user_stats_ips_by_user and user_stats_users_by_ip. If the menu item still appears try clearing the site cache before commenting here again.

Am changing this to a bug, since the View should be disabled when you switch off IP address tracking.

Liam McDermott’s picture

Title: 'IP addresses' tab showing in the user account page even when 'Track IP addresses' disabled? » 'IP addresses' tab showing in the user account page even when 'Track IP addresses' disabled
igorik’s picture

Hi

This tab would be shown only to people with appropriate mermissions, when I turn off all permissions for this module, still ALL my users, and anonymous can see this tab and what is worse they have access to data inside this tab.

This module looks promising, but I bcause this bug had to replace with Troll module. It works similar, with tab "Troll track" but it is shown correctly only roles with appropriate permissons.

thanks
igor

Liam McDermott’s picture

This tab would be shown only to people with appropriate mermissions, when I turn off all permissions for this module, still ALL my users, and anonymous can see this tab and what is worse they have access to data inside this tab.

This is not an issue relating to permissions, the problem here is the admin unchecks the 'Track IP Addresses' checkbox on the module configuration page but this tab is still visible.

I can't reproduce your problem either, with the last stable version of User Stats (1.0-RC1). The permissions check is definitely there and working, you can see for yourself in the Views file: views/user_stats.views_default.inc.

Since User Stats is working correctly by default, something must have gone screwy on your installation, my suggestion is to disable, uninstall then delete the User Stats files. Then go to Administer > Site building > Views and delete user_stats_ips_by_user and user_stats_users_by_ip (plus any other user_stats views you can find). If there aren't any Views to delete, then that should be fine.

Once you've deleted User Stats and any Views, get a fresh copy and install it. Hopefully that will have fixed the issue. If not, please open a new support request as we're both hijacking this unrelated bug report at the moment. :)

marko3’s picture

Issue summary: View changes

@Liam McDermott
Deleting the views and flushing cache solved my problem. Withouth needing to reinstall the module. Cheers man