Home › Forums › Calendar Products › Events Calendar PRO › location search not working
- This topic has 18 replies, 2 voices, and was last updated 7 years, 7 months ago by
Jeremy.
-
AuthorPosts
-
September 10, 2018 at 5:17 am #1617436
mike.keatsmkconsultancy.co.uk
ParticipantHi, I have just purchased Events Calendar Pro and added a new event and venue that is based in Southampton. However from the search field “Near” I typed Southampton. Which seems to have done nothing. Link below.
September 11, 2018 at 12:45 am #1618221Jeremy
KeymasterHi Mike,
Thanks for reaching out to us! I’d be happy to help you đ
I had a look at your website, and the Google Chrome Devtools (Console tab) revealed the following message:
Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps Javascript API services please see:Â https://developers.google.com/maps/documentation/javascript/get-api-key
To be fair, Google has increased its level of requirements. Therefore, you need to make sure you follow their directives to the letter.
I would recommend going through the following step-by-step:Â https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/
Cheers,
JeremySeptember 11, 2018 at 12:49 am #1618227mike.keatsmkconsultancy.co.uk
ParticipantThanks Jeremy, will have another look now thought had been through this yesterday. Does the whole search function need this API? i.e. including the list view?
September 11, 2018 at 1:04 am #1618231mike.keatsmkconsultancy.co.uk
ParticipantHi Jeremy, I have just been through the document and getting the same issue, in my Google account all seems to be ok and has a green tick!
Is there something that I am missing? Happy to let you logon
September 11, 2018 at 7:10 am #1618437Jeremy
KeymasterHi Mike,
Yes, the location search function needs this Google Maps API, including the list view.
Could you please go to your wp-admin and while editing a venue see if the latitude and longitude fields are filled in? You can discover those fields by clicking the âUse latitude + longitudeâ checkbox.
If they show up empty, then please try saving the venue again with the âUse latitude + longitudeâ option unchecked, and see if the coordinates get filled in.
Please, let me know about that.
Cheers,
JeremySeptember 11, 2018 at 7:31 am #1618453mike.keatsmkconsultancy.co.uk
ParticipantHi Jeremy, interesting so the ‘use latitude + longitude’ was not ticked but gone in ticked and save then unticked and save and seems to work.
However the venue I am looking at which is The Old Mill Inn(screenshot attached with the address details), the search only works if i type in southampton. Is there anyway of getting it to look at details in other field or adding another field that allows us to add additional info?
Thanks
MikeSeptember 12, 2018 at 8:48 am #1619561Jeremy
KeymasterHi Mike,
You might be interested in our Filter Bar plugin, which works well with Events Calendar PRO’s Additional Fields. On the Filter Bar, there is also a distance filter to go along with PROâs location search (providing your location search works again…).
Regarding your main problem with the search field, did you try to deactivate all other plugins to see if that makes a difference? Did you also try to switch to the default theme? You may find lots of resources about testing for conflicts in our knowledgebase.
Also, could you share your System Information? (you may paste it as a reply to this message and set your reply as “Private”).
Cheers,
JeremySeptember 12, 2018 at 8:54 am #1619562mike.keatsmkconsultancy.co.uk
ParticipantHi Jeremy, thanks for the reply.
Will do some further testing this evening, just out of interest should the “Location” search search any part of the address for a venue? or is it just checking the city field?
I will be purchasing the Filter Addon as well
Thanks
MikeSeptember 13, 2018 at 1:12 am #1620408Jeremy
KeymasterHi Mike,
The “Location” search concerns any part of the address for a venue, as you can see on our WP Shindig demo.
For more information on this functionality, please refer to this article in our Knowledgebase:Â https://theeventscalendar.com/knowledgebase/events-calendar-pro-location-search/
I’m glad to know you’ll get the Filter Bar addon, as t works very well with TEC PRO đ
In case that plugin doesn’t suit your needs, we offer a 30 day refund: itâs just a matter of submitting a refund request form at https://theeventscalendar.com/knowledgebase/refund-policy/.I hope this helps.
Cheers,
JeremySeptember 13, 2018 at 1:22 am #1620413mike.keatsmkconsultancy.co.uk
ParticipantThanks Jeremy, I will be getting it. Need to get the Google API working again as it has stopped for some reason? And is tell me that it is not authorised again đ
September 13, 2018 at 2:59 am #1620493mike.keatsmkconsultancy.co.uk
ParticipantThis reply is private.
September 13, 2018 at 9:33 am #1620828mike.keatsmkconsultancy.co.uk
ParticipantAfter further testing I have set the TwentySeventeen theme and removed other plugins which made no difference to the function.
By accident i type something in to the “Search – Keyword” field such as Britpop and that worked fine on the list view. I then did the same with the map view and that worked too.
I am fairly sure that the API key is setup properly according to your instructions and what else I have read.
Are you please able to help? I really need to get this to work soon as it is holding up the website development at the moment.
Thanks
MikeSeptember 14, 2018 at 7:43 am #1621888Jeremy
KeymasterHi Mike,
I’m really sorry to hear you’re still having this issue with the Google Maps API.
I would recommend to follow the solution suggested by my colleague Andras in this other thread: https://theeventscalendar.com/support/forums/topic/google-maps-not-working-10/
Here’s what he said:
“Log into Google Could Platform.
Go to APIs & Services and select Maps JavaScript API.
Near the top you should see 3 tabs: Metrics, Quotas, Credentials.
Go to Quotas and make sure that your âMax loads per dayâ is set to unlimited.
As far as I know you can only set it to unlimited if you have a payment method assigned to it.
Now go to the Credentials tab where you should see your API key(s). Click on the one in question.
Under âApplication restrictionsâ select âNoneâ.
Check if you have any restrictions under API restrictions, and make sure there are none there too.”
Please let me know if that helps.
Cheers,
JeremySeptember 14, 2018 at 8:02 am #1621919mike.keatsmkconsultancy.co.uk
ParticipantHi Jeremy, will try that this evening.
Just out of interest is it possible to add “my location” to the map i.e. https://developers.google.com/maps/documentation/javascript/geolocation
Or do you know someone that has done it?
Thanks
MikeSeptember 17, 2018 at 2:14 am #1623188Jeremy
KeymasterHi Mike,
It should be possible, but that would require some heavy customization to our plugin. I don’t know anyone who has done it, but here are some resources which might help you:
- Technical Docs:Â https://theeventscalendar.com/functions/
- Knowledgebase:Â https://theeventscalendar.com/knowledgebase/
- Themer’s Guide:Â https://theeventscalendar.com/knowledgebase/themers-guide/
- List of freelancers:Â https://theeventscalendar.com/knowledgebase/custom-development/
I hope this helps.
Cheers,
Jeremy -
AuthorPosts
- The topic ‘location search not working’ is closed to new replies.
