Forum Replies Created

Viewing 15 posts - 631 through 645 (of 2,518 total)
  • Author
    Posts
  • in reply to: Woocomerce product page redirects #6641
    Vladimir
    Keymaster

    Hi,

    Show screenshot with example of Content View Restrictions settings for product page, which does not work.

    in reply to: Settings to show WP admin Bar on Front End #6638
    Vladimir
    Keymaster

    Code for membership_manager role only will be looked this way:

    
    add_filter( 'woocommerce_disable_admin_bar', '_wc_disable_admin_bar', 10, 1 );
    function _wc_disable_admin_bar( $disable ) {
     
        $user = wp_get_current_user();
        if ( !is_a( $user, 'WP_User') || !is_array( $user->roles ) ) {
            return $disable;
        }
        if ( !in_array( 'membership_manager', $user->roles ) ) {
            return $disable;
        }
    
        return false;
    }
    
    in reply to: Settings to show WP admin Bar on Front End #6637
    Vladimir
    Keymaster

    Read this article. Look if it’s related to your task and code below may help you:

    
    add_filter('woocommerce_disable_admin_bar', '_wc_disable_admin_bar', 10, 1);
     
    function _wc_disable_admin_bar($prevent_admin_access) {
     
        return false;
    }
    
    in reply to: Access to Redirection Plugin #6632
    Vladimir
    Keymaster

    @petereloy,

    If you have other plugins which use ‘manage_options’ you may block admin menu items created by those plugins using Admin menu blocking add-on.

    Vladimir
    Keymaster

    I hope disabling all the options to limit my VAs is secure for the website

    Login under restricted user and try input to the browser a link so any blocked admin menu item. You will see that user can not access it. URE will redirect user to the 1st available admin menu item.

    I recommend though, revoke from a role all unneeded capabilities 1st and use admin menu blocking add-on only after that step.

    Vladimir
    Keymaster

    Thanks for the good feedback.
    Look at the edit restrictions add-on.
    You can set “Own data only” option for this user.
    In general, user with active edit restrictions will see only posts/pages which he can edit.

    in reply to: I cant update 4.50.3 to 4.55 #6628
    Vladimir
    Keymaster

    You license key is active. Try to take it from your account page and input again to URE’s settings page.

    I did not find any compatibility issues with PHP 7.3. Both versions of URE should be compatible.

    Vladimir
    Keymaster

    Activate this add-on and open “Admin menu” at URE for ‘administrator’ role. Look what capability protects menu of that plugin. Grant that capability to a role, which will work with that specific plugin.

    in reply to: Limit Access to custom post types #6620
    Vladimir
    Keymaster

    Is ‘upload_files’ capability granted to a role?

    in reply to: Feature request to support WP Media Folder Plugin #6617
    Vladimir
    Keymaster

    I got this error: http://www.cob.org’s server IP address could not be found.

    I will try again later.

    in reply to: Editors can’t see media library attachments #6614
    Vladimir
    Keymaster

    I need to look at your setup. If that’s possible, send URL and admin credentials to support [at-sign] role-editor.com

    in reply to: Feature request to support WP Media Folder Plugin #6613
    Vladimir
    Keymaster

    Thank you for suggestions.

    Unfortunately, we did not make yet any step forward in this direction. We even exchanged with WPMF developer by couple of messages, but without visible result :).

    If you can again share with me the latest version of WPMF (via DropBox or Google Drive), I will look if WPMF includes any hooks to filter Media Library items it shows. I don’t promise a quick progress though.

    in reply to: Post edit access enhancements #6612
    Vladimir
    Keymaster

    Thank you for the suggestions. I will take them into account for further development.

    Vladimir
    Keymaster

    Hi,

    Set ‘access error action’ for page B to ‘404 HTTP error’. This option excludes page from all WordPress listings.

    in reply to: how to use siteorigin page builder to get role #6603
    Vladimir
    Keymaster

    Generally to check needed permissions for admin menu item: open “Admin menu” for the ‘Administrator’ role and look at the “Capability” column for the menu item.

    Some plugins may use conditional check before create admin menu – if user has administrator role. I need access to the source code of plugin in order to look what permissions it requires. If you need further help share plugin’s .zip via Google Drive or DropBox (support [at-sign] role-editor.com ).

Viewing 15 posts - 631 through 645 (of 2,518 total)