Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
Hi Jon,
I will publish the updated version this month.
08/06/2021 at 12:24 in reply to: checking_for_updates pointing to invalid plugin metadata file #7590VladimirKeymasterHi Jon,
There is no such hook currently. You can just comment the line, which initiates the related code:
wp-content/plugins/user-role-editor-pro/pro/includes/classes/user-role-editor-pro.php, line # 35 ( // $this->init_updater(); ) :protected function __construct() { $this->lib = URE_Lib_Pro::get_instance('user_role_editor'); add_action('ure_on_activation', array($this, 'execute_once')); parent::__construct(); add_action('plugins_loaded', array($this, 'load_addons')); $this->allow_unfiltered_html(); // $this->init_updater(); } // end of __construct()
VladimirKeymasterDid you try the “Admin menu blocking” add-on?
VladimirKeymasterHi Dave,
This is the WooCommerce code which creates the ‘customer’ role:
// Customer role. add_role( 'customer', 'Customer', array( 'read' => true, ) );
As you see it contains the single ‘read’ user capability. Does your copy contains the same ‘read’ capability?
A possible problem would be related to other plugin or theme code and/or options which prevents login with role different than the ‘customer’. Try to deactivate all plugins and activate WordPress default 2021 theme. Will it change this? If Yes, then you can isolate a source of the problem activating plugins back one by one with a new login test.
05/06/2021 at 08:00 in reply to: checking_for_updates pointing to invalid plugin metadata file #7583VladimirKeymasterI suppose it was a temporal networking issue. If you try to open this URL in a browser you will get the valid JSON data in response.
VladimirKeymasterHi Jon,
I reproduced the bug. Thanks for this report. I will work on the fix to include into the next update.
VladimirKeymasterCheck URE Pro settings, Add-ons tab:
if “Activate “Create” capability for posts/pages/custom post types” option is turned ON.
If Yes, then you have to grant to your role the ‘create_%’, capability for “USP Forms” custom post type. ‘%’ here is the custom post type ID.
“Add New” menu item is not available without ‘create_%’ capability if mentioned option is turned ON.VladimirKeymasterGraphQL plugin uses ‘manage_options’ user capability to protect all its admin menu items.
You can grant ‘manage_options’ to your role, then block unneeded menu items using Admin menu blocking add-on.
VladimirKeymasterHi,
This plugin uses ‘manage_options’ user capability to protect its menu/submenu items.
VladimirKeymasterHi,
If it’s applicable, send admin login credentials to support [at-sign] role-editor.com
I will look on the issue on site.VladimirKeymasterRead carefully the “Block not selected” part of the documentation article.
VladimirKeymaster“Gravity Forms Add-Ons” section is provided by Gravity Forms itself via GFAddOn (includes/addon/class-gf-addon.php) class.
My test showed that this group is filled by caps as expected. I may suppose that some active add-on can break the data structures used for this. Try to deactivate temporary all GF addons and activate them back one by one with test repeated to check if this is true assumption and isolate a conflict.VladimirKeymasterAdmin notification for 3: I don’t have a solution on hands. In theory custom code hooked to the post status change (e.g. transition_post_status) from ‘draft’ to ‘pending’ may resolve this task.
VladimirKeymaster1, 2 – It’s possible to setup via “Edit restrictions add-on“. Activate it, then open “Edit post” dialog for a role and select “Own data only”.
3 – You had to use as a base role for the starting point the contributor role, not the author. Revoke from a role these capabilities: ‘publish_posts’, ‘publish_products’, ‘edit_published_posts’, ‘edit_published_products’, ‘delete_published_posts’, ‘delete_published_products’.
4. You can not control with URE what fields are shown at the front-end product page.
VladimirKeymasterIs WpUltimo alailable at wordpress.org/plugins or is it commercial product. I need access to its copy to check the issue.
Can you share the full stack of from PHP. It should show from where remove_user_from_block() function is called and what code send to it WP_Error object instead of integer value in $user_id variable.
-
AuthorPosts