Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search BuddyBoss members
This topic contains 7 replies, has 2 voices, and was last updated by Ernest Marcinko 3 months, 3 weeks ago.
- AuthorPosts
- October 4, 2022 at 1:28 pm #39502
We have a bunch of practitioners on https://consciouskenya.com/practitioners/. The page is build using BuddyBoss, as a filter of all the members by profile type.
I would like:
- the search (available on the homepage and the header) to search BuddyBoss members, preferably a specific profile type
- pressing enter should not submit or search page to show the ajax search results
The site is not on cPanel hosting, so there’s no ftp access.
We used to use the lite version (which did not have member search) and imported the settings. Would that be the issue, or am I missing something in the settings?
October 5, 2022 at 8:59 am #39514Hi,
You can enable search for user under the Search Sources -> User search panel. I am not too familiar with BoddyBoss, but I believe it does not change how the users are stored.
To make sure the plugin redirects to the results page, check the Search Behavor -> Magnifier and Return Actions so they are set to redirect to the results page.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 10, 2022 at 2:56 pm #39591Hello Ernest,
BuddyBoss = BuddyPress Theme
I need to be able to search BuddyPress members, with a specific profile type. The search options only show groups. If I add WordPress users to the search and select BuddyPress profile in Advanced, the selected roles do not appear in search results.
Also Autocomplete does not include users.
As for results, I did not select the option for Replace the default theme search with: . So that is sorted.
Regards.
October 11, 2022 at 12:52 pm #39600Hi,
I am not sure how BuddyPress separates that – but there are options to exclude users by the roles, in case the profile type is a role. If the profile type is somewhere stored as user metadata, then using a hidden custom field filters on user meta could aslo work to only include those matching the criteria.
The autocomplete is currently avaialble for the Posts, tags, categories, other taxonomies, statistics database, google places API and google. I can however take this up to the requests list, it should not be too difficult to add in a future release.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 12, 2022 at 9:13 am #39607All profile types have an assigned WP role. However searching for users does not yield users of the selected roles. Only users that have authored posts are listed.
October 12, 2022 at 4:57 pm #39621Make sure you are using that option correctly, it is to Exclude users by the roles, not to include. Only those roles should be added to the list, which you want to have excluded. Also, some users may have multiple roles, so make sure not to exclude the ones, which may overlap. I think the problem might be an exclusion for the buddypress role, or an exclusion for an overlapping role.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
October 16, 2022 at 10:32 am #39665Hello Ernest,
I have managed to display the BuddyBoss members of a specific WordPress Role. The overlapping role is WCFM Vendor which appears in search results, and changing the link to BuddyPress profile did the trick. Thanks.
I was wondering about the avatar that shows in the result. Currently it is set to show a Gravatar, but we have turned off this setting in BuddyPress. Is it the ajax search that is looking for a gravatar or is profile image in the result a default gravatar?
October 17, 2022 at 1:06 pm #39672You are welcome.
It defaults for the WordPress image, but you can actually change it to the BuddyPress avatar if it is available here.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.