BuddyDev

Search

[Resolved] Want to Hide Male Users from male user and vice versa for female users

Tagged: 

  • Participant
    Level: Initiated
    Posts: 8
    Ravinder on #37013

    Hi There
    we are using buddy press membership plugin for our membership website. We would like to hide female users from female user and vice versa for male users.

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2908
    Ravi on #37034

    Hello Ravinder,

    Thank you for posting. Please take a look here:

    https://buddydev.com/show-only-users-of-opposite-genders-on-buddypress-site/

    Hopes it will help.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 8
    Ravinder on #37039
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #37040

    Hi Ravinder,
    It is a working solution.

    Please make sure you have the member types in place and people are categorised as specified.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    Ravinder on #37062
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #37107
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 8
    Ravinder on #37171

    Hi brajesh
    there are so many fields which mentions about member type , in which one and where you want me to type member type?

  • Participant
    Level: Initiated
    Posts: 8
    Ravinder on #37172

    Hi Brajesh
    can you please change that and give it to me ready to work so i can paste it in bp-custom.php?
    https://buddydev.com/show-only-users-of-opposite-genders-on-buddypress-site/
    Thank You

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #37181

    Hi Ravinder,
    I am sorry but I do not understand what do you want me to change in that code? Please re-read that tutorial to understand how it works.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    Ravinder on #37201

    Hi Brajesh
    As You said in previous reply Also, Please make sure to use “male” and “female” as member type to make the above code work.
    Where do i have to change these above “male” & “female” type??
    Do i have to change that in coding you have provided or somewhere else??
    If its in coding then where exactly in coding ?? Thats what i was saying if you can change it in coding and then send that code for ready to work.
    Thank you

The topic ‘ [Resolved] Want to Hide Male Users from male user and vice versa for female users’ is closed to new replies.

This topic is: resolved