• Resolved McTwist

    (@mctwist)


    My client is using GMW and Buddypress Profile Search, and they are in need of some custom sorting and filtering. If GMW is set up to use bps_forms as a post type, how much compatibility and integration is there beyond using the location field and links to the Buddypress profile pages?

    Buddypress Profile Search comes with some useful sorting and filtering options when creating custom directories (https://dontdream.it/bp-profile-search/custom-directories/). In fact, I can get pretty close to what my client needs with shortcodes when creating them, but the Profile Search plugin obviously doesn’t include the Google Maps features that GMW has.

    Here’s the goal: The search results need to be displayed below the map, sorted by member type, then by distance. I’m using the BuddyPress Xprofile Member Type Field (https://buddydev.com/plugins/bp-xprofile-member-type-field/), which uses WordPress’s taxonomy architecture.

    I guess you could compare the goal to “Sponsored Results” or “Ads” that show up before the main results. This makes the distance sorting hard to figure out.

Viewing 1 replies (of 1 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello @mctwist,

    When using GEO my WP to search based on the bps_forms post type, it will be searching for the actual BPS forms/posts rather then for BuddyPress members. So that’s not what you want.

    However, GEO my WP does integrate with BuddyPress out of the box and it does have a basic integration with the BP Profile Search plugin out of the box as well. To enable those, navigate to the dashboard -> GEO my WP -> Extensions, where you will find the Members Locator core extension that provides the integration with BuddyPress and the BuddyPress Profile Search Geolocation core extension that provides the integration with BP Profile Search.

    Using the BuddyPress Profile Search Geolocation core extension, you will be able to add address and distance fields to the BP Profile Search form ( the location field will be added to the list of fields in the form builder of BP Profile Search ). This will allow the visitors of your site to search for members based on address and distance. That’s the basic member proximity search feature provided by GEO my WP when using the core extension only.

    However, if using it together with the BP Members Directory Geolocation premium extension, you will be able to add a map above the list of results, display the distance to each member in the list of results, and order the results by the distance.

    So the only missing feature ( I think ) is ordering the results by the member type first and then by the distance, which is not available out of the box. This might be possible with some customizations using some of GEO my WP’s filters, but I can’t say for sure as I haven’t tried that yet.

    I hope this info helps.

    Let me know if you have additional questions.

Viewing 1 replies (of 1 total)
  • The topic ‘GMW and BPS compatibility’ is closed to new replies.