This topic has 9 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #176194
     jackbean
    Participant

    Hello,

    I followed instructions and codes from the link below in order to highlight certain profile fields onto the buddyPress member page.

    https://archived.seventhqueen.com/kleo/article/add-extra-profile-fields-show-certain-profile-fields-member-directory

    I also added the two fields “Location” and “Specialization” for the users and some values for these two fields. (See attached doc).

    But the codes did not appear to be do anything. I’m not sure what the problem is, would appreciate some help please.

    Thank you!

    JB

     

    Attachments:
    You must be logged in to view attached files.
    #176197
     jackbean
    Participant

    Hello again,

    Just want to mention that the newly added fields are been highlighted on the individual member’s profile page, BUT they’re not showing up on the member directory page.

    Please see doc attached.

    thanks!

    JB

    Attachments:
    You must be logged in to view attached files.
    #176243
     Laura
    Moderator

    Hello, i would need to check the files and wp-admin ( ftp and wp-admin access )

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #176366
     jackbean
    Participant

    Hi Laura,

    My boss is hesitant to allow full access to the site… 🙁

    Can you please check with your colleagues (say, Radu or Kieran) on this problem please.

    Thank you for your patience!

    Jay

    #176482
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #176544
     Radu
    Moderator

    Hi,

    The code it’s plug and play for the with exception i’ve used the field hobby thru location variable just to test and it works

    It’s a little over the hand to not have access just to check in on live.

    So the snippet it’s good try to pay attention to the field names, to be identically (uppercase sensible) so copy and paste the field names, make sure to not have extra spaces at the start and at the end of the field names in php script and in wp-admin -> profile fields.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #176583
     jackbean
    Participant

    Hi Radu and Laura,

    thanks for looking into the issue. I looked at your code carefully and I finally understood where my problem is! 🙂

    I think this will help other customers in case anyone has the question to you:
    — there are two very similar links on kleo’s support for the topic of “You can show certain profile fields on member directory

    — Link 1 is:
    — Link 2 is:

    Link 2 has the correct code for showing the extra fields in member DIRECTORY, because it is changing ‘bp_directory_members_item‘, but Link 1’s code actually changes the individual member page, and not the directory, as it changes ‘bp_profile_header_meta‘!

    The code I originally used was from link 1, and it did not have the correct object reference.

    Thanks again for looking into the issue. Appreciate your help very much!

    JB

    #176850
     Radu
    Moderator

    Hi

    Great that you have figoured out, the links1,2 are not added , provide the link to correct the hook

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #176879
     jackbean
    Participant

    Hi Radu,

    The link with the “bad” hook is here:

    https://archived.seventhqueen.com/kleo/article/add-extra-profile-fields-show-certain-profile-fields-member-profile-header

    if you read the last line of code where the “add_action” is for ‘bp_profile_header_meta‘.
    But the code is not really “bad” as it does do something interesting and desirable, which is to highlight certain fields in the individual member’s page.

    The problem is that in the link, the description is for the function to “show certain profile fields on member directory“, and that’s where the confusion was as I was looking for the change in member directory.

    Maybe you can keep the code and just change the link’s description 🙂

    Thanks,

    Jay

    #176955
     Radu
    Moderator

    Hi,

    The article it’s about how to add the fields on the member profile header and we have separate article for that, one for member header one for directory.

    1. https://archived.seventhqueen.com/kleo/article/add-extra-profile-fields-show-certain-profile-fields-member-directory

    2. https://archived.seventhqueen.com/kleo/article/add-extra-profile-fields-show-certain-profile-fields-member-profile-header

    I’ve interlinked them to can find them easier.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?