WordPress.org

Ready to get started?Download WordPress

Forums

Easing Slider "Lite"
Editors and lower users can't use the plugin (11 posts)

  1. lucianoas
    Member
    Posted 2 years ago #

    Hi,
    I'm using this plugin for two sites. This is a great plugin but the problem I find using it is that I can't allow 'editor' or other users to use the plugin, because only 'admin' users have permissions (capabilities). Usually, I don't give admin access to my clients -almost nobody does-, so the question is: How to change this default option?

    I've tried using role management plugins but the only possible solution is creating another admin user (not a very ellegant solution).
    Probably adding a couple of lines somewhere should fix this.

    Thanks.

    LA.-

  2. dauidus
    Member
    Posted 2 years ago #

    lucianoas,

    Did you ever find a solution to this problem? I've been experiencing the same issue, but have reached a wall in my search.

    If we could find the capability name for this plugin, I think that will help me, too! Hopefully, we can figure this one out together.

    Cheers,
    Dave

  3. lucianoas
    Member
    Posted 2 years ago #

    Hi,
    I've solved this by changing a line in the easingslider.php file. I'm using 'editor' instead of 'admin' (detailed below). This is not the ideal solution but worked for me.

    Cheers,
    Luciano.

    function modify_menu() {
    	add_menu_page(
    	'Easing Slider',
    	'Easing Slider',
    	'admin',
    	'easing-slider/easingslider.php',
    	'admin_easing'
    	);
    function modify_menu() {
    	add_menu_page(
    	'Easing Slider',
    	'Easing Slider',
    	'editor',
    	'easing-slider/easingslider.php',
    	'admin_easing'
    	);
  4. dauidus
    Member
    Posted 2 years ago #

    Luciano,

    Thanks for your quick reply.

    Well, I did just what you said and it looks like a no-go. Now, when I try to access the easing slider panel from any role it gives me:

    Fatal error: Cannot redeclare my_admin_scripts() (previously declared in /home/eddiesit/public_html/wp-content/plugins/easing-slider/easingslider.php:13) in /home/eddiesit/public_html/wp-content/plugins/easing-slider/easingslider.php on line 17

    I'm not really sure what's up here... those lines are nowhere near the ones I edited. And, when I change everything back, it works just fine. Really too bad that this guy went and wrote a plugin that doesn't allow for a pretty important capability here.

    Like I said, thanks for your help with this.

  5. dauidus
    Member
    Posted 2 years ago #

    Woops, I think I did get it working.

    Only thing is, now I can only access the panel from the editor role, but not admin. Is this the same problem you are running into now? If so, I can definitely live with it... at least now I can allow my client access to that page. Thanks again!

  6. lucianoas
    Member
    Posted 2 years ago #

    Yes, that's the half-solution I've found: only editors can access now, but worked for me and my clients.

  7. MatthewRuddy
    Member
    Plugin Author

    Posted 2 years ago #

    Hi guys. Don't really deal with support on here so sorry for the delay. Maybe try using a different user role, such as 'edit_plugins', etc. It really is just a case of finding the correct permission. I've never tried it, but as far as I believe it can be possible to make up custom user roles which might be a good idea. Then just replace the word 'administrator' with the custom role, as mentioned above.

  8. agapedisciple
    Member
    Posted 2 years ago #

    I'm hitting the same issue. Thanks for the post above. I used the 'edit_pages' capability which is common between Admins and Editors to get it to show up in both user accounts. Reference for add_menu_page

    function modify_menu() {
    	add_menu_page(
    	'Easing Slider',
    	'Easing Slider',
    	'edit_pages',
    	'easing-slider/easingslider.php',
    	'admin_easing'
    	);
  9. retroyw
    Member
    Posted 2 years ago #

    Hi Matthew, I would like to have the option in the usage settings to allow a specific role the access to the custom images tab.

    the solutions provided previously at this forum works, but grants access to the whole plugin, and I don't want my users can change the settings.
    And if you upgrade the plugin I can't upgrade safely.... :D

    Thanks for your support.

  10. MatthewRuddy
    Member
    Plugin Author

    Posted 1 year ago #

    We are going to be adding custom permissions very soon that you can manage via role management plugins such as 'Members'. There will be a permission to view the slideshow settings, and another to save the settings (in other words, make changes).

    This has already been implemented in the Riva Slider Pro, but we are also going to implement it in the Easing Slider (being renamed to Riva Slider Lite) very soon.

    Soon to be new site for both Riva Slider Lite & Pro: http://rivaslider.com

  11. keithschmader
    Member
    Posted 1 year ago #

    I too am having this issue!

    Has anyone found an alternative plugin?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic