BuddyDev

Search

Show Buddypress Extended Profile Field on Members Directory

  • Participant
    Level: Initiated
    Posts: 11
    Cordial on #50961

    I added the code, and followed the instruction here– https://buddydev.com/support/forums/topic/showing-specific-fields-from-buddypress-profile-data-on-members-directory/

    I changed the Field to Profession, and ID is 25. See it here— https://prnt.sc/Yu-z5Sg_I_xH

    Unfortunately, no Profile field shows on the Members Directory.

    Is this code obsolete, and no longer works in BuddyPress?

    Regards.

  • Participant
    Level: Initiated
    Posts: 11
    Cordial on #50962

    Hello Sir,

    I’ve been researching deeply, and it has not been easy.

    Here’s what I’m looking to do— https://my.seventhqueen.com/docs/general/show-profile-fields-in-the-members-directory/

    Unfortunately, the code works for Kleo Theme.

    I see that BuddyPress has tried to explain it here– https://codex.buddypress.org/themes/guides/displaying-extended-profile-fields-on-member-profiles/

    Can you Please help me figure out How Kleo Theme and BuddyPress did it?

    Regards.

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #50964

    Hi,
    They all are same.

    It does not matter whether you use xprofile_get_field_data or bp_get_member_profile_data. They do the same thing with slightly different syntax & parameters.

    If the code is not working for your theme/template pack, It is probably missing the ‘bp_directory_members_item’ hook.

    I will suggest checking with theme/template author.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Cordial on #50966

    What BuddyPress explained, is different from what I was trying to achieve.

    I applied the BuddyPress Code and I got the result, as seen here– https://prnt.sc/-S2Zmmw5JW55

    The fact that I applied the BuddyPress code and it worked as I’ve pointed out above, tempts me to argue that the ‘bp_directory_members_item’ hook — which you mentioned, may not be the issue.

    The issue is that, this code is for the Single User Page– while I was looking for something that adds these Extended Profile Fields information to the Members Directory cards, as achieved by Kleo Theme here– https://my.seventhqueen.com/docs/general/show-profile-fields-in-the-members-directory/

    See the Video– https://www.youtube.com/watch?v=pY3aEV0YNwA

    Kleo Theme has shown that it is possible to achieve such thing in BuddyPress, and doesn’t require too much coding.

    Kleo has provided all the code. Could you indeed help me figure out why it is not working for me?

    Regards.

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #50974

    Hi,
    I am sorry, if kleo has provided the code, you will need to reach out to them for support!
    At BuddyDev, we provide support for our code.

    As far as the code is concerned, I am afraid you are missing the context. Single profile page and member lop page are different and have different hooks.

    If the xprofile data solution is not working, you are probably not hooking in members directory properly or using incorrect user id/profile field name/id.

    Any issue with all of the above will cause issue.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Cordial on #50977
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #50987
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 11
    Cordial on #51021

    I see all your points, and I commend you for your giant strides.

    There’s this feature that I want to see in Community Themes– it is an Automated Birthday Greeting Feature.

    Now, People feel loved when we remember them on their Birthdays.

    In my Community, I want to have an Automated system that naturally sends an Email Greeting to the registered Emails of Members on the day of their Birthday.

    Can you Please ensure that you include this feature in your Community Builder Theme?

    Regards.

  • Keymaster
    (BuddyDev Team)
    Posts: 24237
    Brajesh Singh on #51030

    Thank you for a great suggestion!

    Let us wait till mid January. We are definitely going to have this functionality in our new project(not the theme).

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved