Support » Plugin: WP-Ad-Manager » [Plugin: WP-Ad-Manager] WP Ad Manager menu not showing for editors

  • Hi

    I’ve set WP-Ad-Manager user access to “editor”
    (The minimum User Level required to access Ad-minister: editor)

    But the editors can’t see the menu.
    I’m running a WP3 multisites install. Could it be the problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author valentinas

    (@valentinas)

    Hi, this part of plugin is not working yet. need to change the user level in menu function. Will implement that for next version. if you need this urgently – let me know, i can give you modified version.

    Thread Starter lipsk

    (@lipsk)

    Hi Valentinas

    Thank you. There’s no hurry, I’ll wait for the next version.

    It’s working after I changed this code

    // Add administration menu
    function wpam_admin_menu() {
    if ( current_user_can(‘manage_options’) ) {
    add_menu_page( ‘WP-Ad-Manager’, ‘WP-Ad-Manager’, ‘manage_options’, dirname(plugin_basename (__FILE__)), ‘administer_main’ );
    }
    }

    To this

    // Add administration menu
    function wpam_admin_menu() {
    if ( current_user_can(‘moderate_comments’) ) {
    add_menu_page( ‘WP-Ad-Manager’, ‘WP-Ad-Manager’, ‘moderate_comments’, dirname(plugin_basename (__FILE__)), ‘administer_main’ );
    }
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP-Ad-Manager] WP Ad Manager menu not showing for editors’ is closed to new replies.