statify icon indicating copy to clipboard operation
statify copied to clipboard

Add option on settings page to show stats for different roles

Open Zodiac1978 opened this issue 5 years ago • 8 comments

A filter is sometimes scary for beginners. Why not adding this as an option on the settings page? https://github.com/pluginkollektiv/statify/wiki/en-Hooks#statify__user_can_see_stats

Are there any reasons why this should not be done?

Zodiac1978 avatar Oct 02 '18 11:10 Zodiac1978

Can't see any point against that. Would not overload the dashboard Widget however, yet another point for adding a dedicated settings page.

stklcode avatar Oct 02 '18 14:10 stklcode

yet another point for adding a dedicated settings page.

People sometimes miss the configuration page at all (see: https://www.internetkurse-koeln.de/wordpress-statistik-statify-versus-google-analytics-und-co/ at the bottom "Nachtrag").

How about moving the whole setting for the dashboard widget/Statify to an own settings page?

As a fallback we could leave a link to the new settings page on the dashboard widget config page.

Zodiac1978 avatar Oct 03 '18 11:10 Zodiac1978

How about moving the whole setting for the dashboard widget/Statify to an own settings page?

Like so?

statify_106_screenshot2 statify_106_screenshot1

(not a mockup, fully funcitonal local fork)

stklcode avatar Oct 03 '18 11:10 stklcode

Wow. Just wow! 💯 🥇

Zodiac1978 avatar Oct 03 '18 11:10 Zodiac1978

What about using this UI for our settings:

Bildschirmfoto 2021-11-13 um 20 52 50

The list of user roles is, of course, dynamic and lists all registered user roles in the current WP install.

Zodiac1978 avatar Nov 13 '21 19:11 Zodiac1978

Anything new on this one? I have exactly this usecase not working at the moment and would have to escalate roles of my Editors to Admin.

RalfRoemling avatar Jul 21 '22 09:07 RalfRoemling

@RalfRoemling If you are comfortable to add some code (via functions.php, functionality plugin or code snippets plugin, you can use the code mentioned on the hook documentation: https://statify.pluginkollektiv.org/documentation/hooks/#user_can_see_stats

Zodiac1978 avatar Jul 21 '22 10:07 Zodiac1978

Yep, read that already in the older posts but a GUI solution would be more comfy and clearer in it's intention :-)

RalfRoemling avatar Jul 21 '22 10:07 RalfRoemling

Oh, just seen this. Will this make it into the next release? When can we expect it? Thanks for the work!

ghost avatar Mar 20 '23 22:03 ghost

Yep, absolutely great. Thx a lot for implementing! Much appreciated 👍

RalfRoemling avatar Mar 21 '23 09:03 RalfRoemling