BuddyDev

Search

[Resolved] conditionsprofile field (if i am a women, i search man)


  • Participant
    Level: Enlightened
    Posts: 34
    bootz on #21485
    This reply has been marked as private.

  • Participant
    Level: Enlightened
    Posts: 34
    bootz on #21486
    This reply has been marked as private.

  • Keymaster
    (BuddyDev Team)
    Posts: 11218
    Brajesh Singh on #21487
    This reply has been marked as private.

  • Participant
    Level: Enlightened
    Posts: 34
    bootz on #21489

    In member page
    https://hobjectifhallal.com/membres/

    When I am connected my rifil is a woman, logically as I am a woman I should only see the profile of men and vice versa.
    Out there I see the 2 types of profile men and women
    Can you help me for this?


  • Participant
    Level: Enlightened
    Posts: 34
    bootz on #21491

    In member page
    https://hobjectifhallal.com/membres/

    When I am connected my rifil is a woman, logically as I am a woman I should only see the profile of men and vice versa.
    Out there I see the 2 types of profile men and women
    Can you help me for this?
    PLEASE


  • Keymaster
    (BuddyDev Team)
    Posts: 11218
    Brajesh Singh on #21495

    Hi,

    I am sorry but this is beyond what I can assist you in our support currently. I am having trouble modifying due to language on the site(Using google translator there).

    It is doable. The better approach will be to use member types as gender and then filter bp_has_members args. In your case you are using xprofile field, this will work too but it won’t be as efficient or scalable as member type based solution.

    I will assist with you in next 2-3 days with the code for filtering out opposite gender member though.

    Thank you
    Brajesh


  • Participant
    Level: Enlightened
    Posts: 34
    bootz on #21500
    This reply has been marked as private.

  • Participant
    Level: Enlightened
    Posts: 34
    bootz on #21531
    This reply has been marked as private.

  • Keymaster
    (BuddyDev Team)
    Posts: 11218
    Brajesh Singh on #21569

    Hi,
    I am sorry for the delayed reply.

    It seems you are using the GeoMyWP or geodirectory plugin. The plugin overrides member directory query. So my effort will go in vain.

    Since you are using Kleo theme and the people behind Kleo do support Geodirectory, I will suggest to ask them for the help.

    Regards
    Brajesh


  • Participant
    Level: Enlightened
    Posts: 34
    bootz on #21578
    This reply has been marked as private.

You must be logged in to reply to this topic.

This topic is: resolved
Subscribe