Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterWidget placed on sidebar is available for everyone by default. That’s why access rule has “Do not show” condition only.
Workaround for the describe issue do not grant to the same user role with different access rule for the same widget. May be create a copy of a role, but without restriction to see a widget and grant it to this user instead of a previous one.
Vladimir
KeymasterI got it. Thank you. I will work on the update.
Vladimir
KeymasterHi Bjorn,
Good suggestion. Can you provide me a copy of WPML plugins (via DropBox or Google Drive)? I would look how they link posts with different languages and try to hook content view restrictions settings from the main language to other post copies.
Vladimir
KeymasterHi,
WPML uses other page instance (db record) for the other language, for which you did not set content view restriction. I don’t have test WPML setup. Check if it’s possible to setup content view restriction for the page copy which you open for English language.
Vladimir
KeymasterHi Olivier,
Look at WPML documentation or ask their support how to set permission at WPML itself for other language for translators? May be you need to add a user to the translators list also.
As I mentioned earlier, if ‘Activate “Create” capability for posts/pages/custom post types’ option at URE Settings is turned ON, role requires “create_posts” capability in order to see “Posts->Add new” menu item. The same is true for other post types.
Vladimir
KeymasterURE shows full admin menu for the ‘administrator’ role only. URE shows admin menu items to which selected role has access only – for all other roles.
Do you see mentioned menu item if you open “Admin menu” for the “administrator” role? Look what capability protects needed menu item there. It will appear at the “Admin menu” for other role after you will grant that capability to a role.
Vladimir
KeymasterGo to the “Settings->User Role Editor”. Is license key active there? If it does not input your license key there again. Check update process after that.
Vladimir
KeymasterThere is no custom order functionality for admin menu in User Role Editor Pro.
Look at Admin menu editor plugin.Vladimir
KeymasterYes, we can. There is a hook to add additional option for roles.
Code below adds “Add custom CSS” additional option. Custom CSS will be added to the backend for the selected role once you turn this option ON for it.add_filter('ure_role_additional_options', 'ure_custom_backend_css_option', 10, 1); function ure_custom_backend_css_option($items) { $item = URE_Role_Additional_Options::create_item('custom_backend_css', esc_html__('Add custom CSS', 'user-role-editor'), 'admin_init', 'ure_add_custom_backend_css'); $items[$item->id] = $item; return $items; } function ure_add_custom_backend_css() { add_action('admin_head', 'ure_custom_backend_css'); } function ure_custom_backend_css() { ?> <style> # URE custom CSS here </style> <?php }I set this code as a Must Use plugin for testing.
Vladimir
KeymasterOK. I need to make my own tests with it. What about access to the plugin or theme which registered those menu items?
If it’s not critical for your data, you can export your site (without wp-uploads) using UpdraftPlus plugin and share files with support [at-sign] role-editor.com via DropBox or Google Drive.Vladimir
KeymasterHi,
Give me more details. Did you use “Admin menu access” add-on to block those menu items? If yes, what is going wrong?
Does user still can open the linked URL?
Can you provide access to plugin or theme which registered those menu items/URLs?Vladimir
KeymasterHi,
Do you use the latest version of URE Pro 4.47.2?
Additional options section view for the current role was not refreshed properly after other current role selection until version 4.47.1. So it would show not real value set for the current role.Will user see top admin menu bar if you deactivate temporally all plugins? If yes, activate plugins back one by one to isolate a reason.
Vladimir
KeymasterHi,
Look if “Show Toolbar when viewing site” option is turned ON at this user profile page.
Vladimir
KeymasterThis change may produce PHP fatal error in some cases as URE Pro v. 4.47.2 uses some PHP functions available at PHP 5.4 only.
I recommend to revert installed URE Pro to the previous version – 4.47.1. You can get it from the same download page – scroll to “Previous versions” section and select version from the list. Just replace user-role-edito-pro folder with files from 4.47.2. There was no any changes in the used data format.
-
AuthorPosts