Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BuddyPress Geo plugin


Kate
Participant

@katendarcy

Okay, I got sidetracked by a couple of client phone calls. Just sat down to take a look at the file. A forward slash appears to be the culprit. Deleting it seemed to work for me:

var someUrl = “/?bp_geo_index=” + num + “&bp_geo_last_loc=” + lastLoc + “&bp_geo_last_lat=” + lastLat + “&bp_geo_last_lon=” + lastLon + “&bp_geo_last_user=” + lastUser + “&_ajax_nonce=” + bpGeoNonce;

Becomes:

var someUrl = “?bp_geo_index=” + num + “&bp_geo_last_loc=” + lastLoc + “&bp_geo_last_lat=” + lastLat + “&bp_geo_last_lon=” + lastLon + “&bp_geo_last_user=” + lastUser + “&_ajax_nonce=” + bpGeoNonce;

EDIT:Again, this is inside of the buddyPressGeoRebuild function, in Geo.js.

Also: Searching by zip appears to function just the same as by city. Hope that helps you guys out. I’m going to go test to see how new users sync up. I’ll post back to see what I find.

Skip to toolbar