Support » Plugin: Plugin Premium Package Manager for WP Networks » [Plugin: Plugin Premium Package Manager for WP Networks] Super Admin Menu with Theme menu

  • Resolved ddarby14


    Hi Ron, still testing out this plugin group and so far, loving it – thanks!

    We run multisite and have a client moving in with a Thesis theme. We’ve not used Thesis before so I’m not familiar with it. We enabled the Theme only for this client rather than network-enabled.

    On the Manage Menus page for the client’s subsite, we clearly have all the expected Thesis menu/sub-menu options shown as expected. None are checked, so my understanding is that should enable the entire Thesis theme menu to Site Admins.

    For both client (as Site Admin) and a test user I tested (as Site Admin), the Thesis menu is not displaying. When accessing the URL for the Thesis menu, I see the message that I don’t have proper privileges.

    I also tried checking/unchecking the Thesis menu to hide/unhide it.

    Any thoughts to cure this would be greatly appreciated.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ron Rennick


    Unfortunately, I’ve never worked with Thesis, so I’m not sure how it adds its menu.

    As a super admin, you should have access to all the menus regardless of what the menu plugin settings are. Do you have access as a super admin?

    Yes, as Super Admin I can see the menu. I can also see the Thesis menu as options under Manage Menus.

    I’ve not used Thesis either so I checked out their menu add. If it helps, here is how they add their menus:

    function thesis_admin_setup() {
    	global $thesis_terms;
    	add_action('admin_menu', 'thesis_add_menu');
    	add_action('admin_menu', array('thesis_post_options', 'add_meta_boxes'));
    	add_action('admin_post_thesis_options', array('thesis_site_options', 'save_options'));
    	add_action('admin_post_thesis_design_options', array('thesis_design_options', 'save_options'));
    	add_action('admin_post_thesis_upgrade', 'thesis_upgrade');
    	add_action('admin_post_thesis_file_editor', array('thesis_custom_editor', 'save_file'));
    	new thesis_dashboard_rss;
    	add_action('init', 'thesis_options_head');
    function thesis_add_menu() {
    	global $menu, $wp_version, $thesis_header, $thesis_favicon;
    	if (version_compare($wp_version, '2.9', '>='))
    		$menu[30] = array('', 'read', 'separator-thesis', '', 'wp-menu-separator');
    	add_menu_page(__('Thesis', 'thesis'), __('Thesis', 'thesis'), 'edit_themes', 'thesis-options', array('thesis_site_options', 'options_page'), THESIS_IMAGES_FOLDER . '/icon-swatch.png', 31); #wp
    	add_submenu_page('thesis-options', __('Site Options', 'thesis'), __('Site Options', 'thesis'), 'edit_themes', 'thesis-options', array('thesis_site_options', 'options_page')); #wp
    	add_submenu_page('thesis-options', __('Design Options', 'thesis'), __('Design Options', 'thesis'), 'edit_themes', 'thesis-design-options', array('thesis_design_options', 'options_page')); #wp
    	add_submenu_page('thesis-options', __('Header Image', 'thesis'), __('Header Image', 'thesis'), 'edit_themes', 'thesis-header-image', array($thesis_header, 'options_page')); #wp
    	add_submenu_page('thesis-options', __('Favicon Uploader', 'thesis'), __('Favicon Uploader', 'thesis'), 'edit_themes', 'thesis-favicon', array($thesis_favicon, 'options_page')); #wp
    	add_submenu_page('thesis-options', __('Custom File Editor', 'thesis'), __('Custom File Editor', 'thesis'), 'edit_themes', 'thesis-file-editor', array('thesis_custom_editor', 'options_page')); #wp
    	add_submenu_page('thesis-options', __('Manage Options', 'thesis'), __('Manage Options', 'thesis'), 'edit_themes', 'options-manager', array('thesis_options_manager', 'options_page')); #wp

    Thanks for looking at this.

    I am wondering if Thesis is not using Site Admin calls. I’ve not customized menus that differentiated between Super Admin and Site Admin in MU, so I’m thinking it may be that and will work with Manage Menus if I update Thesis menus to use Site Admin code.

    Researching how to do that/what the hooks are.

    If anybody else runs Thesis theme and is using the Super Admin Menu plugin, it’s not the plugin, it’s Thesis. To get the Thesis Options showing for Site Admins (Network/Multiuser config), you need to modify the code for Thesis:

    • In lib/admin/admin.php, change edit_themes to edit_theme_options within each add_menu_page and add_submenu_page statement under the thesis_add_menu() function.

    Hello there, sorry to change a little bit the subject but I have a big problem with my web page and i saw on an older post that Mr. Dave Darby knew how to fix it but my problem is that there’s a step that i don’t know how to do. If there is no problem for you to help me, here I give you my problem post.

    Thank You very much and sorry for the inconvenience.

    Please post your own topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Plugin Premium Package Manager for WP Networks] Super Admin Menu with Theme menu’ is closed to new replies.