Search directory results page display all members ignoring search criteria.

Home Forums BP Profile Search Forum Search directory results page display all members ignoring search criteria.

This topic contains 16 replies, has 2 voices, and was last updated by  andrea 7 months, 2 weeks ago.

Viewing 3 posts - 15 through 17 (of 17 total)
  • Author
    Posts
  • #9622 Reply

    andrea
    Keymaster

    Got it!

    In the Edit Form screen, if you choose the Search Mode ‘is one of’ for your language field, you’ll get language check boxes in your search form.

    If you prefer a multi selection drop down, you also have to add this code to your bp-custom.php file:

    add_action ('bps_field_before_search_form', 'change_display');
    function change_display ($f)
    {
    	// replace 789 with the ID of your language field
    	if ($f->id == 789)  $f->display = 'multiselectbox';
    }
    #9623 Reply

    Rizwan A. Khan

    Thank you very much dear Andrea. tested. It works. However it would be better if you can include in your future release a multi-selection in which one can select items from dropdowns and it adds them to something like text field multiple items. This is what I meant by chosen JS search.

    #9626 Reply

    andrea
    Keymaster

    You are welcome! And I’m adding your suggestion to my to-do list.

Viewing 3 posts - 15 through 17 (of 17 total)
Reply To: Search directory results page display all members ignoring search criteria.
Your information: