Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterSend the screenshots of settings in “Admin menu” you made for a role and what menu a user with that role really sees at /wp-admin.
What plugin registered menu items, which you can not block?Vladimir
KeymasterHi,
Define this new CPT with its own user capability type, not the built-in WP ‘post’, not ‘page’, but ‘video’, ‘book’, or similar. User should have ‘edit_videos’, ‘edit_others_videos’ capabilities, etc., after that to get access to this CPT.
Vladimir
Keymaster“Allow not super administrators to create, edit and delete users” option is aimed for the single site admin (user with ‘administrator’ role but without ‘Super admin’ privilege) and help to work with WordPress users. In order to manage BuddyPress members and groups at a selected single site user should have ‘manage_options’ capability. This definitely gives him an access to a lot of other staff.
You can block access to unneeded menus using “Admin menu access” add-on.
Just be accurate with “Block not selected” model there as it’s too restrictive and some functionality could by limited unintentionally. It blocks any link from left side admin menu, which is not directly selected at the menu items list. This includes the links which may differ just by parameters inside the same link.
16/09/2017 at 05:06 in reply to: Multisite bug: Single site administrators cannot see another administrators #4185Vladimir
KeymasterHi,
It’s not a bug. It’s a feature to protect single site admins from each other.
If you don’t need such protection you can switch it off using custom filter ‘ure_supress_administrators_protection’. It takes a single parameter as FALSE default. Return TRUE from your custom function hooked to this filter and any single site admin will see other admins.Vladimir
KeymasterHi,
The latest version does not render [user_role_editor] shortcode for ‘administrator’ role, as there are no restrictions for admin.
I will change this behavior with the next update until the end of September. There were similar requests from other users and I agreed with them.I tested URE shortcode with VC tabs. The issue is related to the same administrator role. Shortcode will work currently with any other role, except ‘administrator’.
16/09/2017 at 04:33 in reply to: Activate Front End Menu Access module not working on my theme #4183Vladimir
KeymasterHi,
This add-on could be not fully compatible with some other plugins or themes which also replace WordPress core Walker_Nav_Menu_Edit class from wp-admin/includes/class-walker-nav-menu-edit.php file. Read this discussion for more details.
Check if it’s not your case.
16/09/2017 at 04:16 in reply to: Create a role to prohibit edition post/page and specify permission to each user #4182Vladimir
KeymasterHi,
May be register users by default without page edit permissions, as ‘subcsriber’ for example? When you are ready to decide what page to allow this user to edit, you can change him a role to ‘editor’ (if he will edit page created by other user) and input a restriction for editing just subset of a page or a single page only.
13/09/2017 at 15:05 in reply to: Fatal error: Uncaught Error: Call to a member function has_cap() #4174Vladimir
KeymasterThanks for your messages.
I use WordPress global $current_user often at User Role Editor.
It’s the 1st message for years about such kind of PHP fatal error. I wonder, why this global variable $current_user is not initialized at your WP installation? Some code removes its value especially or custom authorization process is realized, which does not initialize $current_user for some reason the same way as WordPress does?Vladimir
KeymasterHi Michael,
Yes, there is a way to allow specific pages/posts and ALL events simultaneously. You need to know a custom post type ID of ‘Event Espresso Events’ post type (as it uses at register_post_type() function) to use it in ure_restrict_edit_post_type custom filter provided by URE Pro.
Vladimir
KeymasterHi,
Do you have any information about “WP MF” installations quantity? Is this plugin popular enough to take it into account?
Can you provide me a copy of the latest version of “WP MF” plugin for investigation? If Yes, use Google Drive or DropBox for sharing .zip with support [at-sign] role-editor.com
I setup copies of commercial products from my clients at the local development environment only and use them for testing/investigation purpose only.
Vladimir
KeymasterHi @rheinstars-loeln,
try to add this code to your active theme functions.php file:
add_filter('ure_restrict_edit_post_type', 'exclude_attachments_from_edit_restrictions'); function exclude_attachments_from_edit_restrictions($post_type) { $restrict_it = true; if (current_user_can('author')) { if ($post_type=='attachment') { $restrict_it = false; } } return $restrict_it; }Replace ‘author’ role inside with any other role, for which you need allow access to all attachments in spite of edit restrictions set for posts or pages.
Vladimir
KeymasterIt’s not related to URE Pro. You can deactivate it and re-check.
It could be a caching issue. Check if it will still exists after 12 or 24 hours.
If it’s not related to an older cache and will bother you as a persistent issue, try to deactivate plugins one by one to isolate a conflict reason.
Vladimir
KeymasterDo they search posts? Send me full URL (without domain but with arguments) where redirection takes place. You can make it under admin to copy resulting URL.
Vladimir
Keymaster@sunny, I repeated this issue. Thanks. I will fix it with the next update.
Quick workaround – use “Block selected” model and “Admin menu” restrictions for this role.Vladimir
KeymasterDescribe how it does not work. What’s going wrong? Does user redirected to the admin dashboard or something else?
-
AuthorPosts