Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterI don’t support a public resource with older versions. What exact version do you need? I will send it to you.
Vladimir
KeymasterIn general, top admin menu bar menu is blocked automatically if its correspondent main admin menu item was blocked.
In order to block “Yoas SEO” just at top admin menu bar use this code:
add_action('wp_before_admin_bar_render', 'block_top_wp_seo'); function block_top_wp_seo() { global $wp_admin_bar; if (current_user_can('administrator')) { return; } $wp_admin_bar->remove_menu('wpseo-menu'); }Insert into the active theme functions.php file for the single site or setup as a “must use” plugin to aplly it globally to all sites.
Vladimir
KeymasterHi,
Open User Role Editor Pro at the Network Admin. Network Admin->Users->User Role Editor and click “Update Network”, then turn ON “Admin menu access restrictions” checkbox.
Vladimir
KeymasterThanks for the feedback and issue report.
I can not repeat with the latest version. I just added a new site (Network Admin -> Sites -> Add New) at my test WordPress multisite installation and got there a full list of roles (including custom) at a new created subsite.
Try again at a development copy of your site with all other plugins deactivated. May be some conflict takes place. Let me know a result.
Vladimir
KeymasterTry to temporally deactivate all plugins except URE to exclude a conflict with some other plugin. Reactivating plugins back one by one can help to isolate a problem.
Vladimir
KeymasterHi,
1) Do not grant ‘manage_options’ capability
2) Try to use this code at functions.php or as a Must Use plugin:
add_filter( 'map_meta_cap', 'my_jetpack_custom_caps', 10, 4 ); function my_jetpack_custom_caps($caps, $cap, $user_id, $args) { switch( $cap ) { case 'jetpack_admin_page': case 'jetpack_connect_user': $caps = array( 'manage_options' ); } return $caps; }It will replace ‘read’ capability (used at Jetpack by default) with ‘manage_options’.
Vladimir
KeymasterI don’t have a solution on hands. There were no similar reports until today. I will look if it’s possible to activate VC for custom post type programmatically.
It would be good to contact VC support also.30/01/2017 at 14:29 in reply to: Importing and Exporting doesn't include the admin menu section #3302Vladimir
KeymasterCorrect. Only roles and capabilities are exported currently.
Export of settings made for roles via additional modules (add-ons) is a subject of the further development. I will realize this with time.
26/01/2017 at 06:13 in reply to: enclosing another shortcode within role restriction shortcodes #3287Vladimir
KeymasterHi,
It’s correct to enclose other shortcode inside of URE’s shortcode. It works.
Check if ‘gravityview_view_entries’, ‘gravityview_view_others_entries’ capabilities are granted to ‘comm_member_research’ role.Vladimir
KeymasterIf all 3 users added to this subsite have an ‘administrator’ role, then any current user (except superadmin) with ‘administrator’ role will not see other users with the same role and see the empty users list. URE adds this protection to exclude a case when one single site administrator changes permissions for another.
If you trust to all single site administrators it’s possible to switch off this protection using ‘ure_supress_administrators_protection’ filter. It returns ‘FALSE’ by default. If you will return ‘TRUE’ from this filter then protection will be switched off.
add_filter('ure_supress_administrators_protection', 'ure_supress_administrators_protection', 10, 1); function ure_supress_administrators_protection ($supress) { return true; }Just insert code above to your active theme functions.php file.
WordPress assigns roles to users on a per site basis. So if user has an ‘administrator’ role at one site it does not mean that he has the same role at all subsites automatically.
When you open user’s capabilities at the “Network Admin Center->Users” you see role assigned to a user for the main site only (usually ID=1).
If you wish that user has the same role for all network you can click “Update Network” button. The important condition – this role should exist for all subsites.
In order to replicate all roles from the main site to all subsites you can click “Update Network” from “Network Admin->Users->User Role Editor”. Then all subsites will have the same roles and capabilities as the main site has.Vladimir
KeymasterHi David,
What plugin do you use to confirm email-addresses? Send a download link.
If it’s a paid product send its copy to support [at-sign] role-editor.com for the investigation.Vladimir
KeymasterYes, send me a link to your video. You can send it directly to support email.
I do not resolve support questions via online sessions. If that’s possible I may look at your site directly with superadmin permissions.
From what date (month, year) older version may help?
Vladimir
KeymasterHi,
Do you restrict some admin menu items for this role with “admin menu access” add-on?
Vladimir
KeymasterHi,
Job Manager uses WordPress built-in capabilities for its menu protection:
Job Manager publish_posts
Settings manage_options
Add Job publish_posts
Jobs publish_posts
Applications read_private_pages
Emails read_private_pages
Interviews read_private_pagesYou can use “Admin menu access” add-on to block for the role of this user the access to the unneeded menu items, which will become available for it with capabilities above together, like “Settings”.
Vladimir
KeymasterWill something change if you deactivate URE temporally? If not, try to deactivate all plugins and then activate them back one by one to isolate a problem.
Do you have “Other role access” add-on active? Did you set any restrictions for administrators with this add-on?
-
AuthorPosts