Map Problem - Location is undefined

I have problem with Google Map. When a new user comes in and gives country and the city details (in register page), I have information on user profile: Location is undefined

Only after editing account and re-save, location appears on the user profile correctly on the map.

How to fix it? I want location to appear immediately on user profile.

Quote · 19 Aug 2013

I have the same problem and haven't figured it out yet. If i manually update the locations in the World Map admin, they get fixed too, not sure if there is a cron job that should be updating these at the very least, but I too expected a new profile with all the info provided on join to have the map location already.

Quote · 20 Aug 2013

Please could you try to reproduce this problem on demo.boonex.com ?

Rules → http://www.boonex.com/terms
Quote · 21 Aug 2013

 I noticed that the registration form on the demo BoonEx differs from the registration form on my site threonine. It also can make a difference?

On the BoonEx demo is more required to complete fields. For eg you must provide postal zip - on my website that is not required - only the city and state.

if this possum http://demo.boonex.com/Possum registered on my website would not have given zip code (but probably did not come to a location on the map). So how can I allow the possum and other potential users with registration without postal code so that they display the location on a map?

Please could you try to reproduce this problem on demo.boonex.com ?

 

Quote · 23 Aug 2013

Same thing on my website...

Quote · 23 Aug 2013

same here

“It is no measure of health to be well adjusted to a profoundly sick society.”
Quote · 23 Aug 2013

World Map module geocode positions using default fields, like Country, City and ZIP.

If you changed these fields, or using it for some different purpose, then geocoding may fail.

You could try to edit necessary rows in bx_wmap_parts table and point out your particular fields in:

  1. join_field_country
  2. join_field_city
  3. join_field_state
  4. join_field_zip
  5. join_field_address

Clean db cache and try again with new profiles.

Rules → http://www.boonex.com/terms
Quote · 25 Aug 2013

 Thank you but what exactly I must change in bx_wmap_parts table ? At the moment I have optional field zip code, not mandatory. I want to keep it that way. But I also want to location on google map work and work until you re-save the profile.
How can I fix in another way?

 a lot of people have a problem with that

World Map module geocode positions using default fields, like Country, City and ZIP.

If you changed these fields, or using it for some different purpose, then geocoding may fail.

You could try to edit necessary rows in bx_wmap_parts table and point out your particular fields in:

  1. join_field_country
  2. join_field_city
  3. join_field_state
  4. join_field_zip
  5. join_field_address

Clean db cache and try again with new profiles.

 

Quote · 27 Aug 2013

If you really want something different with the map and have a local map displayed for you visitors have a look at the GEO Locator

http://www.boonex.com/m/geo-locator

Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information
Quote · 27 Aug 2013

This function is working by default (checked on demo), it looks like you have custom changes which aren't implemented properly. It's better to hire someone, he/she will review your particular situation and will try to necessary changes for you.

Thank you but what exactly I must change in bx_wmap_parts table ? At the moment I have optional field zip code, not mandatory. I want to keep it that way. But I also want to location on google map work and work until you re-save the profile.
How can I fix in another way?
 a lot of people have a problem with that

 

Rules → http://www.boonex.com/terms
Quote · 28 Aug 2013

I can confirm this problem. I just setup a fresh install of 7.1.4, only installed the wmap module and new user location data for the module is not saved to the tables. If i manually update via admin panel it gets saved and displayed. I have no custom changes made. It is a raw installation of 7.1.4 with default settings and enabled recaptcha.

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 29 Aug 2013

 

If you really want something different with the map and have a local map displayed for you visitors have a look at the GEO Locator

http://www.boonex.com/m/geo-locator

 I vouch for this one; it fills in the locations automatically on the join form.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 29 Aug 2013

Why buy a module? This is a bug and will be fixed for sure.

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 29 Aug 2013

The problem has place, when profile is not activated right after join (auto-approval is turned off and/or email confirmation is enabled):

http://www.boonex.com/trac/dolphin/ticket/3282

Rules → http://www.boonex.com/terms
Quote · 1 Sep 2013

Fixed - r18379

Rules → http://www.boonex.com/terms
Quote · 20 May 2015

I am having site wide issue. For, any "profile created or event or item posted" is not showing up in world map.

The location block shows "Location is undefined"

But, when manually doing "edit location" in Location block of "profile page" or "event page" it is working.

Quote · 23 Jul 2019

 

The location block shows "Location is undefined"

I thought that was normal. As far as I'm aware, the member must physically find his/her location on the map and tag it.

There was a brilliant Oxwall module that automatically found the location on the map when a member entered their Country/State/Suburb/Street, but nothing seems to be available for Dolphin as far as I know.

I did ask AntonLV if he would create a module that did the job some years ago, but he didn't seem to be too interested.

The current procedure is a bit antique and only 1 member in 50 on my site bothers updating the map.

 

Quote · 24 Jul 2019

 

As far as I'm aware, the member must physically find his/her location on the map and tag it.

 It is automatic. Earlier, I have checked for many profiles who just filled their location in form during join. Suddenly, it is not working.The block is showing "location is undefined".

Quote · 25 Jul 2019

The issue was fixed.

Its because the geocodes was turned off (accidentally by me) in google maps settings or console. 

So, all locations codes were not updated in database during the turn off period.

New locations are showing up on maps across site.

However, lost locations will get updated only by manual resubmission of forms (event, profile etc).

Looks like there is no option for sitewide update of locations at once.

Quote · 7 Nov 2019

 

Looks like there is no option for sitewide update of locations at once.

It's possible to update all locations at once:

But you will probably need to clear failed locations first:

DELETE FROM `bx_wmap_locations` WHERE `failed` = 1
Rules → http://www.boonex.com/terms
Quote · 8 Nov 2019

Thank you for reply.

Executed the above query and clicked "update locations".

But haven't seen any change.

Quote · 8 Nov 2019

1) Was anything deleted upon query execution ?

2) What happened when you click on "update locations" ?

Rules → http://www.boonex.com/terms
Quote · 9 Nov 2019

 

1) Was anything deleted upon query execution ?

2) What happened when you click on "update locations" ?

 1. Query executed successfully but haven't observed deletions.

2. Went to this page with message "ENTRIES LOCATIONS UPDATE HAS BEEN COMPLETED"

No change has been observed.

Quote · 9 Nov 2019

 

 1. Query executed successfully but haven't observed deletions.

2. Went to this page with message "ENTRIES LOCATIONS UPDATE HAS BEEN COMPLETED"

No change has been observed.

It should work. So it maybe there is some other problem...

Rules → http://www.boonex.com/terms
Quote · 12 Nov 2019

 

 

 1. Query executed successfully but haven't observed deletions.

2. Went to this page with message "ENTRIES LOCATIONS UPDATE HAS BEEN COMPLETED"

No change has been observed.

It should work. So it maybe there is some other problem...

Before posting this query in this forum, Alexander kireev checked my site files and google console.

He suggested me that I have to manually submit all forms once again to get location updates (or to show up locations on world map).

Its quite difficult for doing the task manually. So, I posted this in this forum expecting reply from boonex team.

Thank you for reply.

Quote · 12 Nov 2019
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.