WordPress.org

Support

Support » Plugins and Hacks » [Plugin: radSLIDE] Edit roles to be able to publish images into a slide

[Plugin: radSLIDE] Edit roles to be able to publish images into a slide

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I too would like to know if this is possible.

    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');
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: radSLIDE] Edit roles to be able to publish images into a slide’ is closed to new replies.