Forum Replies Created

Viewing 15 posts - 1,456 through 1,470 (of 2,518 total)
  • Author
    Posts
  • in reply to: Prohibit hides all posts, disregards IDs #4061
    Vladimir
    Keymaster

    Hi,

    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.

    in reply to: Prohibit hides all posts, disregards IDs #4058
    Vladimir
    Keymaster

    Hi,

    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

    in reply to: Rename a role does not cascade to subsites #4047
    Vladimir
    Keymaster

    Hi 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
    Keymaster

    Hi 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.

    in reply to: contact form 7 #4042
    Vladimir
    Keymaster

    I 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”?

    in reply to: Version 4.35.2 – Can't remove role #4037
    Vladimir
    Keymaster

    Revoke 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.

    Vladimir
    Keymaster

    Thanks 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
    Keymaster

    Hi,

    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.

    Vladimir
    Keymaster

    I added the information about this filter to the end of “Other roles access” add-on documentation page.

    Vladimir
    Keymaster

    Yes, 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.

    Vladimir
    Keymaster

    If 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.

    Vladimir
    Keymaster

    Thanks 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;
    }
    
    Vladimir
    Keymaster

    Thank 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.

Viewing 15 posts - 1,456 through 1,470 (of 2,518 total)