Vladimir Garagulya
Forum Replies Created
-
Forum: Plugins
In reply to: [User Role Editor] user role editor button not showing“Users -> User Role Editor” menu item is available to use who can ‘ure_edit_roles’ capability. “User Role Editor” (URE) grants this capability automatically on activation only to ‘administrator’ role.
If your user has another role, such user will not see URE menu item, until you will not grant to the role ‘ure_edit_roles’ capability.
Forum: Plugins
In reply to: [User Role Editor] How to get other roles by user in custom page?Try code below as a starting point. It uses get_user_by() function to load user object by user ID:
$user = get_user_by('id', 15 ); if ( empty( $user ) ) { return; } $user_roles = array(); $roles = wp_roles(); foreach( $user->roles as $role ) { $user_roles[] = $roles->role_names[$role]; } $output = implode( ', ', $user_roles ); echo $output;Forum: Plugins
In reply to: [User Role Editor] Ver todos los pedidosHi,
It may depend from the software you use to differentiate access to the orders between users. Definitely, it’s not possible using user roles and capabilities only until specialized e-commerce software does not support this.
Btw., I don’t know Spanish.
Check if ‘edit_published_mnps’ capability is not granted to a user directly, not via role. Click ‘Capabilities” under user role at the “Users” page.
Be sure, that custom post type is really uses ‘mnp’ capability type, not the default one ‘post’. At least try to revoke from a role ‘edit_published_posts’ if it was granted, just to be sure that it is not in use.
Forum: Plugins
In reply to: [User Role Editor] How to let editors add menu items?Hi Paul,
‘edit_theme_options’ capability allows access to the “Appearance->Menus” item, like to all others under the “Appearance” menu.
Forum: Plugins
In reply to: [User Role Editor] User Role Editor PluginMy test showed that “Select all” checkbox works. Would you look at your browser JavaScript console for error messages – before and after you click on this checkbox?
Vishan,
Yes, if plugin/theme supports needed user capabilities, using URE you can build custom role(s) according your own needs.
Hi Vishan,
URE is just a user interface for editing WordPress user roles and capabilities directly in the WordPress database. URE does not influence how WordPress itself and installed plugins use roles and capabilities. It’s full responsibility of software which use/check user permissions.
You need specialized software in order to build multivendor marketplace with different permissions for vendors & sellers.
Forum: Plugins
In reply to: [User Role Editor] Se eliminan los permisosI suppose that some plugin on your site automatically assigns ‘subscriber’ role to the users, probably using for this some criteria. To isolate a source of this problem, you can deactivate all plugins, assign ‘Formularios’ role to a user and test if it will be replaced by ‘Subscriber’ when after you activate plugins back one by one.
Btw., it’s better to write here in English.
Forum: Plugins
In reply to: [User Role Editor] Role not being removedI wonder if I create the role myself with your plugin, then use it with their plugin if it would then allow me to remove the role.
You may get the answer on this via test only. I don’t have access to the discussed plugin to say more.
Forum: Plugins
In reply to: [User Role Editor] User access to one reservation onlyHi,
It’s not possible via user permissions provided by WordPress itself. It depends from plugin/theme which supports reservations at your site – does it have needed feature or it does not.
Forum: Plugins
In reply to: [User Role Editor] Allow specific user to reply to commentsHi,
No. Unfortunately, anyone can post reply via default WP comments system. They will wait a moderation though.
There is not special user capability for this purpose, more – for the specific page.Forum: Plugins
In reply to: [User Role Editor] Role can’t read WPBakery Builder moduleCan you check the 1st variant ‘Editor + Shop Manager’ roles with deactivated WooCommerce? I suppose that WC load especially for ‘Shop Manager’ some additional libraries or executes scripts which may conflict with WPBakery.
Forum: Plugins
In reply to: [User Role Editor] Role can’t read WPBakery Builder moduleDid you look at the WPBakery own “Role Manager” 1st, to allow your role use WPBakery?
- This reply was modified 4 years, 8 months ago by Vladimir Garagulya.
Forum: Plugins
In reply to: [User Role Editor] Change slug?Understood. I call it role ID. This field is disabled by design. You can not change it at URE.
Workaround – click “Add role”, insert desired role ID and name, select at “Make copy of” field a role for which you try to change ID. You will get new role with right ID. Delete older role after that.