Forum Replies Created

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

    Hi Frederick,

    Thanks for the feedback. Yes, it’s possible to at URL parameters into “allowed” list.
    Send me a full URL (without domain) in order I know exactly what WooCommerce option you change.

    in reply to: from free version to pro version #3649
    Vladimir
    Keymaster

    OK.
    Excuse for the typo: ‘lose’ except of ‘use’ of course – edited above.

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

    Hi Shweta,

    Yes, correct. ‘Grant Roles’ replaces all roles granted to user including a primary role.
    I will look how to achieve this: using custom filter for example or something else.

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

    Non-admin user still can use WordPress’s “Change role to”. So if there is no urgent need to grant users multiple role you can use this recipe as it is. In order to grant multiple roles – wait a next update of URE and URE Pro.

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

    Hi,
    It’s possible to hide ‘Edit’ link under every user row at users.php and block access to user profile editing adding this code to functions.php of active theme:

    
    add_filter('user_row_actions', 'custom_user_row_actions', 10, 2);
    function custom_user_row_actions($actions, $user) {
        
        if (current_user_can('user-manager')) {
            unset($actions['edit']);
        }
        
        return $actions;
    }
    
    add_action('admin_head', 'custom_block_user_profile', 101);
    function custom_block_user_profile() {
            
        $url = strtolower($_SERVER['REQUEST_URI']);
        if (strpos($url, 'user-edit.php')===false) {
            return;
        }
        if (!current_user_can('user-manager')) {
            return;
        }
        
        $url = admin_url() .'/users.php';
        if (headers_sent()) {
    ?>
    <script>
        document.location.href = '<?php echo $url; ?>';
    </script>    
    <?php
                die;
            } else {
                wp_redirect($url);
            }
    }
    

    So it seems that task was resolved as users.php has a “Grant Roles” button. But I discovered a problem here with your help. Thanks. User without ‘ure_manage_options’ capability can not use “Grant Roles” button. He will get “Not enough permissions” error message on a try to change user’s roles. It’s really wrong.

    So I have to update base version of ‘User Role Editor’ to fix this issue. Let’s wait a next update – about a week.

    Vladimir
    Keymaster

    You can insert your version of a code into active theme’s functions.php file.

    Vladimir
    Keymaster

    This filter offer a workaround especially for similar cases:

    ure_restrict_edit_post_type

    Exclude you events custom post type from the edit restrictions using this filter.

    in reply to: Smart Slider 3 access #3630
    Vladimir
    Keymaster

    Hi Michi,

    SmartSlider added these custom user capabilities:
    smartslider
    smartslider_config
    smartslider_delete
    smartslider_edit

    So I think you need to grant to your user at least: smartslider, smartslider_edit, smartslider_delete user capabilities to give him access for editing sliders.

    in reply to: Role access based on page template #3629
    Vladimir
    Keymaster

    Thank you for this remind.
    I still plan to realize your suggestion, next month possibly.

    in reply to: Smart Slider 3 access #3628
    Vladimir
    Keymaster

    Hi Michi,

    Send me SS3 plugin copy (support [at-sign] role-editor.com
    I will check what permissions it requires.

    in reply to: URE pro 4.34 and Max Mega Menu #3627
    Vladimir
    Keymaster

    The bug was discovered and fixed with version 4.34.1

    in reply to: Is renaming role safe? #3615
    Vladimir
    Keymaster

    Yes, it’s safe to rename WordPress built-in roles.
    Role has 2 attributes: ID and name. WordPress and plugins use role ID internally, but shows to a user role name. When you rename role – User Role Editor changes the role name only, but ID will stay the same. So when you rename ‘Administrator’ to ‘Power user’, renamed role still will have the id ‘administrator’. You will see in the URE’s drop-down list ‘Power user (administrator)’, for example.

    Vladimir
    Keymaster

    Hi,

    Thanks for letting me know that an issue was resolved.

    Yes, when you wish to replicate all roles, admin menu, widgets, meta boxes permissions from the main site to the all other subsites of the network you should use “Network Admin->Users->User Role Editor->Update Network” button.

    When you wish to replicate from the main site to other network just one selected role you can turn On the “Apply to All Sites” checkbox at the main site “Users->User Role Editor” before click “Update” button there.

    This feature is inherited from a free version. I didn’t hide it for Pro one.

    in reply to: from free version to pro version #3593
    Vladimir
    Keymaster

    Hi,

    You will not lose anything if you follow the recommendation from Pro version readme.txt:

    In case you have a free version of User Role Editor installed:
    Pro version includes its own copy of a free version (or the core of a User Role Editor). So you should deactivate free version and can remove it before installing of a Pro version.
    The only thing that you should remember is that both versions (free and Pro) use the same place to store their settings data.
    So if you delete free version via WordPress Plugins Delete link, plugin will delete automatically its settings data.
    You will have to configure User Role Editor Pro Settings again after that.
    Right decision in this case is to delete free version folder (user-role-editor) via FTP, not via WordPress.

    in reply to: URE pro 4.34 and Max Mega Menu #3592
    Vladimir
    Keymaster

    Hi Wolfgang,

    Thanks for this information. It would be good to look on a screenshot of broken menu (use some public resource or send it directly to my support email). I will try to reproduce and isolate the issue.

    Can you test if this problem disappear if you turn Off ‘Front-end menu access add-on’ with version 4.34?

Viewing 15 posts - 1,606 through 1,620 (of 2,529 total)