location search not working

Home Forums Calendar Products Events Calendar PRO location search not working

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #1617436

    Hi, 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.

    http://publive.co.uk/events/

    #1618221
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1618227

    Thanks 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?

    #1618231

    Hi 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

    #1618437
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1618453

    Hi 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
    Mike

    #1619561
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1619562

    Hi 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
    Mike

    #1620408
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1620413

    Thanks 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 🙁

    #1620493

    This reply is private.

    #1620828

    After 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
    Mike

    #1621888
    Jeremy
    Keymaster

    Hi 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,
    Jeremy

    #1621919

    Hi 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
    Mike

    #1623188
    Jeremy
    Keymaster

    Hi 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

Viewing 15 posts - 1 through 15 (of 20 total)
  • The topic ‘location search not working’ is closed to new replies.