New users cannot see IP addresses in live plugin

I added a couple of new users – one an admin and the other a “normal” user. They can’t see IP addresses in the Live plugin, but I can (as the site admin). Is this restricted somewhere? If it is, can I change it? Thank you.

This isn’t currently configureable. If you change it, you’ll have to remember to re-apply your patch when Piwik is next updated.

plugins/Live/API.php - the cleanVisitorDetails() function blanks the cookie & ip if the user isn’t the super user

[quote=vipsoft @ Oct 20 2010, 05:57 PM]This isn’t currently configureable. If you change it, you’ll have to remember to re-apply your patch when Piwik is next updated.

plugins/Live/API.php - the cleanVisitorDetails() function blanks the cookie & ip if the user isn’t the super user[/quote]

Thanks – I commented out lines 327, 328:

            //$toUnset[] = 'visitor_idcookie';
            //$toUnset[] = 'location_ip';

That should do it for now…I’ll try to remember for when I upgrade style_emoticons/<#EMO_DIR#>/smile.gif

Edit: In Piwik v.1.2, this is different. Change lines 363 and 364:

			//$toUnset[] = 'idvisitor';
			//$toUnset[] = 'location_ip';

Edit: in Piwik v.1.3, you will need to comment out lines 379 and 380.