Forum Replies Created
-
AuthorPosts
-
VladimirKeymaster
Hi Caroline,
If you did not register new account, but upgraded your older account, the license key is still the same. Update server caches responses for 6 hours. I cleared its cache. Try again. You should receive a response according to the actual state of your license key.
VladimirKeymasterIn case you work with single site WordPress installation role should include ‘unfiltered_html’ capability. You can find it at the ‘All’ or ‘Core’ capabilities groups.
In case you work with multisite WordPress then ‘unfiltered_html’ capability does not active by default for security reasons. It’s possible to enable it back using special option at ‘Settings->User Role Editor->Multisite’ tab.
Thanks for your help. I discovered that ‘unfiltered_html’ was not included into the ‘Core->General’ group, but it should. This fix will be published with a next update.
19/02/2017 at 06:57 in reply to: URE_WP_ADMIN_URL returns admin URL before filters are applied #3375VladimirKeymasterHi,
Thanks for letting me know that your issue was resolved.
I will think, it would have sense to replace this constant with a direct admin_url() call through all code.VladimirKeymasterI can’t use “Block Not Selected” if I’m working with custom post types – as these are always edited with a URL similar to “wp-admin/post.php?post=nn&action=edit’. Is that correct?
No, in general, it’s possible to use “block not selected” option with custom post types. I suppose, that a possible source of a problem in your case is that the link like ‘wp-admin/post.php?post=nn&action=edit’ would be associated with one of the existed (but not selected and thus blocked) admin menu item, created by a theme or plugin. URE does not block any link except selected, just not selected links included into admin menu should be blocked.
Try to look for similar URL at the list of URLs shown at the dialog window when you click ‘Admin menu’ for the role. Is there such URL? To what plugin does it belong?
VladimirKeymasterHi Donal,
When you select a menu item to be blocked, URE does not simply hides it. URE blocks the URL assigned to the hidden menu item. Any try to use blocked URL leads to the redirection to URL, assigned to the 1st available (not blocked) menu item.
When we work with ‘block not selected’ model – all URLs from the main admin menu except apparently selected become blocked. So I suppose that you have some menu item with similar URL, like ‘wp-admin/post.php?post=nn&action=edit’ and it’s counted as blocked.
I can not repeat described situation at my development environment though, as I don’t have supposed menu item.
All selected URLs under “block selected’ model should be really blocked. Can you show an example when you turn ON some checkbox but still can access that URL typing it directly at a browser address bar?
Combining “Admin menu access” data from multiple roles assigned to the same user, you have to take into account this logic:
– assigned restrictions take effect in the assigned roles order. Admin menu blocking data from the 1st (primary) role takes effect always;
– data from the rest roles are taking into account only if they use the same blocking model. For example, if the 1st role has ‘block selected’ model, but the 2nd role has ‘block not selected’ model, the 2nd role ‘admin menu access’ data is ignored.
– ‘admin menu access’ data from other roles with the same blocking model are added to the data from the 1st role.If you have an example when the rules described above don’t work, let’s discuss it. I will try to repeat the situation and fix the bug if we discover it.
VladimirKeymasterThanks for letting me know that problem was resolved.
User Role Editor includes control of input characters for role ID and does not allow spaces inside it. I did not suppose that you created new roles beyond User Role Editor.
VladimirKeymaster1) Try with default WordPress 2017 theme, as theme code may be involved too.
If it will not isolate conflict,
2) Setup development copy of your site to which you can give me admin access. I will search a reason of this problem myself.VladimirKeymasterI suppose a conflict with some other plugin. Try to deactivate all other plugins temporally. Will it help? Then activate them back one by one to isolate a conflicting code.
Then I will try to repeat your issue testing URE with that plugin together.VladimirKeymasterTry to deactivate all plugins except User Role Editor to isolate a conflicting one.
I may take a look on-line if you send admin credentials to support [at-sign] role-editor.com
VladimirKeymaster“Edit posts restrictions” – “Activate user access management to editing selected posts/pages” at the “Content editing restrictions section”:
VladimirKeymasterCheck browser JavaScript console if it has any JavaScript errors. It’s possible that jQuery doesn’t work correctly at user profile for that reason.
As a workaround you can assign a second role to the user via “Capabilities” link under that user at the users list or if you click “Edit” link to the right from the “Capabilities” label.
VladimirKeymasterCorrect, every subsite at WP multisite has its own options table db_prefix + blog_id + ‘options’. So we have to make select against every wp_i_options table for every subsite.
uninstall.php is executed inside WP only when you delete plugin at “Plugins” page by click at the ‘Delete’ link. I offered to look at the code to get the idea, where URE stores its data.
Do you see any roles at subsites? Just to check lost you them or no after db prefix change.
I suppose that you have access to “Network admin->Plugins”. So you can network deactivate “User Role Editor Pro”. Click ‘Delete’ under its row after that to fully delete User Role Editor Pro.
1st, try to network deactivate/activate back User Role Editor Pro. Plugin tries to restore its own user capabilities at activation in case they are lost.
VladimirKeymasterThe same result I got for the ‘Edit posts restrictions’ add-on: When user was granted 2 roles, where 1st is allowed to edit 1 category, but 2nd is allowed to edit 2 category only, such user is allowed to edit (see at the Posts list) posts from the both categories simultaneously.
Re-check your settings for roles and user and show screenshot if a problem will stay unresolved.
VladimirKeymasterHi,
Example below is shown for the default db prefix ‘wp_’.
1st, WordPress core stores user roles with capabilities at wp_options db table at option name ‘wp_user_roles’:
SELECT * FROM wp_options WHERE option_name='wp_user_roles';
If db prefix was changed, WP will not find its user roles.
2nd, look at the user-role-editor-pro/uninstall.php
You will see there where URE Pro stores its settings and additional modules data and how to delete theme using SQL tool.It does not prevent access to the Users->User Role Editor menu. It seems you lost user roles, so try to change user roles option_name value using new db prefix.
VladimirKeymasterHi,
Just retested ‘Content view restrictions’ add-on: user with 2 roles can view together posts with category 1 allowed for the 1st role and posts with category 2 allowed for the 2nd role.
-
AuthorPosts