Forums

Advanced Access Manager
[resolved] Revolution slider plugin access privilages (6 posts)

  1. Mariusz
    Member
    Posted 2 months ago #

    Hi.
    In capabilites I cannot edit privilages to certain grups like: revolution slider plugin...
    How can I solve it?

    Regards
    Marius

    http://wordpress.org/extend/plugins/advanced-access-manager/

  2. Vasyl Martyniuk
    Member
    Plugin Author

    Posted 2 months ago #

    Hi Mariusz,
    I'm not sure what you mean. Can you be more specific what type of issue you have?

    Regards,
    Vasyl

  3. Mariusz
    Member
    Posted 2 months ago #

    Sure.
    I use a few kinds of plugins.
    Eg. Rating-Widget Plugin (http://wordpress.org/extend/plugins/rating-widget/) or Revolution slider
    It creates own modules in left sidebar of admin panel.

    Now I want to activate it for Editor role.
    In your plugin options list, in capabilities tab I cannot find such a capability, so I cannot manage access right to this plugin...

  4. Vasyl Martyniuk
    Member
    Plugin Author

    Posted 2 months ago #

    Oh. I'm not sure that you'll be able to do that.
    The developer of this plugin, probably granted access to this plugin only for administrator's role.
    There is no such a thing like capability for a plugin. We, as developers, define our own capabilities if it is required. So if you really need it, then you have to dig inside that plugin and rewrite the Admin menu definition for that plugin.
    Would be also cool if you contact plugin's developer with your idea. He may take your suggestion and create a custom capability for that plugin and you'll be able to manage it with AAM.

    Regards,
    Vasyl

  5. Once-I-Was-A-Developer
    Member
    Posted 3 weeks ago #

    Hi Mariusz, i had the same problem/request with Revolution Slider plugin.

    I wanted "editor" role to be able to edit the slider(s).

    I took a look at the code and I found this in inc_php/revslider_globals.class.php on line 5

    const SHOW_SLIDER_TO = "admin"; //options: admin, editor, author

    That's a constant decalaration inside the GlobalsRevSlider class.

    I know - generally speaking - it's not good to modify code, since if you update plugin you will lose this change, but if you change "admin" to "editor" in that line, your problem should be solved.

    My Revolution Slider version is 2.1.4, maybe in next release it will be possible to modify that value using wp-admin UI - maybe you can do it right now too, but I didn't find where :-)

  6. Shovan Sargunam
    Member
    Posted 1 week ago #

    Thanks Once-I-Was-A-Developer works great just changed it to

    const SHOW_SLIDER_TO = "editor";

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.