Project

General

Profile

Actions

Bug #6098

closed

Event Organiser needs a Google Maps API key

Added by Boone Gorges over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2016-09-27
Due date:
% Done:

0%

Estimated time:
Deployment actions:

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 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 :)

Actions #1

Updated by Raymond Hoh over 7 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.

Actions #2

Updated by Boone Gorges over 7 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.)

Actions #3

Updated by Christian Wach over 7 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

Actions #5

Updated by Christian Wach over 7 years ago

Thanks for the link Boone - but I don't have access to that repo.

Actions #6

Updated by Boone Gorges over 7 years ago

Sorry about that, Christian. I've just sent an invitation.

Actions #7

Updated by Christian Wach over 7 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

Actions #8

Updated by Boone Gorges over 7 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.

Actions #9

Updated by Christian Wach over 7 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.

Actions

Also available in: Atom PDF