New lower pricing for Subscriptions

50%off old price

Google Maps & User edit issue

About Support Directory Google Maps & User edit issue

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2534
    Avatar for keasterdaykeasterday
    Member

    I have a frustrating issue. I am successfully showing the directory, but the map doesn’t show up. It is just an empty box where the graphic should be. Where does “map1” come from? I have setup the venue.

    Secondly, whenever I edit a user and save, when I go back in to edit the user, the photo is no longer attached, though it still shows up in the main church admin screen. Also, WP information is reset. For instance, if I edit myself, and save, when I go back in, I have to set the WP user again.

    Any help is appreciated. I really like the plugin for what it does, and hope I can use it as it is supposed to function.

    Blessings,
    KC
    http://www.themoyles.co.uk/wp-content/uploads/2014/08/0b302-directorymap.bmp
    http://www.themoyles.co.uk/wp-content/uploads/2014/08/p2da5-edituser.png

    #3280
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    The directory map feature shows where a person’s home is.
    To display use map=1 in the shortcode for the directory.
    [church_admin type="address-list" member_type_id=1,3 map=1 api_key=#]

    But first of all you need to do some setup (I’ll do a proper tutorial soon!)

    If you are have more than about 50 people in your church, you’ll need an api key from google – because they throttle how many times they will serve a map to your site – sign up at https://console.developers.google.com
    Once you have an api key then you can put that in the shortcode.

    Secondly you need to make sure that people’s addresses are geocoded – when you edit an address you can use the map to drag and drop a pin before saving

    Once that is all done, the images will show nicely.

    The user issue I will look into – what version of the Church Admin plugin are you using?

    #3281
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Should all be fixed now with v0.5955
    Let me know

    #3282
    Avatar for keasterdaykeasterday
    Member

    Andy, thanks for the response.

    I still get no picture for the map in the user directory. Here is my code:

    [church_admin type=address-list member_type_id=3,4,5,6 photo=1 map=1 api_key=A###]

    I can see the pin placement on the map when I change the address. But still no joy on the directory page.

    When I click on the empty box, I get taken to google maps.

    My other issue is fixed with the update.

    #3283
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    I used your api key (which I have now removed from your post for safety) to generate an image and got this response

    The Google Maps API server rejected your request. This API project is not authorized to use this API.

    So please go to https://console.developers.google.com/project?authuser=0

    And follow this…
    http://www.themoyles.co.uk/wp-content/uploads/2014/08/google-api-how-to.gif

    You need to enable Static Maps API and the Google Maps Javascript v3 API

    #3284
    Avatar for keasterdaykeasterday
    Member

    Thanks for that instructional video. It works now.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.