This topic has 5 replies, 3 voices, and was last updated 9 years by Abe.

  • Author
  • #42752
     theone
    Participant

    Hi,

    How can I modify the theme to do the following:

    – for search (vertical and horizontal) : I want to use combo box
    – for profile (i am a and looking for) : I want to use multiple selection

    example:

    Search : Looking for a : (combo box selection and can only select 1)

    Profile : I am a and Looking for a can select multiple values

    Thanks!

    #42933
     Laura
    Moderator

    Hello, you can change field option in Users > Profile Fields
    Just edit the field and change it to multiselect

    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 🙂

    #42979
     theone
    Participant

    Hi Laura,

    Thanks for your reply. But that’s not what I need. I know that I can change the type in User > Profile Field and choose between dropdown and multi-select, but that’s not my question. My question is :

    In search box/form I want to show a dropdown/combo box to just select 1 value to in “looking for a”. But in member profile, user can select multiple values so they will have an option to select which they want to look at.

    So maybe the setup will be like this. In user > Profile Field I will select multiselect type and it will be use in member profile. But in search form I want to show it in dropdown/combo box so I think I need to modify the codes in search form and I want to know what code I need to modify to make it happen.

    Thanks!

    #43061
     Laura
    Moderator

    Hello, you can try to create another field to search but only use it in search form, then the other in members profile.
    In Sweetdate > Buddypress you can unselect the other field and select to show the dropdown one.

    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 🙂

    #43116
     theone
    Participant

    Hi Laura,

    Thank you for your reply.

    But it will not search properly right? cause if I do that, creating separate field for “Looking for a”, it will search only the field in dropdown, but what I want to do is to have multiple option for member to select which they are looking for and on the search facility, it will capture which they select:

    Example:

    In Member profile, user will allow to select multiple options in “Looking for a” field:
    1. User 1 selected : Male, Female, Gay, Lesbian
    2. User 2 selected : Male, Gay

    Then
    – If somebody search for “Looking for a” = Male : User 1 and 2 will show
    – If somebody search for “Looking for a” = Female : Only User 1 will show
    – If somebody search for “Looking for a” = Gay : Both User 1 and 2 again will show

    This is what I want to do. So creating two separate fields for “Looking for a” will achieve this scenarios? Let me know how to do it, cause creating separate fields is easy on Profile Fields but can you guarantee that the search function will work like my example? Cause if you create two separate fields and use the other 1 for search, I don;t think it will search the other 1 which has the multiple values.

    Hope you understand now the scenarios.

    #43455
     Abe
    Keymaster

    hi, that is not possible by default to show the fields types differently since they are added in Buddypress as a specific type.

    That will imply some custom work from your side with a developer

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

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

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

The topic ‘Search and Profile Option’ is closed to new replies.

Log in with your credentials

Forgot your details?