Is there a way for me to run a script that would geo-code the profiles of members into the table bx_wmap_locations?
Is there a way for me to run a script that would geo-code the profiles of members into the table bx_wmap_locations? Geeks, making the world a better place |
Yes, you can do this in Admin Panel > Modules > World Map > click on "Update Locations" link Rules → http://www.boonex.com/terms |
Thanks Alex; did not even see that link in the module. All profiles are still not geo coded so they may be lacking the data needed to geo locate them. Geeks, making the world a better place |
Alex, what data is needed in members profile to properly geo code their locations? Geeks, making the world a better place |
At least Country must be specified. Also if location wasn't geocoded before then it will not be geocoded again, you can try to delete all failed geocoding requests with the following query and try to geocode again: DELETE FROM `bx_wmap_locations` WHERE `failed` = 1
Rules → http://www.boonex.com/terms |
Yes, you can do this in Admin Panel > Modules > World Map > click on "Update Locations" link Except that does not work. The site has thousands of members and clicking on that link does not add the ones with a zip code to the bx_wmap_locations table. Perhaps I can take a look at the script; where is it located? Geeks, making the world a better place |
This seems to kick it off... BxWmapModule.php function actionUpdateLocations Then look in BxWmapDB.php for the rest. https://dolphin-techs.com - Skype: Dolphin Techs |
Hello!
Panfilov |
Hi, problem I'm having is that on lat and lng it stores 0 and failed = 1. Do not why. I have configured Google API Key. This happens when I update the profile (country, city and zip). When I edit location manually, it stores well the info. Im using maps version 3.34 and Boonex 7.3.5. Any help would be appreciated. Thanks. Mike |