This topic has 4 replies, 2 voices, and was last updated 11 years by cajoejoe.

  • Author
  • #4307
     cajoejoe
    Participant

    sqadmin,

    is it possible, when a male/female registers and logins they can click on search “member button” to list all Subscribers/Users of opposite gender? or automatically all the pictures can be listed for viewing.

    By default, there is Member button on “Menu” thats what i like to utilize. Or an efficient way to do this?

    Example,

    1. If a male subscriber logs in, currently you can click on Member button it shows all the members (males/females). How can you make the changes when a male logs in see all the females profiles and when a female logs in see all the males profiles.

    Thanks for your direction

    #4360
     SQadmin
    Keymaster

    Hi,
    You can take advantage of the searching feature to do that and combine it with this plugin Menu Item Visibility Control

    Once you install that plugin you will have in Appearance – Menus a Visibility field for each menu.
    You need to create two custom menu links one to show for Man one to show for Woman from here: http://d.pr/i/OU1i
    In the link section you will add the path to the search directory when filtering by a specific search criteria(eq. searching for Man when you are creating the Woman menu)

    In the visibility field you need to add this and modify it accordingly with your field names and values:

    COPY CODE
    
    bp_get_profile_field_data('field=I am a&user_id='.bp_loggedin_user_id()) == 'Man'
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4384
     cajoejoe
    Participant

    Hello,

    Thanks for the response.. Which search plugin should i down load? or where do i edit the code at ? your helpis always appreciated

    .

    #4422
     SQadmin
    Keymaster

    I gave detailed instructions. It is all there. . plugin name … where to add and what to add…I also added a screen-shot … I tkink is more than enough 🙂

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

    thanks 😉

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?