• Resolved gnirsh

    (@gnirsh)


    For the slideshow gallery plugin, does anyone know if there’s a way to change the settings having to do with managing capabilities? Right now only admins can access and manage the slideshow, but I’d like editors to have this capability as well. Is this possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author cpres

    (@cpres)

    Hey gnirsh, I found a great answer for that question here: https://www.ads-software.com/support/topic/how-to-allow-non-admins-editors-authors-to-use-certain-wordpress-plugins

    Here’s the copy and paste:

    The minimum level required is usually hard-coded into the plugin.

    Open the main file of the plugin you want to change access rights for and search for ‘manage_options’. Chances are it will be in a function called either add_options_page(), add_submenu_page() or add_menu_page(). This basically means that the link to access the plugin will not be displayed to users who cannot ‘manage_options’.

    To allow Editors to access the plugin, change all occurances of ‘manage_options’ to ‘edit_pages’.
    To allow Authors to access the plugin, change to ‘publish_posts’.
    To allow Contributors to access the plugin, change to ‘edit_posts’.
    To allow Subscribers to access the plugin, change to ‘read’.

    Note though, that any change will be wiped out when you update the plugin in the future.

    For more information of Roles and Capabilities see the WordPress Codex.

    Plugin Author cpres

    (@cpres)

    To be more specific, the file you’ll want to edit is slideshow-gallery-pro.php in the function
    function admin_menu()

    Thread Starter gnirsh

    (@gnirsh)

    Thanks, that works perfectly!

    Plugin Author cpres

    (@cpres)

    So I just decided it makes more sense to allow Editors and Admins rights to Slideshow stuff so I’m making this a standard in the 1.4 release. People will have to use the follow to change it from Editors to only Administrators.

    (so feel free to upgrade to the new version)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Managing capabilities for other user levels in Slideshow Gallery?’ is closed to new replies.