• Hi, first of all, great plug in, super user friendly.

    I just wanted to request that you consider activating the plug in for all user roles. Many member plug ins require that the wp header be present in order to adjust profile settings, etc. Which means once someone logs in to my site they see its a wp site and gets all sort of wp links, and that simply isn’t what I want. I want to be able to give them a custom toolbar.

    Had your plug in worked on all user types it would have been more then perfect!
    Please consider adding that function.

    Thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Decker


    Thank you very much for your feedback and ideas! I really appreciate that 🙂

    Enabling the plugin for other user rules is already possible as there is already a filter for that (see this link for code snippet: https://toolbarextras.com/docs/change-global-capability-for-toolbar-items-of-toolbar-extras/ ). With this you can set another capability and so also other user roles. However, then most likely you will have the problem that user roles with fewer permissions than admins will see nothing at all or very few additional items in the toolbar. The reason for this simple: the plugins and themes my plugin supports just require those admin permissions for almost all of their links. Even when I enable them for Editors, Authors etc. those users will get a permission error once clicking on them…
    Adding additional permission conditions in the code of my plugin would bloat the codebase heavily and require A LOT more maintenance. It makes no sense at all.

    However, this all said, what I want to do in future versions of the plugin anyways is this: add a new tab on my settings page called “Tools” – this will allow to disable and/or enable the toolbar for any user role — completely independent from the items my plugin adds (similar to many other plugins regarding the toolbar). Just an option to decide which user/user role can see/use the toolbar at all.

    To better understand this whole thing and your special need I have these further questions:
    – With which members/membership plugin are you working?
    – Do they need the toolbar in frontend AND the admin or only one of those?
    – How do you add your custom items to the toolbar – via code, or do you want that via a WP nav menu or any other?

    This will help understand your use case better and make a better decision. Please feel free to give as many details as possible.

    Thank you!

    Oh wow I tried a lot of different plugins, buddypress, youzer, I honestly don’t remember all the plugins that required me to use the toolbar. As it turns out there’s a way to work around that in some cases, but generally speaking the need for a wp toolbar customizer was very much there. What I liked about your plugin was that a none-coder such as myself could use it, so the less code the better for me. As for better understanding the case, I think the best way to explain it would be with woocommerce vendors plugin. Vendor user role would require one menu (dashboard, add product, etc) while customers would see a more simplified menu. everyone would see the site’s logo instead of the wp logo, everyone would see the menu in a color that better compliments my theme, etc etc.. 🙂 hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘req: Not for admins only’ is closed to new replies.