BuddyDev

Search

[Resolved] Opposite genders

  • Participant
    Level: Initiated
    Posts: 6
    Roman on #51112

    I have two fields, Male and Female. When I insert the code into bp-custom.php , only the message appears, loading members of your community. Please wait.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #51119

    Hello Roman,

    Thank you for sharing the code. Please make the following changes to your code:

    Line no. 38
    Replace ‘field_id’ with ‘field’

    Line no. 65
    Replace ‘bp_get_xprofile_gender_type_field_id()’ with 47 i.e. your field id.

    Please give it a try after making these changes.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 6
    Roman on #51120

    Thank you. It works now.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #51143

    Hello Roman,

    Thank you for the acknowledgement. I am glad that I could help.

    Regards
    Ravi

The topic ‘ [Resolved] Opposite genders’ is closed to new replies.

This topic is: resolved