Home › Forums › Calendar Products › Events Calendar PRO › All events not displaying in map view
- This topic has 14 replies, 2 voices, and was last updated 8 years, 2 months ago by
remakelearning.
-
AuthorPosts
-
February 7, 2018 at 1:22 pm #1446881
remakelearning
ParticipantHello,
I’m finding an issue where all of the events are not displaying in the map view of the calendar.
Here is an example, the event is titled “Franklin Regional: STREAM Forward Expo!”.
Searching for the event in map view yields no results:
https://remakelearningdays.org/events/map/?tribe-bar-search=franklin+regionalThe event in question displays fine in photo view:
https://remakelearningdays.org/events/?action=tribe_photo&tribe_paged=1&tribe_event_display=photo&tribe-bar-search=franklin+regionalI’ve checked the venue information, and that info is all correct. Any thoughts as to what the issue could be here? There are a lot of events, a total of 235 published at the moment and I expect it to grow.
Thank you!
February 8, 2018 at 12:48 pm #1448244Andras
KeymasterHi Sunanna,
Thanks for reaching out!
It is possible that the venue of the event does not have the proper latitude and longitude coordinates saved. Please open up the venue for editing and check. If they are not there, then add them manually and check if that solves it.
Cheers,
AndrasFebruary 13, 2018 at 1:57 pm #1452275remakelearning
ParticipantHi Andras,
I’m viewing the admin screen for the venue, there is a checkbox for “Use latitude + longitude”, which is unchecked. I checked the box, and added the coordinates and now I’m seeing the event in search.
Why is it that other events are showing up fine in the map view without setting the latitude+longitude? Ideally, this would work without requiring the extra step, as we have 244 events with unique venues.
Thanks!
February 14, 2018 at 12:51 am #1452542Andras
KeymasterHi,
My hunch is that for the other venues the long and lat was automatically retrieved and it is saved in the database, even if the checkbox is not ticked. That is the way it should go.
If I remember correctly we had a bug not long ago, where the long and lat were not generated automatically. Might be that your venue was created then.
If you are still getting this issue with newly created events, then let me know.
A.
February 14, 2018 at 8:18 am #1452935remakelearning
ParticipantThanks Andras — is there a way that I can fix these in bulk?
I know there is supposed to be a “Fix venues data” button on the setting page, but it seems to be missing for some reason?
Fix Venue Data
The Events Calendar has a built-in feature that checks for broken venue data and will correct it for you. If you head over to Events → Settings, there is a section called Map Settings and a button that says “Fix venues data.” Please click that, refresh your Map View and see if that makes a difference.February 15, 2018 at 5:11 am #1453958Andras
KeymasterHi Sunanna,
I will try to check that for you, please give me some time.
Andras
February 15, 2018 at 5:34 am #1453981Andras
KeymasterOkay, you can try this:
- deactivate Events Calendar PRO
- create an event with proper address data
- activate Events Calendar PRO
- go to Events > Settings > General tab and check if you see the “Fix venues” button
If that doesn’t yet do the trick you might need to add the following line to your functions.php file:
add_filter( 'pre_option__tribe_geoloc_fixed', '__return_false' );and then re-do the above sequence.
When it’s done, remove that line from functions.php.
Check if this does the trick.
Cheers,
AndrasFebruary 15, 2018 at 7:32 am #1454191remakelearning
ParticipantThanks Andras,
Unfortunately, I tried everything you said and still no “Fix venues” button. I’m using the latest versions of Events Calendar, EC Pro, Community Events, and Filter Bar — if that helps.
February 16, 2018 at 12:28 am #1454984Andras
KeymasterSorry to hear that. That’s not good.
Could you send me a backup of your database? I’d like to fire it up locally so I can investigate this a bit further.
Andras
February 16, 2018 at 8:26 am #1455334remakelearning
ParticipantThis reply is private.
February 19, 2018 at 6:48 am #1457516Andras
KeymasterHi again,
I fired up your database and I did the following:
- Deactivate Events Calendar PRO
- Go to Events > Venues > Add new
- Create a venue like this: https://cloudup.com/cw1IasJLCrd
- Activate Events Calendar PRO
- Go to Events > Settings > General tab > Map Settings section and the ‘Fix venues’ button showed up: https://cloudup.com/cCB_GdOAT5W
Please try and let me know if that fixes it.
Andras
February 19, 2018 at 7:14 am #1457556Andras
KeymasterOne note: if the address is in a format that google maps cannot find, then you will not get the Long/Lat coordinates even with the fix button.
E.g. this address doesn’t give a result on google maps:
3F Patrick Henry, 6001 University Dr, Moon township, 15108 Pennsylvania, USAbecause “3f Patrick Henry” is not part of the valid address. Once you remove that it gives a result.
I guess that’s the name of a conference room or something. As an alternative you can put that in the Venue description part.
A.
February 21, 2018 at 9:32 am #1460032remakelearning
ParticipantThank you Andras — that seems to have done the trick.
I noted the address issue as well, I’ve seen that pop up a few times as we have users submitting events.
February 21, 2018 at 12:27 pm #1460250Andras
KeymasterAwesome, stoked to hear that did it.
I am going to close this ticket now, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
Cheers,
AndrasPS: If you like our plugins, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘All events not displaying in map view’ is closed to new replies.
