Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi,
I can not repeat an issue on a provided data copy. All 3 users with ecd_curator role see posts (All – 68, Publshed – 66).
I suppose that it could be some caching problem. Try to add 103 taxonomy back to the prohibited list and make another test.
Vladimir
KeymasterHi,
Is it possible to to get a copy of your site files (without wp-content/uploads) and database to analyse this issue at my local development environment? If Yes, send download link (DropBox or similar) to suport [at-sign] role-editor.com
Vladimir
KeymasterHi Shweta,
‘Apply to all sites’ checkbox takes effect for the ‘Update’ button only. This scheme will work:
1) Rename role;
2) Turn ON ‘Apply to all sites’ checkbox;
3) Click update.Role with this ID will be renamed/created if it does not exist at all subsites of a network. Capabilities of this role will be synchronized.
Thanks for showing me a problem. It’s useful to take a fresh look at a long time existing functionality.
I think now that it will be better to move ‘Appy to All sites’ checkbox from a main form to the update confirmation dialog opened after click on ‘Update’ button, to not confuse users. And may be add ‘Appy to All sites’ checkbox to the dialogs opened for other buttons.
Vladimir
KeymasterHi Andreas,
If you have active ‘Nav Menu Roles’ plugin and wish to use front-end menu access add-on from User Role Editor Pro instead, deactivate ‘Nav Menu Roles’.
If your theme contains some related code, make a context search at theme files for code which inherit from Walker_Nav_Menu_Edit class and look how you can disable it and do not break a theme functionality.Vladimir
KeymasterI see as admin only 3 menu items under top level “Contact” menu: Contact Forms, Add New, Integration.
Did you install some add-on for Contact Form 7 to see the “Database”?
Vladimir
KeymasterRevoke bbPress roles from user via user profile page – “Forum Role” field.
Current version leaves bbPress role assignment and revocation to bbPress itself as it looks for them separately.
Thanks for pointing me on this issue. I should not show bbPress roles at the “Other roles” section of user’s capabilities page. It’s shown already higher at bbPress roles read-only section.
26/07/2017 at 13:14 in reply to: error access message shows when user has correct permissions (4.35.2) #4036Vladimir
KeymasterThanks for letting me know that problem was resolved.
Vladimir
Keymaster_MACOSX folder contains hidden files with the same names as at the original package, but with the content made probably by antivirus software with this string inside: “com.apple.quarantine”. That is all PHP files was placed to a quarantine for some reason.
Vladimir
Keymaster.zip file you provided is not exactly a file, which you can get from a download page after login.
WordPress plugin installation .zip file should not contain any other directories except plugin parent directory –user-role-editor-pro
in our case. Your file contains_MACOSX
folder. May be it’s a reason of security warning?Did you try to upload to a site the exactly that .zip file, which you got from a role-editor.com download page?
Vladimir
KeymasterHi,
Just compared a .zip I got from a Web with my own local copy. It’s identical and so – clear.
I suppose some kind of a “false positive’ from your hosting antivirus software.Share your copy of user-role-editor-pro.zip with me via DropBox or similar service. I will compare it with mine own. Just in order to exclude that it caught a virus on path from you to your server.
24/07/2017 at 02:35 in reply to: Remove superadmin role from the “change role to” menu in user listing #4022Vladimir
KeymasterI added the information about this filter to the end of “Other roles access” add-on documentation page.
24/07/2017 at 01:18 in reply to: Remove superadmin role from the “change role to” menu in user listing #4017Vladimir
KeymasterYes, it’s the same solution. I just changed a name of a custom function which returns FALSE in order to it would correspond to the what it really does. There is no bug in a code I offered above. I tested it before to send to you. Both version of code work. You can use anyone. Or even this 3rd version:
add_filter('ure_not_block_other_roles_for_local_admin','my_not_block_other_roles_for_local_admin'); function my_not_block_other_roles_for_local_admin($flag) { return false; }
This custom filter included into Pro version code and will be there. The only thing which I can make for this point in future – add the checkbox to the URE Pro settings. But anyway its value will be sent to an existing filter
'ure_not_block_other_roles_for_local_admin'
instead of default TRUE, which is sent currently.I plan in future to add custom filters for all options of URE Settings in order URE Pro user can configure all URE functionality seting up a .php file as a must use plugin.
23/07/2017 at 15:58 in reply to: Remove superadmin role from the “change role to” menu in user listing #4015Vladimir
KeymasterIf you wish to change a default behavior of User Role Editor independently from a theme you can setup this code as a Must Use plugin.
Create a .php file, start it from < sign on the 1st row. Copy/paste a code there. Place that file to wp-content/mu-plugins folder. That’s it.23/07/2017 at 14:15 in reply to: Remove superadmin role from the “change role to” menu in user listing #4013Vladimir
KeymasterThanks for all details which helped to reproduce an issue.
Sorry for delay with a solution. I re-tested a similar configuration, got the same result and reviewed my code after that. ‘Other roles access’ add-on restrictions are not applied for single site admins (administrator) role under multisite by default. But it’s possible to change this with a custom filter:add_filter('ure_not_block_other_roles_for_local_admin','ure_not_block_other_roles_for_local_admin'); function ure_not_block_other_roles_for_local_admin($flag) { return false; }
23/07/2017 at 09:43 in reply to: Remove superadmin role from the “change role to” menu in user listing #4011Vladimir
KeymasterThank you for details. One more thing to check, just to be sure:
Login as superadmin, go to “Network Admin -> Users” and check if your test user with ‘administrator’ role does not have ‘Superadmin’ privilege granted there.
It could be a reason why ‘Other roles access’ does not work for ‘Site admin (administrator)’ role. -
AuthorPosts