Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi,
I suppose you use WooCommerce.
Add ‘view_admin_dashboard’ capability to to this role to resolve a redirection to front-end problem. Read this article for more details about it.Vladimir
KeymasterI never saw ‘Delete Site” item at the admin menu. So I suppose that it was added by some plugin. Is it right?
Your assumption about a source of this problem is correct – URE works with admin menu copy from the main site.
There is no ‘delete_sites’ capability. Try to revoke ‘manage_sites’ capability from the role. May be it will help.
Vladimir
KeymasterI missed your message somehow…
Does new added user at subsite has the same role as at the main site?
Did you block WPML with ‘Admin menu’? Does ‘Admin menu’ have the same settings at subsite or do you see any differences?Where do you see ‘Delete site’? I mean does this user has access to the “Network admin -> Sites’ or something else?
Vladimir
KeymasterI sent a version 4.30 to your email. Let me know if you discover any changes critical for you.
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. -
AuthorPosts