Forum Replies Created

Viewing 15 posts - 1,576 through 1,590 (of 2,529 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    OK. Thanks for letting me know.

    Vladimir
    Keymaster

    Hi,

    Are those ACF meta boxes available to the admin user?
    Did you check a screen options at the top of a Property editor page?

    in reply to: Custom User Edit Page #3737
    Vladimir
    Keymaster

    Hi Frederik,

    Good point! Fixed. Try the updated beta version 4.34.2.b3

    in reply to: Custom User Edit Page #3731
    Vladimir
    Keymaster

    Beta 2 of version 4.34.2 is available after login from download page.

    Related changes:

    • Update: Core version: “Users->Grant Roles” button worked only for superadmin or user with ‘ure_manage_options’ capability. User with ‘edit_users’ can use this feature now.
    • New: Core version: Boolean filter ‘ure_users_select_primary_role’ can hide ‘Primary role’ selection controls from the user profile edit page. Boolean filter ‘ure_users_show_wp_change_role’ can hide “Change Role” bulk action selection control from the Users page. So it’s possible to configure permissions for user who can change just other roles of a user without changing his primary role.

    Custom filter samples:

    
    add_filter('ure_users_select_primary_role', 'ure_users_select_primary_role');
    function ure_users_select_primary_role($show) {
        $show = false;
        
        return $show;
    }
    
    add_filter('ure_users_show_wp_change_role', 'ure_show_wp_change_role');
    function ure_show_wp_change_role($show) {
        $show = false;
        
        return $show;
    }
    
    in reply to: Custom User Edit Page #3726
    Vladimir
    Keymaster

    Hi Shweta,

    It’s almost ready, but needs some additional testing before publishing. Can you test the updated version 1st at a stage environment?

    Vladimir
    Keymaster

    Yes, functions.php. You have to use role ID in a code:

    
    add_filter('wf_user_permission_roles', 'wf_user_permission_roles');
    
    function wf_user_permission_roles($roles) {
    
        $roles[] = 'manager';
        $roles[] = 'orders';
    
        return $roles;
    }
    
    Vladimir
    Keymaster

    FedEx shiping plugin allows to use ‘Generate Packages’ feature to users with ‘administrator’ or ‘shop_manager’ role only by default. Good news – the plugin offers a custom filter ‘wf_user_permission_roles’ which you can use to add your own role to this predefined list, like this:

    
    add_filter('wf_user_permission_roles', 'wf_user_permission_roles');
    
    function wf_user_permission_roles($roles) {
    
        $roles[] = 'wc-orders-manager';
        
        return $roles;
    }
    
    Vladimir
    Keymaster

    Adding new view_admin_dashboard capability is enough. It was added recently. Custom filter is a former method to manage this issue.

    Vladimir
    Keymaster

    You can use view_admin_dashboard capability for access to wp-admin with active WooCommerce. Read this article for more details.

    Vladimir
    Keymaster

    Got a plugin. I will look at it.

    Vladimir
    Keymaster

    WooCommerce->Settings is protected by ‘manage_woocommerce’ capability.
    1) you can revoke it from a role to exclude this menu item from user access;
    or
    2) if you need to leave access to other menu items protected by the same capability (System Status, Extensions), you can use Admin menu access add-on to block this menu item.

    I need access to WooCommerce FedEx plugin in order to check what permissions it requires to print labels. You can send its copy to support [at-sign] role-editor.com
    I install such products at local development environment and use for testing/investigation purpose only.

    in reply to: Can't activate due to Fatal Error #3698
    Vladimir
    Keymaster

    Hi Fred,

    Check that all URE Pro files are copied to the live environment. It seems that some files are missed or have wrong permissions.
    Error message is about class defined at this file: user-role-editor-pro/includes/plugin-update-checker.php

    Compare PHP version also. Your live environment can have an older PHP version.

    in reply to: Allow settings section to editor role #3692
    Vladimir
    Keymaster

    Hi,

    “Settings” menu is protected by ‘manage_options’ user capability.
    ‘manage_options’ is used by other plugins. If that’s needed, you can block menu items unneeded to ‘editor’ role using Admin menu access add-on.

    Vladimir
    Keymaster

    User Role Editor does not offer a redirection option currently. Look at redirection plugins from wordpress.org/plugins repository.
    Thanks for suggestion. As you are not the 1st person who asked about a redirection feature instead of HTTP 404 or simple access error message, I will consider to add it to one of a future updates.

    in reply to: Select Posts Setting is not saved #3688
    Vladimir
    Keymaster

    Hi,

    URE does not restrict its functionality at localhost. I tried and could not repeat an issue. Category ID was saved as expected.

    Pay attention that code expects a digital category ID (e.g. 12), not its character slug (e.g. ‘member-posts’). Go to the Posts->Categories page, take category ID from there and input it as a restriction for a selected role.

Viewing 15 posts - 1,576 through 1,590 (of 2,529 total)