Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] Problems with LogInI’m sure that it’s not related to the User Role Editor plugin. URE just creates a role following to WordPress rules. The next (login, logout, etc. controls WordPress itself and other plugins may be involved).
Simple test:
Add to this role new capability view_admin_dashboard (add manually, if it does not exist). This will exclude automatic redirection to front-end, which WooCommerce does. Then login with test user and open /wp-admin. If you get there and see WP dashboard, the rest is an issue with some other plugin.- This reply was modified 5 years, 11 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [NSFW] [User Role Editor] How can i restore setting Default?All changes made via URE are permanent. Plugin deletion does not rollback them.
You can setup plugin with Instructor role at the fresh copy of WordPress. Compare the list of capabilities granted to the role at the both sites and fix differences manually.Thanks for this notification. I will publish the new version soon. It contains needed update.
Forum: Plugins
In reply to: [User Role Editor] Select some cutom post typeHi,
Read this post.
Forum: Plugins
In reply to: [User Role Editor] Sorry, you are not allowed to access this pageHi Richard,
“Reset” tool should not be used at the site where other plugins installed until you do not plan to remove all of them. “Reset” simply executed WordPress initial roles setup – as just after initial WordPress installation. Thus all custom roles added by plugins are lost after reset action execution.
Look if this article would be useful for you.
Forum: Plugins
In reply to: [User Role Editor] Automatic user role based on language (WPML)?No, User Role Editor can not do this. Custom programming is needed.
Forum: Plugins
In reply to: [User Role Editor] Change user role after being inactive for a certain timeIt’s possible via custom programming. URE plugin will not help.
Forum: Plugins
In reply to: [User Role Editor] What happens when the plugin is disabled or removed?WordPress default admin user with ID=1 (1st superuser who has ‘administrator’ role) is not restricted by URE and can edit other users with ‘administrator’ role.
Another admin can change himself (to lower role) and can do nothing with other admins.
Forum: Plugins
In reply to: [User Role Editor] What happens when the plugin is disabled or removed?New custom role and capabilities still be active.
Active URE plugin by default protects users with ‘administrator’ role from each other and from users with ‘edit_users’ capability. If you deactivate URE you remove such protection. So if you grant to someone ‘edit_users’ capability you have to take this drawback into account.
Forum: Plugins
In reply to: [User Role Editor] Change Role vs. Grant Roles vs. Add Role‘Change Role’ is WordPress built-in feature. It replaces current role of selected users for the selected role. If user does not have any role, selected role will be added to the user.
‘Grant Roles’, ‘Add Role’, ‘Revoke Role’ are added by User Role Editor.
‘Grant Roles’ makes the same as ‘Change Role’ but allows to replace all currently granted roles of selected users with selected roles. That is allows to work with multiple roles.
‘Add Role’ allows to add additional role to the roles currently granted to the selected users. For example, User1 has role A, after adding to him role B, he will have roles A and B.
‘Revoke Role’ allows revoke the role from the selected users. For example, User1 has roles A and B, after revoking to him role B, he will have role A only.
Forum: Plugins
In reply to: [User Role Editor] Blog posts status&visibilityMy test showed that author can make the post password protected by default. There is no need in any additional permission. May be some plugins changed this at your site. Try to deactivate all plugins and make new test.
Forum: Plugins
In reply to: [User Role Editor] Allow Product Review for a specific role ?I do not see any special capability for this purpose.
2020 theme shows new comment form under this condition:
if ( comments_open() || pings_open() ) {
and comments_open() function allows to change its return value via filter:
apply_filters( 'comments_open', $open, $post_id );So you can check if current user has needed role and decide open this post for comments to him or no.
If your theme works similar you can use ‘comments_open’ filter too.In order to view and edit: read this article.
Read only mode is not possible without custom development: It’s general for WordPress to get access to the posts list (shop order is a custom post type) you have to can edit posts (for orders – edit_shop_orders) and the same for order details – you need to open order for editing.Did you grant to a role the capabilities from the WooCommerce->Products group, like ‘edit_products’, etc.?
Forum: Plugins
In reply to: [User Role Editor] Wc-settings access not workingLook if user does not have another role(s) granted.
Look if user does not have manage_woocommerce capability granted to him directly, not via role.
You can click ‘Capabilities’ link under the user at the “Users” list and check all this conditions, which may allow user access to WC->Settings without visible reason.