• Hey,

    My problem seems to be the opposite of what others are facing. If I type something into the search field, it displays the related members like it’s supposed to. If I leave the field blank, however, it displays the “No results found” loop on the Members page, which for some reason screws up the alignment of my footer.

    I would like to get rid of that page altogether, but no matter what I do, it keeps displaying it, even if I take all of the conditional code out of the equation. If I add a conditional redirect to the script, it gives me the “Cannot modify headers” warning. However, I did notice that if I add a single blank space to the search field, it displays all members.

    Do you know of a way that I can either:

    A.) Redirect the “No results” loop to the actual Members page, so that it just skips the loop and displays all of my members.

    OR

    B.) Automatically replace the blank query with a single blank space by default, so that it displays all of my members.

    I’ve been working on this for three days now and I’m about ready to slam my face into the keyboard. Any help would be appreciated.

    Thanks!

    Brandon

    http://wordpress.org/plugins/bp-profile-search/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Display All Members When Field Is Empty’ is closed to new replies.