WordPress.org

Ready to get started?Download WordPress

Forums

radSLIDE
Edit roles to be able to publish images into a slide (3 posts)

  1. eldamar
    Member
    Posted 3 years ago #

    I wish i could use radslide to manage a sites slides but let my editors be able to add and edit each slide without granting them administrator rights.

  2. mginop
    Member
    Posted 3 years ago #

    I too would like to know if this is possible.

  3. mginop
    Member
    Posted 3 years ago #

    Figured this out for anyone who may need this... you will need to edit radslide/setup.php

    Changed 'administrator' to 'moderate_comments' in the following function (basically using a capability role used by both admins and editors).

    // create menu
    function radslide_create_menu() {
    	$menu_slug = 'radslide_slideshows';
      add_menu_page('radSLIDE Slideshows', 'radSLIDE', 'moderate_comments', $menu_slug, 'radslide_page_slideshow');
      add_submenu_page($menu_slug, 'radSLIDE Slideshows', 'Slideshows', 'moderate_comments', $menu_slug, 'radslide_page_slideshow');
      add_submenu_page($menu_slug, 'radSLIDE Help', 'Help', 'moderate_comments', 'radslide_help', 'radslide_page_help');
      add_submenu_page($menu_slug, 'radSLIDE Uninstall', 'Uninstall', 'administrator', 'radslide_uninstall', 'radslide_page_uninstall');
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags