Forum Replies Created

Viewing 15 posts - 1,006 through 1,020 (of 2,553 total)
  • Author
    Posts
  • in reply to: see CPT UI custom post type in Menus #5379
    Vladimir
    Keymaster

    OK. I looked at the WordPress source code.
    I don’t see any access conditions for this sections at nav-menu. They are the usual meta boxes registered for this page.
    Look at the “Screen Options” at the top of the nav-menus.php page, just in case if a “Projects” checkbox is not turned ON for this user.

    in reply to: see CPT UI custom post type in Menus #5377
    Vladimir
    Keymaster

    Just a guess, is there at least one project available for editing to this custom role at wp-admin?

    in reply to: see CPT UI custom post type in Menus #5375
    Vladimir
    Keymaster

    Hi Jase,

    Is this custom post type visible at admin menu (wp wp-admin)?
    ‘Pages’ is a WordPress built-in post type. Your custom post type should be visible at menu editor page as a separate widget, like ‘Projects’ at your screenshot.

    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?

Viewing 15 posts - 1,006 through 1,020 (of 2,553 total)