About › Support › What do you want added? › Map of Congregation
- This topic is empty.
-
AuthorPosts
-
20th April 2018 at 8:19 am #2781
rrfranks
ParticipantHi! It would be great to have a map showing where everyone in the congregation lives. This would allow church officers to see where everyone in the church lives in relationship to the church building and to each other. It would be very helpful if a church formed their small groups by geographical location. Thank you for considering this option.
20th April 2018 at 9:19 am #3943Andy Moyle
KeymasterHi Rick,
That’s been around for a long, long time![church_admin_map member_type_id="#" zoom="13" small_group="1"]– zoom is Google map zoom level, small_group=1 for different colours for small groups, 0 for all in red
20th April 2018 at 3:14 pm #3945rrfranks
ParticipantAndy,
Thank you for the reply. Unfortunately, I am not sure I understand your answer; unless you are describing how to display a map with all the small groups in the church. If that is the case, what I am looking for something a little different.
What I am looking for is a shortcode that I can put on a password protected web page that automatically displays a map with all the Members of our church on it ( or whatever Member Types selected in the shortcode).
Thank you for your patience!
22nd April 2018 at 4:48 pm #3946Andy Moyle
KeymasterJust realised the shortcode didn’t show on my last answer
[church_admin_map member_type_id="#" zoom="13" small_group="1"]– zoom is Google map zoom level, small_group=1 for different colours for small groups, 0 for every’s pin to be in red
24th April 2018 at 8:00 pm #3948rrfranks
ParticipantThank you for the shortcode! I tried it (inserting the member id # I wanted) but all I got was a blank page. Is there something I am missing?
24th April 2018 at 8:24 pm #3949Andy Moyle
KeymasterStrange it works for me!
What’s the url of where you are trying it?24th April 2018 at 8:29 pm #3950rrfranks
ParticipantI have no doubt it is operator problems on my part.
. It is on our password protected page at: http://kotp.org/member-portal/ on the “Map of Congregation” tab.
24th April 2018 at 9:13 pm #3951Andy Moyle
KeymasterThanks.
I’ve taken a look.
My plugin checks the page being called and looks for the shortcodes. If it finds it, then it queues up the scripts needed to generate the map.
But your theme is a clever one and I suspect the “themify builder” (whatever that is!) places the actual content somewhere different to a regular wordpress install.
So I need to work out how to get it working for sites like yours!24th April 2018 at 9:45 pm #3952rrfranks
ParticipantThank you for taking a look, Andy! I do use Premium WordPress themes produced by Themify. I am uncertain as to what themify builder is; all I know is that I must have it installed to use their themes. Here is a link to themify builder: https://themify.me/builder .
I am so sorry for causing you work. With all the different kinds of software out there I cannot imagine how challenging the life of a programmer must be. I am sure it requires the patience of Job.
30th April 2018 at 10:52 pm #3954Andy Moyle
KeymasterShould be good now? with version 1.1310
1st May 2018 at 4:39 pm #3957rrfranks
ParticipantThank you for the update. Unfortunately it still does not work.
1st May 2018 at 5:01 pm #3958Andy Moyle
KeymasterSo I’ve had a look at the offending page.
There’s probably two things stopping it working.
1) This javascript error – (index):7 WebSocket connection to ‘wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data’ failed: Error during WebSocket handshake: Unexpected response code: 403
No idea what that’s from but it’s not Church Admin. Other javascript errors tend to stop javascript working.
2) Something else is calling Google Map api v3 from googlemapapi.com (but not using it) on top of my call to it from map.google.com. Suspect that’s your theme and they are interfering with each other.1st May 2018 at 7:00 pm #3959rrfranks
ParticipantThat makes sense, Andy that the theme I am using is the problem. I am so sorry to cause you all this extra work, but I appreciate your diligence and willingness to to give such GREAT support! You are awesome!!!! Thank you so much!!!!
1st May 2018 at 7:15 pm #3960rrfranks
ParticipantAndy, based on your last answer I experimented with a few things on my site to see if I could find the culprit and I believe I found a way to work around the problem. One thing I cannot figure out though is how to include different member types on the same map. For example if I use the shortcode
church_admin_map member_type_id=”1,2″ zoom=”9″ small_group=”0″ loggedin=TRUE (I had to remove the brackets to get the shortcode to show up in this post)
only member types “1” will show up on the map. Is there a way to include more than one member type on a map?
1st May 2018 at 8:36 pm #3961Andy Moyle
KeymasterGlad you got it showing.
I’ve looked at my code – I always make sure any output is safe, in this case too safe. It was converting whatever you write for member_type_id to an integer which is 1 by default.
Will be fixed for next update! -
AuthorPosts
- You must be logged in to reply to this topic.