Skip to:

No Members or Groups or Sites Show with page or all links

  • jugoretz


    In my member directory, if I search for a member, the person shows up fine. And the first page of the list shows up fine (and says that there 2,568 members) even if I don’t search.

    But clicking on “all members” or any of the next page links, leads to a “sorry, no members were found” message.

    The same thing happens with groups, and with sites. They are there, they exist, but the next page links, the sort by dropdown, or the “all” link give a “none found” message.

    Members directory is not open to the public, but you can see the behavior on the groups and blogs directories here
    and here

    Click on “all sites” or “all groups” and you get “none found” but search (for example–“future” in sites or “bird” in groups) and you get immediate results.
    Any thoughts?

    Basic information about the site–

    WordPress 3.3.1 (multi-site), BuddyPress 1.5.4
    directory install in a subdirectory
    Tried with all plugins deactivated
    using buddypress fun theme (have tried with default, too, with same result)
    no core files edited or modified nothing in bp-custom.php, not running bbPress
    LAMP server, self-hosted, no error messages

Viewing 3 replies - 1 through 3 (of 3 total)

  • jugoretz


    This seems to be similar to the problem reported here

    He was using an unusual theme, and never reported back on whether that was the problem. For me, that’s not it.



    It seems like there is a problem with an empty search box. If anything is in the search box, even a blank space, all the functions (the “all sites,” the pages, whatever) work fine. The “nothing found” message” is only when the search box is empty.



    OK, I poked around and I did find the problem, although I’m not sure I really understand it. Maybe a javascript conflict somehow?

    I also found a fix, but it involved editing the core files, so not really advisable. But anyway, it works for now, and I’ll put it here so others can find it if they encounter the same issue. I would love it if someone more knowledgable than me could see what happened and why and maybe a better firx.

    My workaround was to edit the core files bp-blogs/bp-blogs-template.php, bp-groups/bp-groups-template.php, and bp-members/bp-members-template.php

    Each of those defines the search form for the different areas, and in each of them there’s a little onblur and onfocus javascript to fill in the value for the search field (“search members” or “search groups” or whatever).

    The search form is in each of those, you can find it just by doing a text search for onfocus. Then you want to get rid of the javascript and just have the search field be blank.

    So you’re looking for:

    `value=”” onfocus=”if (this.value == ”) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ”;}”`

    and you just want to change that to


    Not too elegant, and I realize that the next buddypress upgrade will break this and I’ll have to do it again, but it solves the problem for now. Still would be happy to hear other ideas!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No Members or Groups or Sites Show with page or all links’ is closed to new replies.
Skip to toolbar