WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. M Szatkowski
    Member
    Posted 1 year 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. WP AAM
    Member
    Plugin Author

    Posted 1 year ago #

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

    Regards,
    Vasyl

  3. M Szatkowski
    Member
    Posted 1 year 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. WP AAM
    Member
    Plugin Author

    Posted 1 year 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 1 year 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 year ago #

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

    const SHOW_SLIDER_TO = "editor";

  7. Dantezn
    Member
    Posted 11 months ago #

    “The Revolution Slider is not showing up. Instead I only see a grey box. What is happening?”

  8. rwilki
    Member
    Posted 10 months ago #

    @Once I Was A Developer, great snippet there. I know that some plugins like NextGen Gallery offer the admin the ability to allow different roles varying levels of access. I stumble upon this dilemma often. Not a great idea to edit core plugin code but it definitely works!

    Thanks,
    Bob

  9. lekiend
    Member
    Posted 10 months ago #

    I use Revolution Slider 3.0.95 and it is possible to manage Roles.
    1) Go in menu Revolution Slider
    2) Click on Global settings on the top right corner.
    3) Select permissions
    4) Save
    5) Done :-)

    Dimitri

  10. eperinelli
    Member
    Posted 8 months ago #

    Hi everybody,

    i'm using WP 3.6.1 and Revolution Slider 3.0.95, if i try to control the plugin with a user that's not an admin i get the message:

    You do not have sufficient permissions to access this section.

    obviously i set "Author, Editor and Admin" in the Global Preferences, but looks like the setting is ignored

    this is a relative problem, since i'm using "User Role Editor", if you can tell me the ID of the capability of Revolution Slider i can add it to my custom User

  11. rwilki
    Member
    Posted 8 months ago #

    I think the only solution is from @Once I Was A developer. Works great. See his post above...

  12. eperinelli
    Member
    Posted 8 months ago #

    thank you rwilki i was hoping for a more ortodox solution, but if there's no other way...

    cheers

  13. eperinelli
    Member
    Posted 8 months ago #

    ops there's no more

    const SHOW_SLIDER_TO = "editor";

    in my version of the plugin, i've opened a ticket with the support...

  14. rwilki
    Member
    Posted 8 months ago #

    there's no line SHOW_SLIDER_TO anywhere in your revslider_globals.class.php? huh.

  15. WP AAM
    Member
    Plugin Author

    Posted 8 months ago #

    Hi guys,
    New version of AAM 2.0 is coming. [ ad copy moderated ]

    Regards,
    Vasyl

  16. eperinelli
    Member
    Posted 8 months ago #

    @rwilki

    that's correct, that parameter is missing

    i've filed a ticket on the help desk 5 days ago, but no solution yet

  17. Daniel Liebig
    Member
    Posted 4 months ago #

    I'm using Version 4.0.3

    When logged in as admin you can define the roles being able to edit the slider in the plugins settings at the backend as lekiend already mentioned earlier.
    Simply click on "Global settings" at the upper right corner after selecting "Revolution Slider".

    Just wanted to clarify this, because I first read over it here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.