Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi,
Change “Views Access” from ‘Prohibit’ to ‘Allow’ view. Then only logged-in users will see page content, directly according to settings made: allow for any logged-in user, and show error message for any other visitor.
Vladimir
KeymasterHi Robert,
Import process stops on the step of decoding data back to JSON. It fails due some incorrect (for JSON) characters inside.
So I need to investigate and fix 2 things:
1) why error message is not shown;
2) what’s happening with JSON formatted data.For item 2) I need raw roles data from the database. Can you send me exported record from wp_options table?
You can extract needed record with this command:SELECT * FROM wp_options WHERE option_name='wp_user_roles';‘wp_’ is your db prefix in table name and in option name value, so if it’s not equal to ‘wp_’ replace ‘wp_’ to your own db prefix value from wp-config.php file.
Vladimir
KeymasterSend to support [at-sign] role-editor.com exported file of a role which you can not import. I will investigate what’s going wrong.
Vladimir
KeymasterQuick workaround:
Open plugins/user-role-editor-pro/pro/includes/classes/meta-boxes.php and add this element'pageparentdiv'=>'page-attributes'to $data array at get_gutenberg_components_former_meta_boxes() method, line #288,
so instead of currentprivate function get_gutenberg_components_former_meta_boxes() { $data = array( 'categorydiv'=>'taxonomy-panel-category', 'commentstatusdiv'=>'discussion-panel', 'postexcerpt'=>'post-excerpt', 'postimagediv'=>'featured-image', 'tagsdiv-post_tag'=>'taxonomy-panel-post_tag', 'slugdiv'=>'post-link' ); return $data; } // end of get_gutenberg_components_former_meta_boxes()it should be
private function get_gutenberg_components_former_meta_boxes() { $data = array( 'categorydiv'=>'taxonomy-panel-category', 'commentstatusdiv'=>'discussion-panel', 'postexcerpt'=>'post-excerpt', 'postimagediv'=>'featured-image', 'tagsdiv-post_tag'=>'taxonomy-panel-post_tag', 'slugdiv'=>'post-link', 'pageparentdiv'=>'page-attributes' ); return $data; } // end of get_gutenberg_components_former_meta_boxes()It resolves the issue. This fix will be included into the next update.
Vladimir
KeymasterHi Gislaine,
I confirm the issue. It stopped work somehow for the related Gutenberg sidebar sections.
I will try to find a solution and publish a fix.
Thanks for your help.
Vladimir
KeymasterHi,
Can you record short video with settings you made? Or send admin credentials to support [at-sign] role-editor.com in order I can look at your settings on-line.
Vladimir
KeymasterHi,
I found and fixed a bug, related to the filtering categories for Gutenberg. You may try beta version 4.52.b3. It’s available after login from the same download page.
Vladimir
KeymasterHi,
Try this variant:
go to Network Admin -> Settings -> User Role Editor -> Default Roles
and select roles, which you which to grant to new user on sign up in addition to a primary default role.This selection is global for all sites of the multisite network. Take into account that other default roles should exist at the site, in order to be assigned to the new registered users.
Vladimir
KeymasterURE protects by default ‘administrator’ role and users with ‘administrator’ role from each other. You may switch off this protection using filter:
add_filter('ure_supress_administrators_protection', 'ure_supress_administrators_protection', 10); function ure_supress_administrators_protection() { return true; }Vladimir
KeymasterHi,
Thanks for the report about this issue. I will develop a fix ASAP.
Vladimir
KeymasterOpen ‘Post edit’ dialog for ‘editor’ role, select ‘Prohibit’, input admin user ID (digital) to ‘with author user ID (comma separated)’ field.
This will allow edit all posts/pages except created by prohibited user – admin in this case.
Vladimir
KeymasterUpdate for Gutenberg was published with version 4.51.1 (June, 2019) and should work.
Vladimir
KeymasterTo @arceoh:
To show some content for not logged in (guest) visitors only, you use this shortcode [user_role_editor roles=”none”].
Vladimir
KeymasterAll items of WPForms submenu are protected by the same ‘manage_options’ capability. You may try block other items except ‘Entries’ for a role via “Admin menu access” add-on.
Vladimir
KeymasterTry to add this line to your code:
remove_action( 'woocommerce_product_write_panel_tabs', array( $GLOBALS['Product_Addon_Admin'], 'tab' ) );“Product addons” hooks its code somewhere later when ‘woocommerce_product_data_tabs’ filter executed. Thus ‘addons’ tab is not available for manipulation at that moment.
-
AuthorPosts