Forum Replies Created

Viewing 15 posts - 526 through 540 (of 2,518 total)
  • Author
    Posts
  • in reply to: unable to select custom post category #6935
    Vladimir
    Keymaster

    ‘manage_options’ capability is not related. Try to add ‘edit_posts’. It may be required in case if taxonomy was defined with default additional parameters.

    in reply to: Editor can create tags but can’t see them #6929
    Vladimir
    Keymaster

    Hi,

    By default he should.
    Did you apply edit restrictions to this user or his role by category ID? If No, try to deactivate all plugins and make new test. Will it change something?

    in reply to: Let view only the pages made by the user #6923
    Vladimir
    Keymaster

    Hi,

    Post/Pages edit restrictions add-on will help. Go to the user profile and turn ON the “Own data only” option at the “Post/pages editor restrictions section” with “What to do”-“Allow” option together.

    in reply to: My additional Modules doesn’t work #6921
    Vladimir
    Keymaster

    Look at the browser “Developer Tools->Сonsole” for JavaScript error messages. If you have one User Role Editor will can not open dialog window as it was built on jQuery UI.

    in reply to: Cannot see Admin Menu #6919
    Vladimir
    Keymaster

    If it’s OK for you, send admin login credentials and URL to support [at-sign] role-editor.com
    I will look tomorrow, what may go wrong.

    in reply to: Cannot see Admin Menu #6916
    Vladimir
    Keymaster

    You should not enable this capability for shop_manager, until you do not plan to allow change “Admin menu” restrictions to shop_manager role.

    Do you write about single site WordPress or multisite? Under multisite you have to use “Network Admin->Settings->User Role Editor” if URE Pro is network activated or local “Settings->User Role Editor” for the single site.
    Double check if URE was not activated for single site before you activated it for the whole network. Because it can use other copy of options in such case.

    in reply to: Cannot see Admin Menu #6914
    Vladimir
    Keymaster

    Hi,

    Login as an administrator, go to Users->User Role Editor and look if your role has ‘ure_admin_menu_access’ capability granted at the ‘Custom capabilities->User Role Editor’ group.

    Vladimir
    Keymaster

    OK. Thanks for sharing.

    Vladimir
    Keymaster

    Thanks for the feedback about successful testing.

    Vladimir
    Keymaster

    Just replace roles in the $roles array with your own roles ID:

    
    add_filter('woocommerce_settings_tabs_array', 'change_wc_settings_tabs', 30);
    
    function change_wc_settings_tabs( $pages ) {
        
        $roles = array(
            'role1',
            'role2',
            'role3'
        );
        $user = wp_get_current_user();
        foreach( $roles as $role ) {
            if ( in_array( $role, $user->roles ) ) {
                //unset( $pages['general']);      // General
                //unset( $pages['products']);     // Products
                //unset( $pages['tax']);          // Tax
                unset( $pages['checkout']);       // Payments
                //unset( $pages['account']);        // Accounts & Privacy
                //unset( $pages['email']);          // Emails
                //unset( $pages['advanced']);       // Advanced
            }
        }
      
      return $pages;
    }
    
    in reply to: Delete or hide standard password text #6894
    Vladimir
    Keymaster

    Hi,

    WordPress 5.4.1 does not contain such phrase “Type your password”. I suppose it may belong
    to the active theme or some plugin. Any way I don’t have a solution which may help you with your goal.

    Look at the ready to use plugins at https://wordpress.org/plugins
    Search for “custom registration form” return at least 2 plugins which offers such functionality.

    Vladimir
    Keymaster

    Thanks you for the additional information.

    I see at the screenshot the bbPress roles in the list of the blocked roles. Users may have more then a single role granted at the same time. Take into account that when some roles are blocked for the role A, user with role A sees at the “Users” list only users who have allowed (not blocked) role(s). Thus, if new created user has the secondary bbPress role ‘participant’ assigned, user with role A will not see such user, as one of his roles is blocked for him.

    in reply to: Registratios of The Events Calendar #6881
    Vladimir
    Keymaster

    Hi,

    The “Events->Registrations” admin menu item is protected by ‘edit_posts’ user capability. You have to grant it to the role, in order allow user with that role to see this menu item.

    Admin menu in URE shows only menu items which are available/visible for a role.

    Vladimir
    Keymaster

    Following to your description, user with Role A should see all users with role B or C. It’s by design. Show screenshots of role A, and “Other Roles” opened for role A. You need host screenshots somewhere else and insert here the links only or send images to my support email.

    in reply to: Adding plugin #6874
    Vladimir
    Keymaster

    Hi,

    Some plugins check user permissions not via user capability as they should by WordPress design, but check directly the role ID, like in this case with “User Login History”. You can see this yourself using “Admin menu” button for the ‘Administrator’ role:
    user login history admin menu permissions

    Looking into the ULH plugin source code for the ‘admistrator’ keyword just confirms this:
    User login history use administrator role

    You can replace ‘administrator’ in the source code with user capability, like ‘manage_options’ or your own. This is the only workaround until plugin developer will not agree to change direct usage of ‘administrator’ to user capability of his selection.

Viewing 15 posts - 526 through 540 (of 2,518 total)