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?
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?
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.
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' );
}
}
This topic has been closed to new replies.