WordPress.org

Ready to get started?Download WordPress

Forums

Nav Menu Roles
[resolved] Customized roles (20 posts)

  1. danicasati
    Member
    Posted 11 months ago #

    Is this plugin compatible with customized roles?

    http://wordpress.org/extend/plugins/nav-menu-roles/

  2. helgatheviking
    Member
    Plugin Author

    Posted 11 months ago #

    I am not familiar with the Customized Roles plugin so I couldn't tell you. There's no way for me to test my plugin against every other plugin in the repo. As long as Customized roles does not have its own custom Walker for the nav menus admin section then it ought to work. The only way to know for sure is to install it and see.

  3. danicasati
    Member
    Posted 11 months ago #

    It's not a plugin!
    I mean that if I create a customized role, for example, "RETAIL", so I need to display this role on Nav Menu options.

  4. helgatheviking
    Member
    Plugin Author

    Posted 11 months ago #

    Oh sorry, rough day. The plugin loops through the $wp_roles variable, so any properly registered role should show up as an option.

  5. danicasati
    Member
    Posted 11 months ago #

    Thank you very much for support, I'll try inmediately.
    It would be a good idea to update your features in repository, because of many similar plugins with no customized rules support.

  6. helgatheviking
    Member
    Plugin Author

    Posted 11 months ago #

    As far as I know there aren't other similar plugins. My description is "Hide custom menu items based on user roles" I'd be open to suggestions on how to make it any clearer than that.

  7. danicasati
    Member
    Posted 11 months ago #

    I found some similar plugins, but not with this feature, for example:
    - IF MENU

  8. helgatheviking
    Member
    Plugin Author

    Posted 11 months ago #

    Didn't know that existed. Still, I feel like I'm pretty upfront about my plugin's main feature being that is depends on user roles. I don't know what else to add.

  9. danicasati
    Member
    Posted 11 months ago #

    It's ok.
    Your plugin works perfectly with customized roles.
    Thanks.

  10. helgatheviking
    Member
    Plugin Author

    Posted 11 months ago #

    I just noticed that you posted in the IF menu forum weeks ago before finally finding my plugin. Could you provide any insight into how you were searching / what search terms you were using?

  11. danicasati
    Member
    Posted 11 months ago #

    I could not perform search, because I known IF MENU plugin.
    It would be good to add to NAV MENU ROLES some conditional features like other plugin.

  12. helgatheviking
    Member
    Plugin Author

    Posted 11 months ago #

    Maybe, but I will probably keep it simple. It does 1 thing, but hopefully does that one thing correctly.

  13. imclaudia
    Member
    Posted 7 months ago #

    Hi! I am using your menu and loving it...except that Its not really working with my setup. I created a menu that is only suppoed to show by Role (Customer) but it shows up to every role. I am using the latest version: 1.3.4 and WordPress 3.6. My theme is Twenty Thirteen. Any suggestions??

    Thanks!

    Claudia

  14. helgatheviking
    Member
    Plugin Author

    Posted 7 months ago #

    @imclaudia, your question would probably be better served in it's own thread. My plugin does not conditionally show the entire menu... it only conditionally displays individual elements.

  15. imclaudia
    Member
    Posted 7 months ago #

    Hi Helga, I understand that, but it is not working. I have in one menu 3 items. One for anyone and 2 for role Customer only. They all show. I need 2 of them to only show to users I assigned as Customer. I thought that was the way it worked?

    I love it otherwise :-)

    Thanks

  16. helgatheviking
    Member
    Plugin Author

    Posted 7 months ago #

    It shows up to any user that has at least the capabilities of that role. For example if you select "By role-> Customer", an Administrator will still be able to see that item because she also has the "customer" capability in addition to admin capabilities.

  17. imclaudia
    Member
    Posted 7 months ago #

    Yes I understand but it is not working. It is showing to Admin, Customer, Subscribers and all other roles.

    I need to show only to Admin and Customer. Not subscriber. I have tried creating accounts with different roles, and still they all show.

    Thanks for your help. I have added another plugin to secure and prevent menu to show. But I wanted you to know that the Role assignment is not working.

  18. helgatheviking
    Member
    Plugin Author

    Posted 7 months ago #

    I'm sorry, but I cannot reproduce this problem.

    If I assign a menu item to "Display Mode" as "by role" and then check " Admin" and "Customer" under "Access Role", logged out or logged in as a "Subscriber" that menu item doesn't appear.

  19. whitelies
    Member
    Posted 7 months ago #

    The display mode for logged out and logged in users are not working.

    It shows up even when the user is not even logged in.

  20. helgatheviking
    Member
    Plugin Author

    Posted 7 months ago #

    @Whitelies - please open a new thread and explain exactly what your settings are (A screenshot would help). When I select 'Logged in' users, the item doesn't show to logged out users... and the inverse is also true, which is exactly as expected so I cannot reproduce this problem without more information.

Reply

You must log in to post.

About this Plugin

About this Topic