Forum Replies Created

Viewing 15 posts - 1,711 through 1,725 (of 2,529 total)
  • Author
    Posts
  • in reply to: Custom Roles missing in new Multisite sub-sites #3322
    Vladimir
    Keymaster

    I don’t support a public resource with older versions. What exact version do you need? I will send it to you.

    Vladimir
    Keymaster

    In general, top admin menu bar menu is blocked automatically if its correspondent main admin menu item was blocked.

    In order to block “Yoas SEO” just at top admin menu bar use this code:

    
    add_action('wp_before_admin_bar_render', 'block_top_wp_seo');
    
    function block_top_wp_seo() {
        global $wp_admin_bar;
        
        if (current_user_can('administrator')) {
            return;
        }
        
        $wp_admin_bar->remove_menu('wpseo-menu');
    
    }
    
    

    Insert into the active theme functions.php file for the single site or setup as a “must use” plugin to aplly it globally to all sites.

    https://codex.wordpress.org/Must_Use_Plugins

    Vladimir
    Keymaster

    Hi,

    Open User Role Editor Pro at the Network Admin. Network Admin->Users->User Role Editor and click “Update Network”, then turn ON “Admin menu access restrictions” checkbox.

    in reply to: Custom Roles missing in new Multisite sub-sites #3314
    Vladimir
    Keymaster

    Thanks for the feedback and issue report.

    I can not repeat with the latest version. I just added a new site (Network Admin -> Sites -> Add New) at my test WordPress multisite installation and got there a full list of roles (including custom) at a new created subsite.

    Try again at a development copy of your site with all other plugins deactivated. May be some conflict takes place. Let me know a result.

    in reply to: Enabling Media Library for Authors & Editors #3312
    Vladimir
    Keymaster

    Try to temporally deactivate all plugins except URE to exclude a conflict with some other plugin. Reactivating plugins back one by one can help to isolate a problem.

    in reply to: Jetpack admin menu #3308
    Vladimir
    Keymaster

    Hi,

    1) Do not grant ‘manage_options’ capability

    2) Try to use this code at functions.php or as a Must Use plugin:

    
    add_filter( 'map_meta_cap', 'my_jetpack_custom_caps', 10, 4 );
    
    function my_jetpack_custom_caps($caps, $cap, $user_id, $args) {
        switch( $cap ) {
            case 'jetpack_admin_page':
            case 'jetpack_connect_user':
                $caps = array( 'manage_options' );
        }
        
        return $caps;
    }
    

    It will replace ‘read’ capability (used at Jetpack by default) with ‘manage_options’.

    in reply to: Visual Composer Role Manager issues #3306
    Vladimir
    Keymaster

    I don’t have a solution on hands. There were no similar reports until today. I will look if it’s possible to activate VC for custom post type programmatically.
    It would be good to contact VC support also.

    Vladimir
    Keymaster

    Correct. Only roles and capabilities are exported currently.

    Export of settings made for roles via additional modules (add-ons) is a subject of the further development. I will realize this with time.

    Vladimir
    Keymaster

    Hi,

    It’s correct to enclose other shortcode inside of URE’s shortcode. It works.
    Check if ‘gravityview_view_entries’, ‘gravityview_view_others_entries’ capabilities are granted to ‘comm_member_research’ role.

    Vladimir
    Keymaster

    If all 3 users added to this subsite have an ‘administrator’ role, then any current user (except superadmin) with ‘administrator’ role will not see other users with the same role and see the empty users list. URE adds this protection to exclude a case when one single site administrator changes permissions for another.

    If you trust to all single site administrators it’s possible to switch off this protection using ‘ure_supress_administrators_protection’ filter. It returns ‘FALSE’ by default. If you will return ‘TRUE’ from this filter then protection will be switched off.

    
    add_filter('ure_supress_administrators_protection', 'ure_supress_administrators_protection', 10, 1);
    function ure_supress_administrators_protection ($supress) {
      return true;
    }
    

    Just insert code above to your active theme functions.php file.

    WordPress assigns roles to users on a per site basis. So if user has an ‘administrator’ role at one site it does not mean that he has the same role at all subsites automatically.
    When you open user’s capabilities at the “Network Admin Center->Users” you see role assigned to a user for the main site only (usually ID=1).
    If you wish that user has the same role for all network you can click “Update Network” button. The important condition – this role should exist for all subsites.
    In order to replicate all roles from the main site to all subsites you can click “Update Network” from “Network Admin->Users->User Role Editor”. Then all subsites will have the same roles and capabilities as the main site has.

    in reply to: "Confirm Email" Permissions #3285
    Vladimir
    Keymaster

    Hi David,

    What plugin do you use to confirm email-addresses? Send a download link.
    If it’s a paid product send its copy to support [at-sign] role-editor.com for the investigation.

    Vladimir
    Keymaster

    Yes, send me a link to your video. You can send it directly to support email.

    I do not resolve support questions via online sessions. If that’s possible I may look at your site directly with superadmin permissions.

    From what date (month, year) older version may help?

    in reply to: Woocommerce report #3277
    Vladimir
    Keymaster

    Hi,

    Do you restrict some admin menu items for this role with “admin menu access” add-on?

    in reply to: Job-Manager and User Role Editor #3276
    Vladimir
    Keymaster

    Hi,

    Job Manager uses WordPress built-in capabilities for its menu protection:

    Job Manager publish_posts
    Settings manage_options
    Add Job publish_posts
    Jobs publish_posts
    Applications read_private_pages
    Emails read_private_pages
    Interviews read_private_pages

    You can use “Admin menu access” add-on to block for the role of this user the access to the unneeded menu items, which will become available for it with capabilities above together, like “Settings”.

    Vladimir
    Keymaster

    Will something change if you deactivate URE temporally? If not, try to deactivate all plugins and then activate them back one by one to isolate a problem.

    Do you have “Other role access” add-on active? Did you set any restrictions for administrators with this add-on?

Viewing 15 posts - 1,711 through 1,725 (of 2,529 total)