Support » Plugin: WP-Matomo (WP-Piwik) » Feature Request: Multisite – display to certain user roles

  • Resolved masonjames


    We’re using this on a multisite where by default, new sites are created and the default role is ‘editor’. It would be cool to define this as a Super Admin so that you can choose which roles see the stats and which do not.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Also, tried deleting global options and re-activating the plugin, but the table wasn’t recreated in the database.

    I’ve tried changing the values in the plugin as well, but can’t seem to get what I want (which is editors and above being able to view the site stats).


    Plugin Author braekling


    Are you using the plugin in the plugin’s multisite mode? Have a look at line 295 and change the hardcoded role name (default: “administrator”).

    Ah, thanks Braekling! That did it. I was making changes in the wrong location.

    I’d still put in a feature request that this be definable through the WordPress Admin for Super Admins so that the plugin can be updated – but thank you. This absolutely works perfectly for me right now 🙂

    I just found myself in the exact same position. This post just saved me hours of work – thank you!

    One more vote for the ability to define that in the admin menu.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Feature Request: Multisite – display to certain user roles’ is closed to new replies.