Bug #6098
closedEvent Organiser needs a Google Maps API key
0%
Description
See http://wp-event-organiser.com/blog/announcements/google-maps-now-requires-api-key/
I think it's appropriate to get an API key using the cuny.academic.commons@gmail.com email account.
According to the EO blog post, we need at least version 3.1 of EO to make this work. We are currently on 2.13.x. This upgrade will need some testing around BP Event Organiser. In the meantime, it's likely that we can hack EO to pass the API key along with requests.
Assigning to Ray because I think he's the one with the credentials for the Google account :)
Updated by Raymond Hoh about 8 years ago
- Status changed from New to Resolved
I've added the Google Maps API key to wp-config.php
in commit f5f4cc5
Boone: I've also forwarded the Google credentials to your email address. (You're the one that initially created it! :) )
Also, for EO 2.13.x, I read the blog post and it seems like we should be okay since we've been using Google Maps before June 22, 2016 so we should be grandfathered in.
Updated by Boone Gorges about 8 years ago
Thank you, Ray!
The EVENTORGANISER_GOOGLE_MAPS_API_KEY constant is now defined, but not yet used anywhere, since we're running the old version of EO. But, given what you've pointed out about grandfathered domains, I suppose we'll just upgrade when we upgrade :-D (I'd misread that part of the blog post - the wording made it sound a bit like any requests made after the deadline would require a key.)
Updated by Christian Wach about 8 years ago
Ray or Boone - could I have the API key for Islamic History Commons please? EO is complaining since it's already been upgraded to the latest version.
Cheers, Christian
Updated by Boone Gorges about 8 years ago
Updated by Christian Wach about 8 years ago
Thanks for the link Boone - but I don't have access to that repo.
Updated by Boone Gorges about 8 years ago
Sorry about that, Christian. I've just sent an invitation.
Updated by Christian Wach about 8 years ago
That's done the trick - thanks Boone.
Has 'islamichistorycommons.org' been added as an allowed domain in the Google API Console?
Cheers, Christian
Updated by Boone Gorges about 8 years ago
There are no project set up there. I'm not sure whether our key will work at all - Google's API documentation is not clear to me.
I will follow up privately with a new key I'm creating specifically for IHC.
Updated by Christian Wach about 8 years ago
Yeah, the docs are poor - as is the interface.
In my experience, I have needed to create a project (the name you give it may or may not stick but can be changed later) and then add the domains e.g. 'islamichistorycommons.org' to the project. I haven't needed to add the wildcard prefix and suffix (as suggested) for it to work.