Forum Replies Created

Viewing 15 posts - 976 through 990 (of 2,520 total)
  • Author
    Posts
  • in reply to: Download version 4.49 (not 4.49.2) #5372
    Vladimir
    Keymaster

    Hi,

    Right, the latest version you can download from the download page after login to role-editor.com is 4.49.2. Click large read “Download” button to get it.
    I re-tested minute ago with expected result.

    It’s correct and allowed to input your license key to one stage server and update URE Pro automatically.

    Vladimir
    Keymaster

    Hi,

    try this code:

    
    add_filter('ure_post_edit_access_authors_list', 'ure_restrict_authors_list');
    
    function ure_restrict_authors_list($authors) {
        
        $role = 'author';
        $user = wp_get_current_user();    
        if (!in_array($role, $user->roles)) {
            return $authors;
        }
        
        $args = array(
            'role' => $role
        );
        $wp_user_search = new WP_User_Query( $args );
        $users = $wp_user_search->get_results();
        $ids = array();
        foreach( $users as $user ) {
            $ids[] = $user->ID;
        }
        $ids_str = implode( ',', $ids );
        $authors = URE_Utils::concat_with_comma( $authors, $ids_str );
        
        return $authors;
    
    }
    

    Replace ‘author’ role with your role id, like ‘role_b’. Do not forget to add ‘edit_others_posts’ capability to role_b role in order it can edit posts from other authors. Only posts from users with role_b role will be available for editing for any user with role_b role with this code applied.

    in reply to: Role Editor not applyhing changes. #5366
    Vladimir
    Keymaster

    Thanks for sharing this information.

    Vladimir
    Keymaster

    Hi,

    1) role A: Edit restrictions add-on has “Own data only” option. It hides posts created by other authors from the current user at wp-admin posts list page.

    2) role B: There is no criterion for edit restrictions by the role of authors. It’s possible to use tags or categories though. This post may give a starting point.

    in reply to: Membership and Download #5359
    Vladimir
    Keymaster

    Strange. Thanks again. I will make more testing with different ISPs.

    in reply to: Membership and Download #5357
    Vladimir
    Keymaster

    Thank you for the help with testing CF.
    I tested again via other provider and got the same error message. Clicked “Send” button again (as it offered) and message was send. Can you make the same?

    in reply to: Editing User Role #5354
    Vladimir
    Keymaster

    Capabilities assigned to a user via role(s) may be revoked from a user via role(s) only. That’s why such checkboxes are shown in grey color, disabled.

    You can create another role and grant it to a user instead of previous one. You can just revoke role from a user and grant him needed capabilities directly after that.

    in reply to: Membership and Download #5352
    Vladimir
    Keymaster

    Thanks for the message about role-editor.com contact form.
    I re-tested it successfully. I hope it was a temporal networking issue in your case as CF uses Google Recaptcha v.3 service for protection.

    in reply to: Membership and Download #5350
    Vladimir
    Keymaster

    I restored Pro Personal membership for your account.

    There are no any automatic recurring payments applied to role-editor.com subscribers. So you don’t need to cancel subscription in advance.
    role-editor.com will send automatic notification in a week before subscription expiration date and notify you about subscription expiration. That’s it.

    Vladimir
    Keymaster

    WordPress allows to modify a list of available menus via ‘wp_get_nav_menus’ filter.
    I will add UI for this feature to URE Pro at the begin of 2019.

    Vladimir
    Keymaster

    Problem was discussed and resolved by email.

    Vladimir
    Keymaster

    Hi Ron,

    Clarify,
    – What options is not shown at page edit page for your suddenly restricted account (link to screenshot is appreciated)?
    – To what plugin those options belong?

    in reply to: Let Editors see Admins in Users page #5342
    Vladimir
    Keymaster

    It’s possible with ‘ure_supress_administrators_protection’ filter (return true for it) to make users with ‘administrator’ role visible to user who can edit users, but such user will can edit “admin users” then. URE does not offer ‘read-only’ mode for users page.
    So after you switched off a default URE protection for users with ‘administrator’ role you have to:
    1) use ‘map_meta_cap’ filter to block editing users with ‘administrator’ role;
    2) exclude ‘administrator’ role from WordPress dropdown lists in order to prevent creation of new administrators by yor Editors: ‘editable_roles’ filter.

    in reply to: Is it possible to restrict access by category #5341
    Vladimir
    Keymaster

    Hi,

    Yes, it’s possible to limit user or role to publish just into selected category. Use Edit access restrictions add-on for this purpose.

    Vladimir
    Keymaster

    Try to install this code at the stage copy of your site as a Must Use plugin.

    It fires the same code as URE Pro does on user “Update Network” button and replicates current user and its permissions from the main site to all other sites of the network on the ‘woocommerce_checkout_update_user_meta’ action, that is when a user makes successful checkout for his purchase.

    Let me know, how it works at your side. Again, try it at the test copy, do not use it at production site until you are sure that it works as expected.

Viewing 15 posts - 976 through 990 (of 2,520 total)