BuddyPress Members Directory Geolocation adds proximity searching to the existing BuddyPress Members page. Configure it in plugin settings rather than creating a new GEO my WP form.
Prepare member locations
You need BuddyPress, GEO my WP, its Members Locator component and this extension. Configure the map/geocoding services and save locations for several test members. Choose test addresses you may display publicly.
This integration does not collect locations by itself. Use the member location workflow, a supported field synchronization integration or an appropriate import to create the records first.
Enable the directory integration
- Open GEO my WP → Settings.
- Find Members Directory Page under the member-related settings.
- Enable Enable Geolocation.
- Configure the search options below and save.
- Open the actual BuddyPress Members directory, rather than a standalone Members Locator form page.
Configure the search controls
- Address Autocomplete: enable supported suggestions for address entry.
- Locator button: offer visitor location detection inside the address field.
- Radius: enter one numeric value for a fixed radius, or comma-separated values such as
10,25,50for a dropdown. - Distance Units: choose miles or kilometers for those values.
Use a known address near a test member for the first search. A visitor's browser may refuse location access, and an IP estimate depends on a separately configured integration. Do not require successful automatic location detection as the only way to search.
Choose map and result information
Under Map Settings, choose whether to show a map and set its dimensions and available type. The map uses the results collected from the current directory loop. Pagination can therefore change the markers.
Under Results List Settings, choose distance, address fields and directions-link output. Leave address fields empty to hide that output. Distance requires a usable origin and location; it is not a fixed value that can always be shown during general browsing.
The directory also receives a distance ordering choice. Check that the selected order and actual results agree for your known sample locations.
Test the directory states
- Open the directory with no previous location search and inspect the ordinary list.
- Search near a known test location and confirm the matching member, distance and units.
- Change radius and verify the result set.
- Move to another result page and check its markers.
- Test an address that cannot resolve and a valid address with no nearby members.
- Open a member profile from the result and review signed-out visibility.
Previous search values can persist in directory cookies. Clear the prior search or use a fresh browsing session when testing the initial state. If controls are missing, check component activation and the theme's directory hooks before adjusting CSS.
Resolve integration problems
A member location must have coordinates to match a proximity search. Check the saved geographic record, not only a profile address field. Verify provider setup when geocoding fails.
Theme overrides, a different BuddyPress template pack and another directory-search plugin can affect the hooks and requests. Reproduce in a development copy with a standard supported directory presentation to isolate the conflict. Source branches for individual themes are not proof that every current theme version works.
If you need an independently styled directory with its own settings, use a Members Locator form. If you need map-first browsing, evaluate a Members Global Map. Those workflows have separate configuration and extension requirements.
