Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi,
If you blocked widgets at Network Admin this restrictions are applied for the main site. In order to restrict widgets for the 3rd site, you should open ‘User Role Editor’ at the 3rd site directly.
Do you test your settings for the restricted site?
Vladimir
KeymasterHi,
1st, correct the typo, you should have ‘Complete’ instead of ‘Complet’ in the 2nd login expression.
2nd, role shown by WordPress as a ‘primary’ role should be the 1st in the roles array (have index 0). So remove all roles from the user, then add ‘instructor’ role. It will become a primary this way. Then add ‘participant’ role back as a secondary role.
$user->set_role('instructor'); $user->add_role('participant');
Vladimir
KeymasterHi,
‘Other Roles’ section is shown, if this boolean filter ‘ure_show_additional_capabilities_section’ returns true (by default). It’s hidden in case this filter returns false.
Vladimir
KeymasterJawad,
Upcoming (in a couple of days I hope) 4.23.3 bug fix release will not contain this feature yet. I will include it the the 4.24.
I will include these code snippets to the Pro version 4.24 as the options (inactive by default). So you will can safely install plugin update, remove your own copy of code from functions.php and then turn on the correspondent option at the User Role Editor Settings.
Vladimir
KeymasterHi Jawad,
‘shop_web_hook’ is a custom post type introduced by WooCommerce:
https://docs.woothemes.com/document/webhooks/Please remind, for what question you did not get the answer.
Vladimir
KeymasterI think that Android and iOS applications both should work the same way in relation access to WordPress data.
Try to clear all cached data at your iOS device.Vladimir
KeymasterHerbert,
Do you Сolleagues use this application to post to WordPress from mobile devices?
Vladimir
KeymasterHi Herbert,
Thanks for the feedback.
I do not have a solution for the access restrictions problem with WP App right now. I will investigate it and try to offer the solution ASAP.
Vladimir
KeymasterIn relation to the screenshots with capabilities:
– Is it possible that you have different set of plugins activated on these sites?Vladimir
KeymasterIn order to remove ‘Emails->Customize’ menu item use this code:
add_action('admin_menu', 'my_remove_buddypress', 20); function my_remove_buddypress() { if (current_user_can('your-own-role')) { remove_submenu_page('edit.php?post_type=bp-email', 'bp-emails-customizer-redirect'); } }
Vladimir
KeymasterHello,
I confirm the bug with menu items similar to BuddyPress. It’s fixed at upcoming version 4.23.3. I plan to publish it in a couple of days.
Vladimir
KeymasterOrders menu is protected by ‘edit_shop_orders’ capability. It’s possible to prohibit new order creation if you activate ‘create’ capability at User Role Editor Settings.
But ‘edit_shop_orders’ capability is enough to ‘process’ and ‘complete’ the order. The only way to allow a read-only access to the WooCommerce orders is to use this filter from WooCommerce code:
$actions = apply_filters( 'woocommerce_admin_order_actions', $actions, $the_order );
Your function for this filter should return empty $actions array for ‘editor’ role in order to make for them read-only access.
Let me know if you need further help.
Vladimir
KeymasterHi,
I have to postpone this issue investigation for 1-2 days.
Vladimir
KeymasterI will extend ‘Bulk Access Edit’ to the custom post type with a next update (approximately this week).
Category/taxonomy id filter should work already for custom post types and pages (if you linked categories to them).
Vladimir
KeymasterHi,
Could you provide ACF Pro copy for testing? Send zip to the support email. I guarantee that it will be installed it only locally and for testing purpose.
-
AuthorPosts