Members Not Showing Up In Searches

I have several ways of searching for members. There is a basic search in sidebar widget, and a page for searching by different parameters. When I search for a person, even by their username, they aren't showing up. Example a search for "IllinoisDonna", who is a registered member, using her username shows no results.

Please see screenshot. It shows all members as being 37 and yet it says viewing 1- 20 of 154 members.

Why are my members not showing up in a search please?

Please note, this is not a new issue. It has been like this since the beginning. I am only just now getting around to dealing with it.

Support access is granted.

  • Rupok

    Hi Mary,

    Thanks for granting Support Access. I logged in your site and found that you are using the "Global Site Search" plugin for showing that search widget.

    I'm afraid, that plugin only searches "posts" through your entire network, but it doesn't search members. This is what's written in that plugin description page:

    Powerful post search that extends across every site on your WordPress Multisite or BuddyPress network. Global Site Search utilizes our powerful Post Indexer plugin, that indexes all the posts across every site on your network, to create a blazing fast search of your entire network. This plugin automatically adds a ‘Site Search’ page where guests and users can search through posts from every blog on the network.

    Source: https://premium.wpmudev.org/project/global-site-search/

    As that plugin only searches through posts, that's why persons are not being shown in search result.

    However, I personally think, it would be awesome if this plugin also searched members. So I'm moving your thread to our Features and Feedback Section. More people liking this idea, more chances our developers will work on this and will include this feature in our future releases.

    For searching your BuddyPress members, you can use this plugin: https://wordpress.org/plugins/bp-profile-search
    It seems like you can create awesome member search form and show that search form in the widget area with this plugin. You can also make search on different parameters.

    I believe, this will help. Please let us know if you have any confusion or any further query. We will be glad to help.

    Have a nice day. Cheers!
    Rupok

  • Mary

    Hi Rupok. I am not using Global Site Search to search for Members, although it would be awesome to only have to use one search plugin.

    I am using BP Profile Search. Perhaps I should have directed you to https://dating.christiangays.com/

    On that page you will see the widget for Basic Search, and a page for Advanced Member Search.

    If you check on Members you will see "All Members 37". If you Order by Alphabetical you will see "Viewing 1 - 20 of 154 members. I thought I had attached a screenshot but obviously not. Here it is.

    Now please go to Member Search (either widget or page) and search for Username alien410 or alrighty or Gilly92 or Illinoisdonna. They are all members but they don't come up in a search.

    I hope this gives you a better understanding of my problem.

  • Nithin

    Hi Mary,

    Hope you are doing good today. :slight_smile:

    Now please go to Member Search (either widget or page) and search for Username alien410 or alrighty or Gilly92 or Illinoisdonna. They are all members but they don't come up in a search.

    This is because, the plugin will only work if the users have a forum role Participant, it wont list users other than the mentioned default BP roles. If you give a closer look at these users, under Users > All Users you'll notice that they only have susbcriber roles, if you add participant roles to these users, the plugin will list these users in the search.

    I hope this helps. Please let us know how that goes, have a nice day. :slight_smile:

    Kind Regards,
    Nithin

  • Mary

    Thank you Nithin. I have a couple of problems with this.
    Issue #1. I go to the list of my Users. Select All -> Change Forum Role to Participant -> change or apply - nothing happens.

    If I do the same thing and select one member instead all - nothing happens.

    The only way I can change forum role is to do each member individually. This is not practical considering I have 8 sub-domains. Can you please fix this glitch so that I can make the changes using bulk change.

    Issue #2. After I give a member a forum role, s/he still doesn't show up in a search. I have added forum role to about half a dozen users but the search still says 37.

    Support Access is granted.

  • Kasia Swiderska

    Hello Mary,

    You don't need to change roles for users. It took me while to see pattern there, but that is normal BuddyPress behavior.
    You can read here https://buddypress.org/support/topic/make-all-members-active/
    In short: default BuddyPress search works only for active member.
    When you change order to alphabetic it will also start searching for those not active ones.
    By non active it means that user didn't post anything in BuddyPress.
    Here is another thread about that issue https://buddypress.org/support/topic/activating-existing-users/

    You can ask plugin developer https://wordpress.org/plugins/bp-profile-search/ if there is any action that will allow to change how this plugin works so it will start to searching by all members.

    Issue #2. After I give a member a forum role, s/he still doesn't show up in a search. I have added forum role to about half a dozen users but the search still says 37.

    It looks like this counter is broken because numbers are not correct - its not showing active members because those are for sure more than 37 (there is 60) and thats not number of all members.
    If possible please run a quick plugin/theme conflict test as illustrated in getting support manual (flowchart). Let see if only BuddyPress will start showing this counter with correct numbers.
    http://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.