Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] Show other posts is not working well – IMPORTANT BUGBy default WordPress shows all existing posts to a user with editing permissions.
What version of URE (free or pro) do you use?
If you work with Pro version it’s better to use the dedicated forum at role-editor.com or write directly to support email address.Forum: Plugins
In reply to: [User Role Editor] the plugin setting cant be access, help!Find and share the related PHP error information from the server log files or switch WordPress to the debug mode:
Forum: Plugins
In reply to: [User Role Editor] Disabling manage_woocommerce disables access to DashboardAlso look at the “WooCommerce admin bar access” part of this article.
Using custom filter or granting ‘edit_posts’ to a role may help too.Forum: Plugins
In reply to: [User Role Editor] Disabling manage_woocommerce disables access to DashboardIt’s possible that some other plugin is involved. Try temporally deactivate all plugin except WooCommerce and re-test user access. If that will help, activate plugins back one by one to isolate a reason.
Forum: Plugins
In reply to: [User Role Editor] Prohibit all account changes for an editorHi,
Revoke ‘read’ capability from this user role.
If you see “User Role Editor” at the “Plugins” list, try deactivate it and activate back. URE re-grants its own user capabilities to the ‘administrator’ role on activation (in case they are missed for some reason).
Forum: Plugins
In reply to: [User Role Editor] Remove Access to Settings in DashboardRevoke ‘manage_options’ capability.
Access to the dashboard is under control of the ‘read’ capability, until you install WooCommerce. If you have active WooCommerce, ‘view_admin_dashboard’ may help for roles which can not ‘manage_woocommerce’.Forum: Plugins
In reply to: [User Role Editor] I can’t use the pluginThanks for the information.
The link ‘/wp-admin/options-general.php?page=settings-user-role-editor.php’ is related to the settings page, not the “User->User Role Editor” itself, which is protected by another – ‘ure_edit_roles’ capability.
Unfortunately, I don’t see a reason of the issue to this point. If you wish to proceed investigate it, contact me directly at support [at-sign] role-editor.com
Forum: Plugins
In reply to: [User Role Editor] I can’t use the plugin1) If you as admin can open “Users->User Role Editor” re-check if role ‘administrator’ still has ‘ure_manage_options’ user capability.
2) Try 2 places for this link: “Settings” link under the plugin row at the “Plugins” page and “Settings->User Role Editor” admin menu item.
3) If you use “Admin Menu Editor” plugin or similar, test with such plugin deactivated.
Forum: Plugins
In reply to: [User Role Editor] I can’t use the pluginHi,
What version of plugin is installed at the site (Pro or free one)?
What exact link ended for you permissions error message from WordPress?Forum: Plugins
In reply to: [User Role Editor] Unable to change user role for Custom posts typesThis article may help:
https://www.role-editor.com/documentation/manage-access-to-custom-post-types/Forum: Plugins
In reply to: [User Role Editor] Disabling manage_woocommerce disables access to DashboardAdd manually the ‘view_admin_dashboard’ capability and grant it to a selected role.
Forum: Plugins
In reply to: [User Role Editor] Shop Manager unable to cahange user roleLook at this topic – shop_manager can edit customer role only:
https://woocommerce.wordpress.com/2018/10/11/woocommerce-3-4-6-security-fix-release-notes/Forum: Plugins
In reply to: [User Role Editor] Allow commenting only users with specific roleHello,
It may depend from a theme you use. Example below works with 2021 theme:
add_filter( 'comments_open', 'comments_on_condition', 10, 2); function comments_on_condition($open, $post_id ) { if ( !is_user_logged_in() ) { // no role - no comments return false; } // replace roles below with your own, which can comment $roles_with_comments = array( 'administrator', 'role2' ); $user = wp_get_current_user(); if ( empty( $user->roles ) ) { // no role - no comments return false; } foreach ($roles_with_comments as $role) { if ( in_array( $role, $user->roles) ) { // role can comment, return the global $open return $open; } } // no comments for all others return false; }You can add it to the active theme functions.php file or setup as a Must Use plugin.
Forum: Plugins
In reply to: [User Role Editor] Language conflictHi Kelly,
“Gestionnaire de boutique” in your list is the same ‘Shop Manager’ role. Just role not is not translated to French in User Role Editor, but translated correctly at WordPress->Users page.
The same is right for any other role, which is not translated in URE.