• Resolved Lion73

    (@lion73)


    Hi all, It seems that with version 2.1.3 the “User Roles to Display” function in the “Menner directory” no longer works properly. in the corresponding member directory, all users are displayed, even if specific roles are selected.
    Thanks for your attention.
    Lion

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Lion73

    (@lion73)

    The problem reported above is solved but 2 things remain:

    1) In member grid “edit profile” button is also visible on the member tab of which the user cannot edit the profile. Although clicking on the profile opens it in read-only profile. However, it is not a good thing.

    2) In member directory – Search oprion – Choose filter(s) meta to enable
    Only the default fields are visible in the frontend only if the user is logged in.
    If user is logged out custom fields are not visible.

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @lion73

    1) Please make sure that you use default members-grid.php or members-list.php template files.

    2) Please check the custom fields privacy settings https://www.screencast.com/t/BNMFh6EQM

    Let me know,
    Thanks!

    Thread Starter Lion73

    (@lion73)

    Ho nsinelnikov,
    1) Sure I use default member-grid.php

    About this I would like to ask you one thing.
    Before member’s name in grid, I need to display the title (e.g. Mr., Mrs., etc).
    Up to version 2.1.2 it was enough to add before {{{user.display_name_html}}}
    {{{user.title}}} where title is Title metakey and everything worked properly.
    In version 2.1.3 this no longer works. Why?

    2) Privacy settings for customized fields is set to “Only visible to profile owner and prifile roles”.
    But, if the member directory is for example MANAGER where all managers are displayed, if manager role in “Administrative Permissions – Can edit these user roles only” is set to change only the “employee” role and not “manager”, in the manager list the manager user should see the Edit Profile button only in his tab.

    Thread Starter Lion73

    (@lion73)

    nsinelnikov are you there?

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @lion73

    Sorry for the delay, there was a lot of staff with preparing 2.1.4 release.

    1) Please make sure that you add ‘title’ to the user object response from AJAX.

    function add_user_title( $data, $user_id, $directory_data ) {
    $data[‘title’] = get_user_meta( $user_id, ‘title’, true );
    return $data;
    }
    add_filter( ‘um_ajax_get_members_data’, ‘add_user_title’, 10, 3 );

    2) Could you clarify the 2nd issue? Some screenshots or links will be very helpful. Unfortunately, I don’t fully understand the connection between Edit Profile in the member directory and fields’ privacy settings.

    Let me know,
    Regards

    Thread Starter Lion73

    (@lion73)

    Hi nsinelnikov,
    1) Perfect, thank you!
    2) How can I send you screenshots? Here it is not possible sending images…
    Regards
    Lion

    • This reply was modified 4 years, 11 months ago by Lion73.
    • This reply was modified 4 years, 11 months ago by Lion73.
    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @lion73

    Sorry for the late response. We were busy trying to catch up with the support backlogs and fixing bugs.

    Could you please check the latest version and see if you’re still encountering the issues.

    Feel free to re-open this thread if there’s any question that may come up.

    Regards,

    Thread Starter Lion73

    (@lion73)

    @champ Camb
    “Could you please check the latest version and see if you’re still encountering the issues.”
    But what is a joke?
    Read carefully before answering!

    • This reply was modified 4 years, 9 months ago by Lion73.
    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @lion73

    Sorry for the delay, I didn’t see your message above without mention.
    You could share some links with screenshots via some services like screencast, etc.

    Let me know,
    Thanks!

    Thread Starter Lion73

    (@lion73)

    Hi nsinelnikov,

    “2) Privacy settings for customized fields is set to “Only visible to profile owner and prifile roles”.
    But, if the member directory is for example MANAGER where all managers are displayed, if manager role in “Administrative Permissions – Can edit these user roles only” is set to change only the “employee” role and not “manager”, in the manager list the manager user should see the Edit Profile button only in his tab.”

    https://we.tl/t-6Glh8qOPDF

    Plugin Author Mykyta Synelnikov

    (@nsinelnikov)

    Hi @lion73

    Please try to upgrade UM to the latest 2.1.5 version.

    Let me know if that works,
    Thanks!

    Thread Starter Lion73

    (@lion73)

    Hi Nsinelnikov, I have version 2.1.5

    PROBLEM NOT SOLVED
    1) In member grid “edit profile” button is also visible on the member tab of which the user cannot edit the profile. Although clicking on the profile opens it in read-only profile. However, it is not a good thing.

    PROBLEM NOT SOLVED
    2) In member directory – Search oprion – Choose filter(s) meta to enable
    Only the default fields (eg Name and Surname) are visible in the frontend only if the user is logged in.
    If user is logged out custom fields are not visible if fields are not set “visible to everyone”. For fields like Name and Surname this doesn’t happen

    • This reply was modified 4 years, 9 months ago by Lion73.
    • This reply was modified 4 years, 9 months ago by Lion73.
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘User Roles to Display function in v. 2.1.3’ is closed to new replies.