Vladimir Garagulya
Forum Replies Created
-
In order edit users user role should can ‘list_users’, ‘edit_users’, ‘delete_users’ user capabilities.
Starting from version 3.4.6 WC shop_manager can edit users with ‘customer’ role only, but it’s possible to change via offered custom filter:
https://developer.woocommerce.com/2018/10/11/woocommerce-3-4-6-security-fix-release-notes/How to delete or change membership depends from what membership plugin do you use.
Forum: Plugins
In reply to: [User Role Editor] number of users in specific role2000-3000 users should be processed as expected by default. WP stops count users by roles when users > 10000.
May be some plugin changes this behavior. Try deactivate plugins (may be at the stage copy) and look on the Users page. If it will start count users by roles, activate plugins back one by one with a new test to isolate a reason.
Forum: Plugins
In reply to: [User Role Editor] 403 ErrorIt’s not WordPress user permissions issue. I suppose some plugin is involved. Try to deactivate them all and test. If this will help, activate plugins back one by one with a new test to isolate a reason.
Forum: Plugins
In reply to: [User Role Editor] number of users in specific roleWordPress users page by default splits users view by user roles and includes users quantity to which role is granted. WordPress uses the count_users() function for this purpose.
https://developer.wordpress.org/reference/functions/count_users/This function is time and/or memory critical. WordPress limited such calculations by users quantity 10000 by default.
$count_users = ! wp_is_large_user_count(); if ( $count_users ) { $users_of_blog = count_users(); }/** * Filters whether the site is considered large, based on its number of users. * * @since 6.0.0 * * @param bool $is_large_user_count Whether the site has a large number of users. * @param int $count The total number of users. * @param int|null $network_id ID of the network.nullrepresents the current network. */ return apply_filters( 'wp_is_large_user_count', $count > 10000, $count, $network_id );If it’s your case and such calculation is critical for your in opposite to the users page load time, you may increase this value via wp_is_large_user_count filter.
- This reply was modified 2 years, 8 months ago by Vladimir Garagulya.
- This reply was modified 2 years, 8 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Is there a problem with the plugin?Hi Gary,
Yes, there were the continued issues with website and update server yesterday. All problems are solved now.
Forum: Plugins
In reply to: [User Role Editor] I cannot assign permissions to the Popup Builder pluginPopup Builder – edit_posts
All Popups – edit_posts
Add New – sgpb_manage_options
All Subscribers – sgpb_manage_options
Newsletter – sgpb_manage_options
Settings – manage_options
Extend – sgpb_manage_options
Support – sgpb_manage_optionssgpb_manage_options capability does not exists by default, try to add it manually.
Forum: Plugins
In reply to: [User Role Editor] I cannot assign permissions to the Popup Builder pluginGive a link to plugin from wordpress.org/plugins
Forum: Plugins
In reply to: [User Role Editor] I’ve lost my administrator roleForum: Plugins
In reply to: [User Role Editor] Author change of permissionsThere is no special permission for this page to solve task modifying user role. If user can ‘read’ capability, which allows access to admin dashboard, then user automatically can access its own user profile page.
You need to use some PHP code to modify admin menu for this user, or one of existing plugins, which allow to modify admin menu for selected user or user role. User Role Editor Pro admin menu access add-on is one of them.
Forum: Plugins
In reply to: [User Role Editor] Comment NotificationThere is no special permission in WordPress for this purpose. You may achieve this via some plugin.
https://www.wpbeginner.com/plugins/allow-your-users-to-subscribe-to-comments-in-wordpress/
If user does not can see/edit pages at the 2nd site, go to admin dashboard of the 2nd site and grant him editor role directly there. It seems as user was added to the 2nd site with a default subscriber role.
Forum: Reviews
In reply to: [User Role Editor] Smoothly integratedThanks for the good review and especially for the enhancement suggestions, which I will definitely realize.
Does user have editor role at the same site where he try to see posts or pages? Take into account that WP multisite checks user permissions on per site basis.
Forum: Plugins
In reply to: [User Role Editor] Can not edit authors with other user rolesWordPress uses ‘edit_’ capability by default in both cases: for editing existing post and for adding new one. Pro version allows to use a separate ‘create_’ capability to protect “Add New” function.
Btw., it’s better to ask questions related to Pro version directly via email or related site contact form. This forum is dedicated to a free version only.
Forum: Plugins
In reply to: [User Role Editor] Can not edit authors with other user rolesUntil WordPress 5.9 you had to grant to your custom author role the level_0, level_1 capabilities. Revoke it from user, update his profile and grant it back to this user. After that only user will appear in the authors list.
Starting from WP 5.9 user should can edit post for which you try to set him as author. At least edit_published_post capability is required for the post in the published state.
One of the solutions above of the both at the same time should help.
Read this article
https://www.role-editor.com/wordpress-user-levels-deprecated-just-partially/
for more information.- This reply was modified 2 years, 10 months ago by Vladimir Garagulya.