[Link to the mod](https://custom.simplemachines.org/index.php?mod=4128)
### Google Member Map
**License**
* This Modifications Source Code is subject to the terms of the Mozilla Public License version 1.1 (the "License"). You can obtain a copy of the License at [http://mozilla.org/MPL/1.1/.](http://mozilla.org/MPL/1.1/)
**Introduction**
This mod installs a member map to your website which allows your members to pin their location on a map. It uses Google Maps 3.0 API to generate the map and place 'Push" pins.
Simply install this package through the package manager located in your Administration Panel. Manual edits may be required if your site uses a custom theme. This mod is compatible with SMF 2.0
In your admin panel you will need to enable it and set any customization you like. Next, your members will need to edit their profiles and place a pin on the map to show their location and save their profile. That pin will then display on the main member map page. The admin will also need to set the map permissions so users can see and use it.
Neat! It would be cool if you could add a screenshot of an example of the map that is generated.
Oh - very nice - thank you so much !
I'm using the former Mod since ages, so: Will the 'old Pins' stay after Installation ?
Not sure but it may I would do a backup just in case.
Hi, I followed the directions and have an unrestricted API key (tried restricted to) from Google maps.
When I installed it, and set the features all seemed ok.
But when I tried to use it, a google map came up for a very brief period of time then it went blank, with the following error:
QuoteThis page didn't load Google Maps correctly. See the JavaScript console for technical details.
Oh, and now it's installed where do I find the part that allows me to admin it.... (silly question but not immediately obvious)
Also a suggestion - where it allows you to choose an icon - is it possible to have a preview of that icon so we can see what we are actually going to get?
EDIT: Solved but for anyone's future reference the javascript console in your browser will give you precisely the domain you need to give permissions to in the Google API. :D
Still a note to the developers:
Oh, and now it's installed where do I find the part that allows me to admin it.... (silly question but not immediately obvious)
Also a suggestion - where it allows you to choose an icon - is it possible to have a preview of that icon so we can see what we are actually going to get?
Spoke too soon !
The map works on the members map page, but NOT on the profile page where people would actually input their information.
js?key=AIzaSyAai1kJAVMjvOAuiM1ZKFX5A87LwnwMj-4&sensor=false&libraries=places:34 Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
Your site URL to be authorized: http://gsx1400owners.org/forum/index.php?action=profile;area=forumprofile
_.lb @ js?key=AIzaSyAai1kJAVMjvOAuiM1ZKFX5A87LwnwMj-4&sensor=false&libraries=places:34
(anonymous) @ common.js:54
(anonymous) @ common.js:196
c @ common.js:50
(anonymous) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fgsx1400owners.org%2Fforum%2Findex.php%3Faction%3D...:1
util.js:210 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
I note that I have authorised the URL it mentions, but I'm not sure about the other errors?
Once you can help me get this sorted out, I'll remove the code from here. CHeers.
Your site URL to be authorized: http://gsx1400owners.org/forum/index.php?action=profile;area=forumprofile
That is the main error.
You might have to do the whole domain.
Thanks mate yeah I figured it out once I did the whole domain - works fine now :) Great mod :)
I found the admin settings under Admin - Configuration - Modification Settings - member map.
Perhaps it's just me but that seems a bit buried. Most of the other mods I have are on the main tab - like SMF Gallery and EZPortal. But I suppose there has to be a limit to that ! No doubt just an issue of me getting used to where things end up.
Cheers and thank you !
bonjour
je viens de l installer mais lorsque je met une adresse en france il me marque que je suis au caraibe ou je ne sait ou
pouvez vous me dire ou et le problème !! merci a vous
Haven't tested it much myself not sure how it works if it is by ip address then it depends on your isp
Having authorised the whole domain, I am getting:
Member Map from top menu bar (display) - works fine.
Member's updating their profile to place a pin. -works fine.
Member's viewing others (and subsequently their own) profile to see their pin location - NOT working.
The error indicates a particular link to be authorised BUT this link would be different for every member; AND the whole domain is, in theory, authorised...
Any idea what may be going wrong?
edit: Just to let you know that in general my members are VERY impressed with this member map. So, good work :)
Quote from: landyvlad on January 29, 2017, 08:46:56 PM
Member's viewing others (and subsequently their own) profile to see their pin location - NOT working.
...
Any idea what may be going wrong?
Have you enabled the 'View Member Map' permission for the relevant member group(s)?
Yep. It's only one the actual forum profiles that people can't see the map. Other areas like placing their pin, and viewing the overall map - no problem.
It appears to be a problem with authorisation BUT I'm confused because the whole domain is authorised so it SHOUDL carry through; and the error indicates a particular link to be authorised BUT this link would be different for every member.
Hoping to MOD team can help.
OK I managed to solve this issue by adding yet another URL to the authorised list.
Confuses me because I thought the whole site would be authorised but evidently it doesn't work like that...
vbgamer - is the "Location" in members profile a field that is put in by this mod, or core SMF?
If it's the member map mod - how can I get location to show in the member info next to each of their posts (with avatar etc)
Thanks
Not sure. I don't see in the code that mentions location placeholder.
Found a bug in this mod that was preventing the mod Member Notepad from displaying on the Profile Summary page (had to uninstall a lot of mods on a test forum to find the culprit!).
Basically the issue is that after the mod is installed a closing 'dl' tag in ./Themes/default/Profile.template.php is only being shown conditionally whereas without this mod installed it's always shown.
The correct code is as follows:
Find:
<dd>', $context['member']['last_login'], '</dd>
</dl>';
Replace with:
<dd>', $context['member']['last_login'], '</dd>';
if (!empty($modSettings['googleMap_Enable']) && allowedTo('googleMap_view'))
{
if (!empty($context['member']['googleMap']['longitude']) && !empty($context['member']['googleMap']['latitude']))
{
echo '
</dl>
<hr />
<br />
<dl>
<dt><strong>' . $txt['googleMap_Where'] . ' ' . (preg_match('~\s(and|&|&)\s~i', $context['member']['name']) ? $txt['googleMap_Whereare'] : $txt['googleMap_Whereis']) . ' ' . $context['member']['name'] . ':</strong></dt>
<dd>
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . '&sensor=false"></script>
<div id="map_canvas" style="width: 100%; height: 350px; color: #000000;"></div>
<input type="hidden" name="latitude" size="50" value="', $context['member']['googleMap']['latitude'], '" />
<input type="hidden" name="longitude" size="50" value="', $context['member']['googleMap']['longitude'], '" />
<input type="hidden" name="pindate" size="50" value="', $context['member']['googleMap']['pindate'], '" />
<script type="text/javascript"><!-- // --><', '', '![CDATA[
var latlng = new google.maps.LatLng(', $context['member']['googleMap']['latitude'], ', ', $context['member']['googleMap']['longitude'], ');
var options = {
zoom: 14,
center: latlng,
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.HYBRID,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
},
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.DEFAULT
},
};
map = new google.maps.Map(document.getElementById("map_canvas"), options);
var marker = new google.maps.Marker({
position: latlng,
map: map
});
// ]]', '', '></script>
</dd>';
}
}
echo '
</dl>';
8) the script in that last message as been corrected with the last version of th MOD ...
But i stil get that error from google ...
"Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required"
in the Profil.template.php the line that i read on line 298 ...
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . '&sensor=false"></script>
the end of it might be wath is causing this ... ? but seem an error from google map ...
By the way ... the app work fine exep a second of lag .. before google map send the litles orange message in the Mozila developer tools ...
I tried to change .. False to true ... removing the last argument ... notimg is good to stop those orange liner to came in ...
Wath could i do ... :-[
I do not find the good coding ...
Thank's in advance for any help !
So removing it doesn't help?
Quote from: Alain Rheault on March 07, 2017, 12:46:59 PM
8) the script in that last message as been corrected with the last version of the MOD ...
What is the latest version of the mod?
I encountered the problem with v3.0 which I downloaded at the end of January - I've just installed v3.0 again (test forum, no other mods installed) from a fresh download via the link in the first message in this thread and the problem is still there (ie, if the Member Notepad mod is installed and Google Maps is *disabled* the notepad doesn't show in the member's profile summary).
Quote from: vbgamer45 on March 07, 2017, 01:30:28 PM
So removing it doesn't help?
If i only remove
the end part of the line
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . '&sensor=false"></script>
to keep it like that
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . ></script>
I get a white page and killing the forum ...
IF i remove the whole line .... i only loose the Map ( because i guess i do not send the "google map key " )
I'm trying to do what they wrote about this issue in the google map user helping site :
SensorNotRequired Warning
The sensor parameter is no longer required for the Google Maps JavaScript API. It won't prevent the Google Maps JavaScript API from working correctly, but we recommend that you remove the sensor parameter from the script element. What should i REMOVE .. and how .. i'm lost a bit with the coding ... i see dashs (.) in the code ... i do not know how to propely close the script line ... ( sory for my poor english do .. )
BTW .. ... i did not have to touch the whole code in the in the Profil.template.php as proposed by GL700Wing , it was already done with the last version on the board. AND i can't tell about the Note Pad MOD .. i do not use it in my forum !
Thank to being helping me .. 8)
change to
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . '"></script>
BTW it is the last V3.0 ....
I changed it on my clone test forum, and still see the orange warning from Googlemap in the console
( after i resetted my "cache" buffer and F5 a coupleof time )
but with you coding it now bring the map in a perfect way even with le last argument removed ....
, eccept for the Warning ... :o seem to came from Googlemap ...
I look at the Page source in Mozila and i can still see some code for the Sensor = false ... I replace for sécurity in the code below the key with a string of ####
</div>
<span class="botslice"><span></span></span>
</div>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=##################&sensor=false"></script>
<script type="text/javascript" src="http://jular.ca/simplementvr.com/Themes/default/scripts/markerclusterer_compiled.js"></script>
<script type="text/javascript" src="http://jular.ca/testforumclone/index.php?action=googlemap;sa=.js;count=19"></script><table cellpadding="7" cellspacing="0" id="footermenu">
Seem not to realy mess thing up ... exept for that 1 to 2 seconds of lag ... waiting for google map to send the warning ...
BY THE WAY that one off the most liked MOD in our new forum 8) ... now we can follow members that travel in North America ! GREAT MOD !
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpreview.ibb.co%2FhO4hdv%2Fmap.png&hash=fd23108db9183867bbaafc568c1d09db8a04ff5c)
You can use the picture if you want ! :)
QuoteBTW .. ... i did not have to touch the whole code in the in the Profil.template.php as proposed by GL700Wing , it was already done with the last version on the board. AND i can't tell about the Note Pad MOD .. i do not use it in my forum !
The problem I described *specifically* relates to the use of these two mods together - the bug exists in the version 3.0 of the Google Member Map mod but if you don't use Member Notepad you won't have the problem!
Quote from: GL700Wing on March 08, 2017, 05:49:07 PM
The problem I described *specifically* relates to the use of these two mods together - the bug exists in the version 3.0 of the Google Member Map mod but if you don't use Member Notepad you won't have the problem!
Yes , it was wath i understood of your problem having those 2 mods to live together on your forum. Good luck fo a solution , i will follow the tread ... i might like to install the Member note pad , could be a good way to members that leave there position on the map ... to give all some interesting point to know about that location !
Just tinging , or dreaming ... ;D... it could be a nice upgrade for the Google Member map MOD , INCLUDE in the Map mod ... a way for the user to write some comments within his Member Map !!! so other members looking at his map could also read or not those comment ! ( option for the member in his profile ) 8)
hi i have a smf 2.0.13 with tinyportal 1.2 and after disabling template eval.i am getting errors
originally before unchecking i got (and tried posting in tinyportal support)
http://www.---.com/index.php?
8: Undefined variable: modSettings
File: /home/--------/htdocs/Themes/default/TPsubs.template.php(127) : eval()'d code
Line: 42
then after unchecking i got
http://www.xxx.com/index.php?
8: Undefined variable: modSettings
File: /home/xxx/user/htdocs/Themes/default/languages/GoogleMap.english.php (tp_below sub template - eval?)
Line: 42
looking at member map -- it seems to be working fine (was 2.6 then manually edited for 3.0)
line 42 is
$txt['googleMap_DefaultZoom'] = 'The default Zoom Level';
any ideas
thx in advance
Do you have a block code in tinyportal? TPsubs.template.php is from tiny portal. and if you disabled temp eval that would mean it is coming from a block.
thx i have TP code blocks on my front page
but
Quotethat is from a different mod, you would need to post in that mods support topic.
was the response i got when posting in their mod support.http://www.simplemachines.org/community/index.php?topic=27642.msg3918596#msg3918596 (http://www.simplemachines.org/community/index.php?topic=27642.msg3918596#msg3918596)
i though suspect some flaky php code edits i may have introduced to a few blocks ;) (but none of the blocks reference the membermap as far as i know)
thx for your help
ps i have just turned off a few blocks that i had been playing with, and sure enough the error has gone so i'll get back to them and see if someone can spot what the problem is with the php code block. thx again
Just having a swift ganders at the mod package, I noticed $modSettings isn't globalised in add_settings.php (not that it matters at runtime).
cheers Shambles -- and that is why when the template errors are removed, it pointed to membermap perhaps
Google member map 2.6 is not working at all. It was just brought to my attention by a member of my forum.
I am trying to install 3.0 but have several errors as attached...
I made a backup.
Should I go ahead and hit install mod..?
Thanks in advance.
P.S.
The only recent changes have been changing the forum URLs to https and forcing them with .htaccess and adding the anti-adblock nag mod.
I would uninstall the old version then install new.
If you still have errors process with install then make the changes to the failed files manually.
Upload the package to http://www.smfhacks.com/smf-package-parser.html and get the file edits.
Thank you sir, going in... O:)
2.6 uninstalled fine and 3.0 installed with no errors. Got the api entered and changes saved, but the member map is still blank.
Attached.
Thanks for the help.
Any errors in javascript error log
Are you on https?
Dan if you have a look back at the previous page of this thread I had the same error and it came down to not having the correct URLs authorised. I ended up doing all the variations on mine (i.e whole domain AND forum url) and it now works fine.
Anyway there is some more discussion on the matter there which will likely be of assistance.
Quote from: landyvlad on March 28, 2017, 08:09:24 PM
Dan if you have a look back at the previous page of this thread I had the same error and it came down to not having the correct URLs authorised. I ended up doing all the variations on mine (i.e whole domain AND forum url) and it now works fine.
Anyway there is some more discussion on the matter there which will likely be of assistance.
I read (skimmed) your posts and did not see where to authorize anything. I now suppose it is somewhere in getting the api key.
I will redo the key and look harder for a place to authorize the whole domain and the forum url.
Thanks for your reply
Quote from: vbgamer45 on March 28, 2017, 07:53:41 PM
Any errors in javascript error log
Are you on https?
Yes https... Plenty of errors. Thanks
Blocked loading mixed active content "http://maps.google.com/maps/api/js?key=xxx&sensor=false"[Learn More] index.php
Loading mixed (insecure) display content "http://www.eaglersnest.com/forum/Eaglogo.png" on a secure page[Learn More] index.php
Loading mixed (insecure) display content "https://www.eaglersnest.com/forum/Eaglogo.png" on a secure page[Learn More] index.php
Loading mixed (insecure) display content "http://www.eaglersnest.com/forum/offsite_avatars/avatar_1_1388098606.gif" on a secure page[Learn More] index.php
Loading mixed (insecure) display content "https://www.eaglersnest.com/forum/offsite_avatars/avatar_1_1388098606.gif" on a secure page[Learn More] index.php
code.createjs.com : server does not support RFC 5746, see CVE-2009-3555 (unknown)
banner started YahooDynamic_728x90.html:272:6
total time - 14.748 seconds YahooDynamic_728x90.html:331:7
Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More] index.php
jquery is already loaded with version: 1.10.1 index.php:372:5
result of version check: 2 index.php:374:6
after version check loaded with version: 2.0.3 index.php:385:10
Open templates\GoogleMap.template.php
<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . '&sensor=false"></script>
Change
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . '&sensor=false"></script>
I got a new key and restricted it and put in the forum url and the google map page url... I'm still jacked-up.
Opened themes\default\GoogleMap.template.php and changed the http to https... Bingo, bango bongo... Works!
Thanks for everyone's help..!
sweet!
It took me a little while to get this working, but my members love it ! It's a really good mod.
Update
3.0.1
!Fixed bug with https sites not showing the google map.
glad to see this mod has been brought back to life,
my members were dissapointed when we lost it.
the old pin locations were still in our DB and this version sees them but with over 2900 pins it takes over 90 seconds to populate.
if there is anything i can do to help optomize this lef me know
naitram - if you set it so it 'clusters' (I forget the correct terminology, may be right) nearby pins, that MAY help the issue? It will still show individual pins when zoomed in, but when zoomed out there will be fewer so may populate quicker? Worth a try.
still takes about 90 seconds to populate
Hmm sorry can't help you then.
On another topic, are there plans to male this mod SMF 2.1 compatible?
Please please please please please !
When 2.1 is released.
hello,
is it possible to put this mod responsive?
Thank
no
i have been doing some testing with debug statements and what i found was the following function was taking 90 seconds to complete when there are over 2900 pins
// Load all of the data for these 'pined' members
loadMemberData($temp);
foreach ($temp as $v)
loadMemberContext($v);
unset($temp);
i went back to an old version of this mod and looked at how it loaded the data.
it just grabbed a few needed columns from the members table and did not rely on loadMemberContext for each.
i hacked the 2 versions together and now the page loads in 3-4 seconds
each pin loads only the following
while ($row = $smcFunc['db_fetch_assoc']($request)){
$ID = $row['id_member'];
$realName = $row['real_name'];
$longitude = $row['longitude'];
$latitude = $row['latitude'];
$gender = $row['gender'];
i also made 2 changes to the "js" code 1 based on errors observed in the browser
changed
html = markers[i].childNodes[0].nodeValue;
to
html = markers[i].getAttribute("html");
and as a personal preference set
scrollwheel: true,
naitram will take a look do you have full edit for the query change just want to see it.
The loadMemberData makes sense since it does a query for each member listed if it wasn't cached before.
the issue for me with loadMemberData is just the amount of time it takes to loop through it 2900+ times
my current copy attached. far from polished code but its working for me.
Hello,
I have problem when I activate this mod, the profile page of the member doesn't display... When I uninstal the mod, the page display properly.
Is this a known bug?
Non known. Do you have api key setup? Take a screenshot or provide link.
Sorry vbgamer45, I didn't see your post earlier.
QuoteDo you have api key setup? Take a screenshot or provide link.
What do you mean about this?
Mixed content warning in Fire Fox.
I have been able to run down all src="http: references by using the show source code function in the browser.
The last page I still have the mixed content warning on is the Google member map page. I don't find any http: references however while viewing the source.
There are links in the footer but they are also on the rest of the forum pages that have the green padlock now.
Could this mod need work? Is it perhaps calling a script from an http source?
Package Manager reports V 3.01 for the mod and the forum is on the 2.0.14 patch
https://www.eaglersnest.com/forum/index.php?action=googlemap (https://www.eaglersnest.com/forum/index.php?action=googlemap)
Thanks VBG45.
Fixed Dan
Posted update
3.0.2
Fixed path for mark cluster images moved to https://
You guys are awesome... Thank you sir!
I uninstalled 3.01 and installed 3.02, Still have the mixed content warning... It does seem to stay green until the pins load.
attached...
Hmm made another change. new update before I just updated the .js file now made a php files changes for the same cluster image code.
Bingo! ;D
I had to delete the 3.02 file, it told me I already had the package on the server... But all green padlocks now. Awesomeness.
Glad we have a winner!
Excellent mod, it would be perfect to have it for 2.1 beta
Will do once 2.1 final comes out
Hi
looks like a great mod but i cant get to add pins to it i i click the "Click here to add or edit your pin location on the map." but it brings up the user profile and there is no where to add the location . any help would be gratefully received
Thanks In Advance
Ok got it to work but.. only an admin can place the pins. The normal members cannot see the location in their profile, But also there is no google map permissions in the admin area to assign to members
Any help would be appreciated
Admin - Configuration - modification settings - member map.
ensure the mod is enabled.
And under Members - General Permissions in the "general section" there is are options
View member Map
Place pins on member map
ensure both are ticked.
Suddenly my map has stopped working! :'(
https://prnt.sc/gr9uva
Feature request:
(1) remove styles from template into css file
(2) make the whole template a bit more responsive, e.g. by replacing the table structures by floating css boxes
I just started working on this for a forum using the reseller theme - this is what I've done so far:
Added some lines of css to GoogleMap.css
#mapWindow { margin-bottom: 10px; height: 512px; }
#map_leftSidebar { white-space: nowrap; display: inline-block; padding-right: 10px; }
#map_rightSidebar { display: inline-block; white-space: nowrap; padding-left: 10px; }
#map_main { display: inline-block; width: 80%; }
#map { height: 500px; }
.mapFloatingbox { display: inline-block; padding: 5px; }
and modified GoogleMap.template.php:<?php
// Google Member Maps Modification
function template_map()
{
global $context, $modSettings, $scripturl, $txt, $settings;
if (!empty($modSettings['googleMap_Enable']))
{
echo '
<div id="main_container">
<div class="cat_bar">
<h3 class="catbg">', $txt['googleMap'], '</h3>
</div>
<div class="windowbg2">
<span class="topslice"><span></span></span>
<div class="content">';
// Show a left sidebar?
if ((!empty($modSettings['googleMap_Sidebar'])) && $modSettings['googleMap_Sidebar'] == 'left')
{
echo '
<div id="map_leftSidebar">
<div class="centertext"><em><strong>', $txt['googleMap_Pinned'], '</strong></em></div>
<hr style="width: 94%;" />
<div id="googleSidebar" class="googleMap_Sidebar" ></div>';
if (!empty($modSettings['googleMap_BoldMember']))
echo '
<div class="centertext googleMap_Legend">
<strong>' . $txt['googleMap_bold'] . '</strong> ' . $txt['googleMap_OnMove'] . '
</div>';
echo '
</div>';
}
// our map
echo '
<div id="map_main">
<div id="mapWindow">
<div id="map"></div>
<div id="googleMapReset" onclick="resetMap(); return false;" title="'. $txt['googleMap_Reset'] . '"></div>
</div>';
// Set the text for the number of pins we are, or can, show
if ($context['total_pins'] >= $modSettings['googleMap_PinNumber'] && $modSettings['googleMap_PinNumber'] != 0)
echo
sprintf($txt['googleMap_Thereare'], '<strong>(' . $modSettings['googleMap_PinNumber'] . '+)</strong>');
else
echo
sprintf($txt['googleMap_Thereare'], '<strong>(' . $context['total_pins'] . ')</strong>');
echo '
</div>';
// Show a right sidebar?
if (!empty($modSettings['googleMap_Sidebar']) && $modSettings['googleMap_Sidebar'] == 'right')
{
echo '
<div id="map_rightSidebar">
<div class="centertext"><em><strong>', $txt['googleMap_Pinned'], '</strong></em></div>
<hr style="width: 94%;" />
<div id="googleSidebar" class="googleMap_Sidebar"></div>';
if (!empty($modSettings['googleMap_BoldMember']))
echo '
<div class="centertext googleMap_Legend">
<strong>' . $txt['googleMap_bold'] . '</strong> ' . $txt['googleMap_OnMove'] . '
</div>';
echo '
</div>';
}
// Show a legend?
if (!empty($modSettings['googleMap_EnableLegend']))
{
echo '
<div class="cat_bar">
<h4 class="catbg"><span class="align_left">', $txt['googleMap_Legend'], '</span></h4>
</div>
<div class="centertext">';
if (empty($modSettings['googleMap_PinGender']))
echo '
<div class="mapFloatingbox"><img src="https://chart.apis.google.com/chart', $modSettings['npin'], '" alt="" />', $txt['googleMap_MemberPin'], '</div>';
else
echo '
<div class="mapFloatingbox"><img src="https://chart.apis.google.com/chart', $modSettings['npin'], '" alt="" />', $txt['googleMap_AndrogynyPin'], '</div>
<div class="mapFloatingbox"><img src="https://chart.apis.google.com/chart', $modSettings['mpin'], '" alt="" />', $txt['googleMap_MalePin'], '</div>
<div class="mapFloatingbox"><img src="https://chart.apis.google.com/chart', $modSettings['fpin'], '" alt="" />', $txt['googleMap_FemalePin'], '</div>';
if (!empty($modSettings['googleMap_EnableClusterer']) && ($context['total_pins'] > (!empty($modSettings['googleMap_MinMarkertoCluster']) ? $modSettings['googleMap_MinMarkertoCluster'] : 0)))
{
$codebase = 'https://raw.githubusercontent.com/googlemaps/v3-utility-library/master/markerclusterer';
$chartbase = "https://chart.apis.google.com/chart";
switch ($modSettings['cpin'])
{
case 1:
$pinsrc = $codebase . '/images/m1.png';
break;
case 2:
$pinsrc = $codebase . '/images/people35.png';
break;
case 3:
$pinsrc = $codebase . '/images/conv30.png';
break;
default:
$pinsrc = $chartbase . $modSettings['cpin'];
}
echo '
<div class="mapFloatingbox"><img src="' . $pinsrc . '" height=37 />', $txt['googleMap_GroupOfPins'], '</div>';
}
echo '
</div>';
}
echo '
<div class="centertext">';
// If they can place a pin, give them a hint
if (allowedTo('googleMap_place'))
echo '
<a href="', $scripturl, '?action=profile;area=forumprofile">', $txt['googleMap_AddPinNote'], '</a>
';
// Google earth klm output enabled?
if (!empty($modSettings['googleMap_KMLoutput_enable']))
echo '
<br><a href="', $scripturl, '?action=.kml"><img src="', $settings['default_theme_url'], '/images/google_earth_feed.gif" border="0" alt="" /></a>
';
echo '
</div>';
// Close it up jim
echo '
</div>
<span class="botslice"><span></span></span>
</div>
</div>';
// Load the scripts so we can render the map
echo '
<script type="text/javascript" src="https://maps.google.com/maps/api/js?key=' . $modSettings['googleMap_Key'] . '&sensor=false"></script>
<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/markerclusterer_compiled.js"></script>
<script type="text/javascript" src="', $scripturl, '?action=googlemap;sa=.js;count='. $context['total_pins'] .'"></script>';
}
}
?>
Pls note: This is work in progress and has only been roughly tested with SMF 2.0.14 and a modified Reseller theme - YMMV.
Another minor change I found useful for "nicer" display of user details after clicking on the pin:
add to css.googleMap img.avatar { max-width: 240px; max-height: 240px; }
change line 505 of GoogleMap.php from <div class="floatright" style="height:' . $div_height . 'px">' . $marker['avatar']['image'] . '<br /></div>';
to <div class="floatright" style="max-height:' . $div_height . 'px">' . $marker['avatar']['image'] . '<br /></div>';
And a minor bug: the PM link expanded over the blurb text in the user pin popup - it is lacking a closing </a> tag in GoogleMap.php line 566
Correct code should be (line 561ff.) // Show the PM tag
$datablurb .= '
<li>
<a href="' . $scripturl . '?action=pm;sa=send;u=' . $marker['id'] . '">';
$datablurb .= $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($marker['online']['is_online'] ? 'on' : 'off') . '.gif" height="16" border="0" />' : ($marker['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']);
$datablurb .= '</a>
</li>
Update
3.0.4
!Fixed closing </a> tag in a couple spots thanks to Louis
Thanks for the update.
Also, and I know it's only minor, but the issue I reported in Profile.template.ph in February (https://www.simplemachines.org/community/index.php?topic=550885.msg3916480#msg3916480) is still not fixed which means I had to do a manual edit again to get this mod to work with Member Notepad.
This was working on our old server. When we moved to a new server the forum would not work and I tried reapair-settings including remove all hooks. Finally resorted to uploading a fresh set of files which removed all mods. I have re-installed Google Member Map and the map dispalys as well as the list of members who had previously placed pins but no pins show on the map.
Also trying to add a pins does not work.
What do I need to do to fix this?
http://www.ridemsta.com/mstaforums/index.php?action=googlemap (http://www.ridemsta.com/mstaforums/index.php?action=googlemap)
Thanks
Quote from: lather on October 18, 2017, 12:51:23 PMbut no pins show on the map
The pins
do show on the map, but apparently all appear at 0.0S 0.0E somewhere off the coast of Africa. Are the coordinates still correct in the database? (Would be surprised if not, but asking anyway)
Quote from: Louis on October 18, 2017, 03:51:30 PM
Quote from: lather on October 18, 2017, 12:51:23 PMbut no pins show on the map
The pins do show on the map, but apparently all appear at 0.0S 0.0E somewhere off the coast of Africa. Are the coordinates still correct in the database? (Would be surprised if not, but asking anyway)
Yes the coordinates appear to be correct, longitude in the -84 to -77 and latitude 26-40 range which is continental USA, certainly not the Gulf of Guinea. I think that spot where the pins display is probably lat 0 and long 0
What is the update process please? Is it just upload and install the new one, or do I uninstall./delete the old one first?
(It'd be cool if this info was included in the description of the mod, for easy reference)
Thanks
Either way works.
Hi,
I have 2.0.8 installed (it quit working properly some time ago) and want to upgrade it to the latest, but clicking Uninstall under Installed Packages gives an error that there is no uninstaller. I tried to upload that Mod to SMF Hacks Package Parser and it said not compatible with current version. Is there a straightforward way to remove it so I can upgrade?
Many thanks,
Jeff
Try to emulate an old version of SMF? I guess try SMF 2.0 and see if the uninstall link can be found then.
Thanks- that did generate a parse list. I'll take a look over the weekend. It doesn't look like it's got too many hooks, and the language stuff is of course easy.
Thanks- I was able to extract it. I didn't know how to generate the add_remove_hooks.php file, but was able to get through it all, plus successfully install v2.8! Much appreciated!
Jeff
Cool glad you have it working on the new version!
We had an old version installed but after a couple of server issues it stopped working.
I then uninstalled it but left database entries, on installing version 3.0.4 the same is happening.
When the Membermap is selected a map with no pins appears briefly followed by a white screen with the error
QuoteUnable to read the map pin data, result was - 500
I have checked in a number of profiles and the pins are showing ok.
Any suggestions please.
Sorry to bump :-[
Any ideas at all as to where to look?
I would check in firefox or chrome developer tools and try to trace the remote 500 call and see what the true error code is.
Thanks for the reply, will try and work out how to use Developer Tools in browser, I may be back. :-[ :-\
If not send me a link to your page and can look at it.
Many thanks for the offer @vbgamer45 but ours is a private forum so the page isn't available to non-members.
I will keep trying with the Developer Tools.
Trying to uninstall version 3.0 to upgrade to 3.0.4. and getting this error in the uninstall test
Quote
14. Execute Modification ./Themes/default/languages/Who.english-utf8.php Test failed
1. Replace ./Themes/default/languages/Who.english-utf8.php Test failed
I'm currently running SMF2.0.13
A little guidance / help on how to proceed would be greatly appreciated.
ignore that one.
I just LOVE this mod. It's one of my favourite enhancements.
Is a 2.1 version likely?
When SMF 2.1 goes final.
AWESOME !!!!!!!!! ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
I recently migrated to a new server because I was no longer able to update SMF because of old PHP versions. After the migration, I then updated from 2.0.13 on up to 2.0.15
I now have an issue with our members map. The map works in the profiles. You can edit a pin and save it and the map shows as expected. The problem is with the main map. When you click on the link, the map loads, but then, after a mment, it goes to a white screen with this error:
Unable to read the map pin data, result was - 500
Any suggestions?
This is not the latest version of the map mod. I was going to try and update it, but get several install error warnings so have refrained.
I would suggest try the new version at least upload the new version of the files if you can. You can use the manual package parser to make the edits to your SMF files.
The new version does fix a bunch of bugs that were there in the past.
Should I uninstall first, or at least try to? Also, we have about 4000 pins in the map. Will the database remain untouched if I uninstall and reinstall so we do not lose that data?
Only if you choose the option on uninstall to delete the data.
If you are unsure make a backup your site/database.
Do I NEED to uninstall? Or can I install over top? Or, is that why I am getting the errors when trying to install the new version?
You would need to uninstall because it would try to edit the same spots and it can't
I just looked and get errors for uninstall as well.
for load.php
It says to find:
'website' => array(
'title' => $profile['website_title'],
'url' => $profile['website_url'],
),
'googleMap' => array(
'latitude' => !isset($profile['latitude']) ? 0 : (float) $profile['latitude'],
'longitude' => !isset($profile['longitude']) ? 0 : (float) $profile['longitude'],
'pindate' => !isset($profile['pindate']) ? '' : $profile['pindate'],
),
Code: (Replace) [Select]
'website' => array(
'title' => $profile['website_title'],
'url' => $profile['website_url'],
),
I looked at my load.php file, and it already says what to replace it with, it does not have the additional code.
I also get an error on Who.english.php.
Would you proceed with uninstall with those two errors?
Yes I would.
I uninstalled the old members map without issue. Now on install of the new version, there were no errors presented, so I installed and everything looked fine. Since the old version did not require a key, I obtained a key and added it in the members map settings. Everything looks okay, other than, nothing has changed.
The members map loads the map, and within a moment switches to a white screen that says only
Unable to read the map pin data, result was - 500
and in the status bar it says: waiting for csi.gstatic.com
Quote from: vbgamer45 on January 11, 2018, 02:15:13 PM
I would check in firefox or chrome developer tools and try to trace the remote 500 call and see what the true error code is.
I have the same and @vbgamer45 suggested the above, but I can't work out how to use the tools.
I just spotted that I also get waiting for csi.gstatic.com
I would have no idea how to do that either. Did you problem just pop up after having worked before? I kinda associate mine to upgrading from 2.0.13 to 2.0.15 but that may be mere coincidence
Quote from: Jeff B on February 02, 2018, 03:57:21 PM
Did you problem just pop up after having worked before? I kinda associate mine to upgrading from 2.0.13 to 2.0.15 but that may be mere coincidence
I had just upgraded from 2.0.14 to 2.0.15 and I have discovered the host did a server upgrade on the same day, the map was first reported to be "not working" the next day.
As you mentioned migrating to a new server at the same time maybe this issue is related to our servers. :-\
I was messing around with the developer console, and had this pop up when the screen switched from map to the error.
XML Parsing Error: no root element found
Location: http://mywebsite.com/board/index.php?action=googlemap;sa=.xml
Line Number 1, Column 1:
Interesting, I have taken a backup of the files and database and installed them on a different hosts server.
It works perfectly without any errors, all pins showing ok.
In my case at least it has to do with the server, but no idea what at present. ??? :-\
Jeff do you have a public llink on your website where i can see this error occur?
P.M. sent
Anything in your forums error log that might related?
Nope, nothing. I clicked on the link and let the map page load the error page a few times, then checked the log and nothing. I also looked back to see if there was anything related and there is not.
Quote from: Tonyvic on February 03, 2018, 08:54:54 AM
Interesting, I have taken a backup of the files and database and installed them on a different hosts server.
It works perfectly without any errors, all pins showing ok.
In my case at least it has to do with the server, but no idea what at present. ??? :-\
Finally tracked it down, when the host did the server upgrade somehow my PHP INI memory was reduced to 32M
I changed it back to 64M where it was previously and the Map pins appear again. All is good :)
Ah good to know!
Is this what you are talking about?
Mine is:
; The OPcache shared memory storage size.
;opcache.memory_consumption=64
the other setting I see is:
; Maximum amount of memory a script may consume (128MB)
; http://php.net/memory-limit
memory_limit = 128M
Not sure whether I dare mess with those or not. suggestions?
memory_limit = 128M should be good.
You can try to raise 256M
No joy. I reset to 256, restarted apache and no luck.
Whats this?
Maximum input variable nesting level
; http://php.net/max-input-nesting-level
;max_input_nesting_level = 64
Don't change that.
[hands suddenly go in the air]
I have
MultiPHP INI Editor in my cPanel and simply changed it there.
I found my problem by looking in the error log in my Forum root directory, at the times the membermap error appeared were entries starting with
QuoteHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 79 bytes) in................
Sadly it doesn't seem to be the same problem that you have.
I've tried to find a log somewhere that relates and find nothing. Is there anything I can do to try to record the error?some sort of debugger or something?
Places to check first enable the php error log in the php.ini
You can set a file for it to write to.
You can also check your apache error log but I would do the php one first.
I wanted to try this out but my Load.php has no such lines of code
mem.buddy_list, mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,
I can't find part of a query in ./Sources/Load.php that looks like that at all.
any idea why my Load.php is so different ?
Other mods change it.
I would look at fresh SMF 2.0.15 install and look for that line.
Then find one similar in yours.
that is not possible but thanks; it installs fine on my vanilla SMF 2.0.15.
I should've tried it and maybe I can retrofit it down the track but for now, i will leave my mods on.
Quote from: vbgamer45 on February 05, 2018, 11:52:54 PM
Places to check first enable the php error log in the php.ini
You can set a file for it to write to.
You can also check your apache error log but I would do the php one first.
AHA! I did as you suggested, Enabled php log in pho.ini and I found this error occurring:
snmpd[701]: error on subcontainer 'ia_addr' insert (-1)
Now what to do about it?
Does that occur each time when you try load the member map.
I'm beginning to think that isn't it. My server when you enable the log in php.ini writes to the syslog by default. This could be something else, as I ran tail -f syslog and watched as I tried to load the maps, and it wasn't appearing as expected.
I was able to produce errors using firefox's console.
QuoteXML Parsing Error: no root element found
Location: http://mysite/board/index.php?action=googlemap;sa=.xml
Line Number 1, Column 1:
index.php:1:1
TypeError: xmldoc is null
[Learn More]
index.php:146:6
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
I'm getting somewhere, but not there yet. I just changed the permissions on my themes folder from 777 to 775 and now that map is loading, and staying loaded, but the pins are not loading on the map.
DRAT Google must have been sleeping. when I went back to try and advance to a solution, I found that I still had the same issue. still the parsing error.
Okay, I'm going to offer a reward for figuring this out!
Enough to take your significant other out for Dinner on Valentines day!
Quote from: Jeff B on February 14, 2018, 05:18:58 PM
Enough to take your significant other out for Dinner on Valentines day!
Not sure if this helps Jeff.
HTTP500: SERVER ERROR - The server encountered an unexpected condition that prevented it from fulfilling the request.
(XHR)GET - http://forestryforum.com/board/index.php?action=googlemap;sa=.xml
Nibogo is the hero on this one. He was able to get my members map working. Hopefully he can fill you in on exactly what was going on, but it had something to do with the member blurbs for the pins breaking it.
On a side note, where could I go edit the code to remove everything in those blurbs other than the username and link to profile? They never did format well. Stuff on top of stuff.
Quote from: Jeff B on February 15, 2018, 05:53:13 PM
Nibogo is the hero on this one. He was able to get my members map working. Hopefully he can fill you in on exactly what was going on, but it had something to do with the member blurbs for the pins breaking it.
On a side note, where could I go edit the code to remove everything in those blurbs other than the username and link to profile? They never did format well. Stuff on top of stuff.
That's great news Jeff, really glad you got this sorted. I know how frustrating these problems can be. 8)
Quote from: landyvlad on January 18, 2018, 08:48:56 PM
I just LOVE this mod. It's one of my favourite enhancements.
Is a 2.1 version likely?
Quote from: vbgamer45 on January 18, 2018, 09:00:29 PM
When SMF 2.1 goes final.
Well that is good news.
In the meantime there will obviously be a gap between when I upgrade from 2.0.15 to 2.1 (when final is released) and the time when the member map is reintroduced.
How can I save all the data (location pins for members) so that when I install again in future, it will have all those existing pins?
I hope this makes sense...
The data will carry over as long as your forum is upgraded.
Ta muchly.
Sorry if this has been covered elsewhere (I searched but couldn't find anything).
Has anyone got a good handle on how or if the new Google Maps pricing policy will affect users of this mod ?
https://cloud.google.com/maps-platform/pricing/
I think you would be ok since you get $200 of credit a month unless you have a lot of usage
I hadn't seen that. Just another filthy money grab from google it seems. I'll bet that free allowance gets reduced over time.....
and wow, could the pricing possibly be any more complex.... ::)
It is confusing the pricing for most forums I think they would be well under the limit.
I got an email from Google this week implying that by 2020, possibly 2019 I will need to set up a payment method in my Google account.
Just wanted to say thanks for this mod.
I was using v 2.6, which stopped working recently. I did upgrades of my forum from 2.0.11>2.0.12>2.0.13>2.0.14>2.0.15 , then uninstalled the Maps mod (leaving Remove data unchecked - the scary bit). Installed v3 of the mod - and it's all back and working, with all user data still there. Phew. Cheers!
Glad you enjoy it!
Is it the member responsibility to assign their own location push pin? I'm asking because I've seen on other sites where the member map automatically generates the locations by each IP address associated with the active member.
Yes it is.
Recently updated this mod to our 2.0.15 forum. All was good until today, getting 500 errors now. I pulled the error logs via php myadmin and there are tons of errors for this mod related to the security.php file.
I could not find any similar issues posted...mod update was complete 11/24 around 9am, sit was working this morning around 7am.
What does the error line look like?
Quote from: vbgamer45 on November 26, 2018, 07:37:24 PM
What does the error line look like?
8: Undefined index: cannot_googleMap_view
Strange do you have this line in your googlemap.english.php file
googleMap_view
Quote from: vbgamer45 on November 26, 2018, 08:45:14 PM
Strange do you have this line in your googlemap.english.php file
googleMap_view
There are about 8 lines of code with that in it. After looking at it further, the error references line 905 of my security.php file code which has to do with guest logins.
Well 3 actually, sorry I was looking at the code grouping and not the text.
Shoot meant for you to check the language file for this code
$txt['cannot_googleMap_view'] = 'Sorry, you are not allowed to view the Member Map.';
That line is there. I restored my last database and cleared the cache folder and it's up again. For now...
Is there a direct URL to use with the Package Manager to install this? I am only finding the zip file to download and not sure how to install this from the Package Manager?
You would use the upload package feature inside the package manager then select the zip file to install.
Select the zip file from what URL?
When I save the file to my desktop it won't open with the package manager?
You download the zip to your computer then upload the zip to the package manager.
Getting numerous error message when I try to do that and it tells me not to install it. Should I uninstall the older version first?
Yes
Quote from: aegersz on February 08, 2018, 07:05:28 PM
I wanted to try this out but my Load.php has no such lines of code
mem.buddy_list, mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,
I can't find part of a query in ./Sources/Load.php that looks like that at all.
any idea why my Load.php is so different ?
We have the same problem, in our case it seems to be the "additional membergroups" mod that has changed 2 of the lines in Load.php that this mod also wants to alter.
Am I correct in assuming that it doesn't really matter where it is in the array of strings that is being called by the query only that it is in the array? Nor do you need to match the entire line?
would altering this part in modification.xml
<operation>
<search position="replace"><![CDATA[
mem.buddy_list, mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,]]></search>
<add><![CDATA[
mem.buddy_list, mem.latitude, mem.longitude, mem.pindate, mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[
mem.notify_types, lo.url, mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,]]></search>
<add><![CDATA[
mem.notify_types, mem.latitude, mem.longitude, mem.pindate, lo.url, mg.online_color AS member_group_color, IFNULL(mg.group_name, {string:blank_string}) AS member_group,]]></add>
</operation>
to this:
<operation>
<search position="before"><![CDATA[
mem.karma_good, mem.id_post_group, mem.karma_bad, mem.lngfile, mem.id_group, mem.time_offset, mem.show_online,]]></search>
<add><![CDATA[
mem.latitude, mem.longitude, mem.pindate,]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[
mem.notify_types,]]></search>
<add><![CDATA[
mem.notify_types, mem.latitude, mem.longitude, mem.pindate,]]></add>
</operation>
still work? (it does not error on install for us)
We had an old version in the past, but due to some errors after upgrading it stopped working, so got uninstalled, but the data remains in our database. I see we now need to set up some sort of payment option to get an API key?
Yes you could do that. That would still work.
Google now requires a payment method on file. They give you free credits each month as well.
Aloha.
Wondering if this will be updated for SMF2.1 RC1 now that's officially released?
(or are there insurmountable obstacles to doing so?)
Thanks
Updated for SMF 2.1.x
Thanks for the update.
I try to install the mod today and I have blank page when I clic install and an error that I attached.
Fixed had a last second mistake I made.
Now the installation was perfect an appear that all works but I have this error now
Try now made a change.
Nop
Same error
Made another change.
I update to the new git hub today.
I dont have other mods installed but the error persist.
290 errors every stime I clic in "Member Map" :-\
Hello Folks,
This is a really cool solution that would be perfect for what I want to do on my forum.
I use forumotion for my forum.
Is it possible to install?
If so, how would I manage this. I have an API and have managed to install 'google maps' on the form as a widget, but it doesn't have the capibility to drop multiple pins.
Frustrated in Oklahoma.
I do not code at least not since UCSD Pascal many moons ago.
Thanks
Sett
No forummtion is not SMF based nor does it allow addons like this to be installed.
You would need to have your own hosting account with SMF installed to use this mod.
We're suddenly getting an error:
QuoteGoogle Maps JavaScript API error: DeletedApiProjectMapError
Any ideas?
https://stackoverflow.com/questions/38182710/google-maps-api-error-deletedapiprojectmaperror
Having a little trouble with the Google Members Map.
Actually having two problems. #1 is a white screen for the map display. It was working when I first set it up, and now it's gone. Screencap attached. You'll see there is one pin attached, which I was able to set in my profile. Everything works fine there.
The second problem was when I attempted to uninstall and reinstall the mod, in case I botched it the first time. On the pre-uninstall check, I get an error that the ./Themes/default/scripts/markerclusterer_packed.js file was not found. Screencap attached.
If file not found it is safe to ignore the delete.
But on install the file should be there if it is used.
In what instance should that file be needed?
Any hints on the white screen for the map?
Thanks!
Check your browser's console error log.
You have to paid google api account I believe now for the api key to work.
Quote from: vbgamer45 on September 12, 2019, 03:42:34 PM
You have to paid google api account I believe now for the api key to work.
Nope it's still working on mine.l I believe google allows you a certain number of free lookups via the API but if you exceed that activity level then you have to pay for it. Which is a bugger because it's a really handy mod, I love it.
I had to hit reply because there is no "start a new topic button"
I received a notice today from Google...
We are writing to let you know that the permanently_closed property is deprecated and will be replaced by the busines_status property in
Places API (https://www.google.com/appserve/mkt/p/AD-FnEzrL6kgET-4qd4v9o3U6xdYBS8W7RZLqjEj7J5FLLQP1EFkyVYFH9sVrfMtgU2XM7WqOWI1EOy1eY12U2Y_o5QkY9mXM09moaYFelifm29uDVOW_n0NX-hy-cI) and
Places Library (https://www.google.com/appserve/mkt/p/AD-FnEwUJOsvHlwkuEj_J_UdMYBL7bTYhbk6g1fCxb7Uf4BTrxNQVKrpcVnpd8_uE_W61gWWxgHw5hQXuWDzjJHCldu75da0qZCT7kMQAIhtJyikRgg27WO0dRrVFfzxraAUe6g1EnE-4Go), Maps Javascript API on May 26, 2021.
You are receiving this email because you have project(s):
- requesting this property in the fields parameter in Place Details and/or Find Place requests; and/or
- reading this property from the response returned to Place Details, Find Place, Nearby Search and Text Search requests.
I looked and my installed version is reported as 3.03 and the mod site lists the latest version as 3.04. I tried to upload it and I got an error that that mod already resides on the server... that I should delete it before I can upload the new one.
I selected 2.017 for manual install instructions from the parser and it says the mod is 3.0, so I am confused as to how to proceed.
I just installed this and it appears to load fine at first then goes to an oops/error screen:
Check the javascript console log in your browser
Quote from: vbgamer45 on September 08, 2020, 02:01:40 PM
Check the javascript console log in your browser
Ok thanks! Have to have a billing account!
Yeah google now requires it
Update 3.0.5
!Fixed support for PHP 7.4.x+ removed create_function
+Installs now cleaning SMF 2.1 RC3
Google Member Map mod 3.0.4 is working fine on 2.0.17 and is one of my favorite mods. I am getting a package upgrade error trying to upgrade to 2.0.18 and it looks like the error is caused by member map code. Should I uninstall 3.0.4 first then upgrade to 2.0.18 then install 3.0.5?
I had a heck of a time fooling with the Google map API for 3.0.4. I don't want to do through that hassle again.
Yes, I would try doing that. Just write down your API keys first.
I uninstalled version 3.0.4 and upgraded SMF to 2.0.18. I then installed Googe Member Map 3.0.5. All my settings were restored and the map displays fine. However it will not let users enter any new pins. clicking change profiles gives the "Your profiles has been changed successfully" message but the new entry is not added to the map.
Still need help with Google member Map 3.0.5 The map is displaying with all the old pins but users cannot add a new pin. Users with pins previously added before upgrade to 3.0.5 can move their pin. What could the problem be. I have no errors in error log.
There is a bug at that mod.
It doesn't matter what you change at "Forum Profile". The members pin will always be updated. No matter what you change there. You can see that doing the folloing:
Change anything at your "Forum Profile", except google maps pin. After that go to the maps overview. Your pin will be marked as changed, even though you changed everything, but not the member maps pin.
The Google Map will be no longer for free since a little time.
To get involved with that, have a look at:
https://developers.google.com/maps/documentation/embed/get-api-key
Update!
3.0.6
!Fixed updating pins
!Only update pin date if location changed.
Installed 3.0.6 and my map is working properly now, thanks!
Glad that fixed it!
Quote from: Matthias on February 27, 2021, 04:37:35 PM
The Google Map will be no longer for free since a little time.
As I understand it that's not entirely true. It's just going to limit how many calls on it you can have in a given period. I think it's only likely to affect large forums with many many people using the member map.
Quote from: landyvlad on March 02, 2021, 10:35:24 PM
Quote from: Matthias on February 27, 2021, 04:37:35 PM
The Google Map will be no longer for free since a little time.
As I understand it that's not entirely true. It's just going to limit how many calls on it you can have in a given period. I think it's only likely to affect large forums with many many people using the member map.
I had to submit a payment method to activate my API key a couple years ago. If I recall correctly non-commercial cite owners got $300.00 worth of hits per month. I have no idea how many hits that is but I have never been billed. We have a small membership of about 600 which is not growing due to our FB page being more poplular. We are now mostly a bunch of old codgers who don't care much for Socila Media. ::)
Quote from: lather on March 03, 2021, 09:03:08 AM
Quote from: landyvlad on March 02, 2021, 10:35:24 PM
Quote from: Matthias on February 27, 2021, 04:37:35 PM
The Google Map will be no longer for free since a little time.
As I understand it that's not entirely true. It's just going to limit how many calls on it you can have in a given period. I think it's only likely to affect large forums with many many people using the member map.
I had to submit a payment method to activate my API key a couple years ago. If I recall correctly non-commercial cite owners got $300.00 worth of hits per month. I have no idea how many hits that is but I have never been billed. We have a small membership of about 600 which is not growing due to our FB page being more poplular. We are now mostly a bunch of old codgers who don't care much for Socila Media. ::)
LMAO To me google has become more of a pain in the arse than its worth! :o 8)
Quote from: Shades. on March 03, 2021, 11:17:45 AM
Quote from: lather on March 03, 2021, 09:03:08 AM
Quote from: landyvlad on March 02, 2021, 10:35:24 PM
Quote from: Matthias on February 27, 2021, 04:37:35 PM
The Google Map will be no longer for free since a little time.
As I understand it that's not entirely true. It's just going to limit how many calls on it you can have in a given period. I think it's only likely to affect large forums with many many people using the member map.
I had to submit a payment method to activate my API key a couple years ago. If I recall correctly non-commercial cite owners got $300.00 worth of hits per month. I have no idea how many hits that is but I have never been billed. We have a small membership of about 600 which is not growing due to our FB page being more poplular. We are now mostly a bunch of old codgers who don't care much for Socila Media. ::)
LMAO To me google has become more of a pain in the arse than its worth! :o 8)
I agree its a pia. BTW, had a look at bikerhound, interesting. I'm admin ridemsta
Ive tried on several occasion to install this mod but just get a java script error and I dont know what Im doing wrong or how to correct it. (See attachment)
BTW...I sent you a PM "lather". 8)
I would check out the javascript error console in the web browser.
Quote from: vbgamer45 on March 03, 2021, 02:14:25 PM
I would check out the javascript error console in the web browser.
ok well its showing
js?key=blahblahmykey&sensor=false:67 Google Maps JavaScript API error: ApiNotActivatedMapError
https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error
_.fe @ js?key=blahblahmykey&sensor=false:67
marker.js:20 Uncaught (in promise) TypeError: Cannot read property 'addEventListener' of undefined
at new yca (marker.js:20)
at HU (marker.js:42)
at marker.js:41
How do I activate it? Ive had the key for a while but nothing shows on google whether its activated or not!? Im confused lol! ???
Yeah it's very confusing you to go to the google developer console and do it.
Haven't done it in a long time.
Wish I could help but a couple years ago for me and it was a nightmare, had to try about 10 times to get it right.
Heres a screenshot of my google api console if that helps so it looks activated to me
Quote from: Shades. on March 03, 2021, 02:55:34 PM
Heres a screenshot of my google api console if that helps so it looks activated to me
Don't ask me where but I recall having to enter either e my domain or my URL the API key is restricted to.
bonjour
je viens de remettre en route cette application avec api ca fonctionne mon problème c est que ca ne n envoie pas le membres a son adresse mais plutôt du coté de l Afrique avez vous une idée de mon problème merci
je viens vous donner un peu plus d info
une image de mon profil avec la bonne adresse
et une image ou je me trouve quand je cherche sur member maps
Quote from: alain54100 on May 30, 2021, 01:57:37 AM
je viens vous donner un peu plus d info
une image de mon profil avec la bonne adresse
et une image ou je me trouve quand je cherche sur member maps
Dude, speak english here :)
I am coming to give you a little more info
a picture of my profile with the correct address
and an image where I am when I search on the membership cards
Quote from: alain54100 on May 30, 2021, 01:57:37 AM
je viens vous donner un peu plus d info
une image de mon profil avec la bonne adresse
et une image ou je me trouve quand je cherche sur member maps
just to point out, as deaks already reminded you, as per the rules of the forum, all posts are to be in english unless they are in the Language Specific Support boards
now within the modifications boards this rule sometimes is not applied, if and only if, the mod author speaks said language, in this case, as far as I'm aware vbgamer does not speak french so any posts in this thread do need to be in english, thank you. Otherwise you can post your question in french in the french language boards (https://www.simplemachines.org/community/index.php?board=14.0) and wait for someone who speaks french to reply.
Any chance of uploading a custom map and having members mark on that map? That would be a fantastic feature.
Very unlikely mod is mostly in maintenance only fixes
That's a shame. Thank you though!
SMF 2.1RC3 and/or 4
I finally figured out my API key problem is I had it restricted to HTTP referrers and I had to set it to "None" and now the maps work but...
The map appears outside of the border as seen in (1rst attachment) and in admin in the longitude is not correctly working (2nd attachment). So the United States is 37.0902° N, -95.7129° W, it only accepts whole numbers so I entered 37 latitude and 95 longitude (should be -95 but it won't accept negative numbers), anyways that centered the map over China. So in order to get it centered of the USA I had to enter 39 latitude and 980 longitude 4 zoom! :o ???
Also doesn't show the avatar when clicking on the members pin on the map. Just shows a broken image icon. (3rd attachment)
Works perfect in 2.0.19 with the correct latitude and longitude as should be for USA 37.0902 latitude -95.7129 longitude. ;) 8)
I have updated to the latest map version 3.0.6 at an 2.0.19 installation.
There is a litte bug:
8: Undefined index: cannot_googleMap_view
File: sources/security.php around line 910
906:// If they are a guest, show a login. (because the error might be gone if they do!)
907:if ($user_info['is_guest'])
908:{
909:loadLanguage('Errors');
==>910: is_not_guest($txt['cannot_' . $error_permission]);
911:}
The bug only affects guests. I think the GoogleMap.languages.php file is not loaded in this case. But the text string cannot_googleMap_view are located at this file.
To fix this, I have added cannot_googleMap_view text string to Modifications.languages.php
// Google Map Permissions
$txt['cannot_googleMap_view'] = 'Sorry, you are not allowed to view the Member Map.';
After doing that, the error message no longer occurs.
It's not a big deal but happens. ;)
Thanks have added in the latest update
I have this mod installed on 2.0.19.
I see its noted as compatible with 2.1RC3
With the release now of 2.1.0 is it compatible for use with no further changes necessary?
You can install this mod with the package manager. If you don't see any errors during installation, this should work.
I have mod v3.0.6a on SMF 2.1.1 on php 7.4 and get lots of "undefined index" errors, frequently followed by "Trying to access array offset on value of type null"
502: 8: Undefined index: image_href
528: 8: Undefined index: group_stars
536: 8: Undefined index: show_profile_buttons
592: 8: Undefined index: gender
594: 8: Undefined index: gender
And I am honestly a bit at loss how to fix all this. Some could for sure be caught by wrapping them in some if(isset($marker['...'])), but to me it looks as if I were lacking some options on the settings page :-\
Or am I missing something else?
[edit]
Anyway, this is what I changed to reduce the number of errors:
// groups stars
+ if (!empty($marker['group_stars'])) {
$datablurb .= '
<li class="stars">' . $marker['group_stars'] . '</li>';
+ }
// Show the profile, website, email address, and personal message buttons.
- if ($settings['show_profile_buttons'])
+ if (isset($settings['show_profile_buttons']))
{
+ if (isset($marker['gender'])) {
if ($marker['gender']['name'] == $txt['male'])
$markers .= 'gender="1"';
elseif ($marker['gender']['name'] == $txt['female'])
$markers .= 'gender="2"';
+ }
else
$markers .= 'gender="0"';
If you can list all the errors at line numbers for Trying to access array offset on value of type null I can take look
Reverting the changes I already made in the meantime (see my edit above) it seems only the 'gender' throws 'Trying to access array offset on value of type null' in lines 592 and 594
Quote from: Louis on March 13, 2022, 11:53:00 AMI have mod v3.0.6a on SMF 2.1.1 on php 7.4 and get lots of "undefined index" errors, frequently followed by "Trying to access array offset on value of type null"
502: 8: Undefined index: image_href
528: 8: Undefined index: group_stars
536: 8: Undefined index: show_profile_buttons
592: 8: Undefined index: gender
594: 8: Undefined index: gender
And I am honestly a bit at loss how to fix all this. Some could for sure be caught by wrapping them in some if(isset($marker['...'])), but to me it looks as if I were lacking some options on the settings page :-\
Or am I missing something else?
[edit]
Anyway, this is what I changed to reduce the number of errors:
// groups stars
+ if (!empty($marker['group_stars'])) {
$datablurb .= '
<li class="stars">' . $marker['group_stars'] . '</li>';
+ }
// Show the profile, website, email address, and personal message buttons.
- if ($settings['show_profile_buttons'])
+ if (isset($settings['show_profile_buttons']))
{
+ if (isset($marker['gender'])) {
if ($marker['gender']['name'] == $txt['male'])
$markers .= 'gender="1"';
elseif ($marker['gender']['name'] == $txt['female'])
$markers .= 'gender="2"';
+ }
else
$markers .= 'gender="0"';
That is also the case on my forum.
Are all the bugs now fixed by the changes you made?
I'm not that good at modifying the php code.
@vbgamer45 Will there be a fix for this mod?
Quote from: jacbier on March 14, 2022, 06:13:39 AMAre all the bugs now fixed by the changes you made?
Well, splitting hairs I'd say they are not really fixed but somehow caught and do no longer fill the error log. ;)
Except the "Undefined index: image_href" in line 502 the errors are all gone now.
And that one can ultimately be prevented by simply deleting lines 501 and 502 from GoogleMap.php:
<a href="' . $marker['online']['href'] . '">
<img src="' . $marker['online']['image_href'] . '" alt="' . $marker['online']['text'] . '" /></a>
I installed on upgraded forum (test forum 2.1.1) and where the member map was, is now just a white patch of screen...?
I have this mod installed on 2.0.19 and 2.1.1.
On 2.0.19 the map is centered and works perfectly.
Member Map 2.0.19.png
On 2.1.1 the map is off to the right and bottom covering up the "There are (0) member pins on the map" text.
Member Map 2.1.1.png
Fixed in case anyone else has this issue: (https://www.simplemachines.org/community/index.php?topic=550885.msg4117927#msg4117927)
In GoogleMap.template
Find: (Line 46)
<div id="map" style="width: 675px; height: 500px;"></div>
Replace with:
<div id="map" style="width: 650px; height: 480px;"></div>
Quote from: Louis on March 13, 2022, 11:53:00 AMI have mod v3.0.6a on SMF 2.1.1 on php 7.4 and get lots of "undefined index" errors, frequently followed by "Trying to access array offset on value of type null"
502: 8: Undefined index: image_href
528: 8: Undefined index: group_stars
536: 8: Undefined index: show_profile_buttons
592: 8: Undefined index: gender
594: 8: Undefined index: gender
And I am honestly a bit at loss how to fix all this. Some could for sure be caught by wrapping them in some if(isset($marker['...'])), but to me it looks as if I were lacking some options on the settings page :-\
Or am I missing something else?
I am having the same errors on 2.1.1 sadly! Hopefully it'll get updated for 2.1.1 because I really like this mod for my events forum! O:)
So.. for my issue (white area where google map should be) is there something I need to do with API or something?
Any ideas?
Quote from: landyvlad on March 28, 2022, 07:50:15 PMSo.. for my issue (white area where google map should be) is there something I need to do with API or something?
Any ideas?
I think you have to have a billing account with google if I remember correctly. Been a while since I set mine up but I think that was the cause of my white area. Once I created a billing account and set up my new API it showed up a couple days later.
Concerns SMF 2.1.x
The user data is not displayed correctly or completely in the info bubble.
I am currently trying to change this.
In GoogleMap.php around line 500 I have changed this:
// guest don't get to see this ....
if (!$user_info['is_guest'])
{
$datablurb = '
<div class="googleMap">
<h4>
<a href="' . $marker['online']['href'] . '">
<img src="' . $marker['online']['image_href'] . '" alt="' . $marker['online']['text'] . '" /></a>
<a href="' . $marker['href'] . '">' . $marker['name'] . '</a>
</h4>';
to this (taken from Display.template.php):
// guest don't get to see this ....
if (!$user_info['is_guest'])
{
$datablurb = '
<div class="googleMap">';
// Show online and offline buttons?
if (!empty($modSettings['onlineEnable']) && !$marker['member']['is_guest'])
$datablurb .= '
<h4>
', $context['can_send_pm'] ? '<a href="' . $marker['online']['href'] . '" title="' . $marker['online']['text'] . '">' : '', $settings['use_image_buttons'] ? '<span class="' . ($marker['online']['is_online'] == 1 ? 'on' : 'off') . '" title="' . $marker['online']['text'] . '"></span>' : $marker['online']['label'], $context['can_send_pm'] ? '</a>' : '', '
</h4>';
I get a white page displayed. The error log on the server shows this:
Got error 'PHP message: PHP Parse error: syntax error, unexpected ',' in /var/www/vhosts/xxx/httpdocs/xxx/Sources/GoogleMap.php on line 505',
Line 505 is this:
', $context['can_send_pm'] ? '<a href="' . $marker['online']['href'] . '" title="' . $marker['online']['text'] . '">' : '', $settings['use_image_buttons'] ? '<span class="' . ($marker['online']['is_online'] == 1 ? 'on' : 'off') . '" title="' . $marker['online']['text'] . '"></span>' : $marker['online']['label'], $context['can_send_pm'] ? '</a>' : '', '
I hope someone can tell me what is wrong with the code.
You can't use , to join things when you're not using echo, and that also messed with the ternary expressions.
Untested but I think you need this:
$datablurb .= '
<h4>
' . ($context['can_send_pm'] ? '<a href="' . $marker['online']['href'] . '" title="' . $marker['online']['text'] . '">' : '') . ($settings['use_image_buttons'] ? '<span class="' . ($marker['online']['is_online'] == 1 ? 'on' : 'off') . '" title="' . $marker['online']['text'] . '"></span>' : $marker['online']['label']) . ($context['can_send_pm'] ? '</a>' : '') . '
</h4>';
Quote from: Shades. on March 28, 2022, 12:35:34 PMFixed in case anyone else has this issue: (https://www.simplemachines.org/community/index.php?topic=550885.msg4117927#msg4117927)
In GoogleMap.template
Find: (Line 46)
<div id="map" style="width: 675px; height: 500px;"></div>
Replace with:
<div id="map" style="width: 650px; height: 480px;"></div>
Thanks for the info
@shades, can someone please help me to find
GoogleMap.template as my brain is rather foggy. The only place I can see it is in the GoogleMap zip file.
Quote from: Tonyvic on April 09, 2022, 09:42:39 AMcan someone please help me to find GoogleMap.template as my brain is rather foggy. The only place I can see it is in the GoogleMap zip file.
You will find said file inside the themes directory in your forum folder. That is if you have installed the mod.
If you have not installed the mod yet, you can make the edits to the file inside the mod package, save the changes and re-zip the mod again and then install it.
Many thanks Doug,
I was stupidly looking in the directory for the theme I am using as I had totally forgotten that the default theme directory is the one. Huh. :-[
Quote from: Arantor on April 09, 2022, 08:47:02 AMYou can't use , to join things when you're not using echo, and that also messed with the ternary expressions.
Untested but I think you need this:
$datablurb .= '
<h4>
' . ($context['can_send_pm'] ? '<a href="' . $marker['online']['href'] . '" title="' . $marker['online']['text'] . '">' : '') . ($settings['use_image_buttons'] ? '<span class="' . ($marker['online']['is_online'] == 1 ? 'on' : 'off') . '" title="' . $marker['online']['text'] . '"></span>' : $marker['online']['label']) . ($context['can_send_pm'] ? '</a>' : '') . '
</h4>';
Great, now the gray and green circle (online - offline) is displayed correctly. But there is no link to send pm.
In the error log is the following:
Undefined index: can_send_pm
Undefined index: member
Probably it has to do with this.
I have attached the GoogleMap.php file. The function it concerns starts at line 408.
It would be great if someone could help me.
@vbgamer45 I'm just going to speak directly to you. You have published the last version for 2.1.x. The mod can be installed, but partially does not work.
From you as a member of the Customizer team, I would find it quite good if the mods also work and not only for the corresponding SMF version would be installed.
I hope you know what I mean. No hard feelings.
It was tested up to 2.1 RC3 have not tested or updated it to the latest 2.1 version.
@Arantor May I ask you again:
The original code taken from Display.template.php is this:
// Any custom fields to show as icons?
if (!empty($message['custom_fields']['icons']))
{
echo '
<li class="im_icons">
<ol>';
foreach ($message['custom_fields']['icons'] as $custom)
echo '
<li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>';
echo '
</ol>
</li>';
}
I have changed it to this:
// Any custom fields to show as icons?
if (!empty($marker['custom_fields']['icons']))
{
$datablurb .= '
<li class="im_icons">
<ol>';
foreach ($marker['custom_fields']['icons'] as $custom)
$datablurb .= '
<li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>';
$datablurb .= '
</ol>
</li>';
}
Then a white page is displayed.
Changed it to this:
<li class="custom ' . $custom['col_name']. '">' . $custom['value'] . '</li>';
Then the page is displayed, but custom fields are not. I'm sure it's just a small thing.
Thanks a lot for the help.
Are you sure the columns "col_name" and "value" in the array "$marker['custom_fields']['icons']" actually contain data?
Yes, I have checked that.
The issue is exactly as I said before, you can't use , when you're not using echo. In this case replace the commas with the dot symbol. (Dot means "join two strings together".)
Ok, but I think that's what I did.
<li class="custom ', $custom['col_name'], '">', $custom['value'], '</li>';
to this:
<li class="custom ' . $custom['col_name']. '">' . $custom['value'] . '</li>';
There are no error messages.
After all, I'm trying to learn something too....
I don't know the mod, I have no idea what code is what any more, but you cannot just grab pieces of code from one section and push them in another and hope it will work, that's just not how this works.
Quote from: Matthias on April 11, 2022, 02:08:40 PMAfter all, I'm trying to learn something too....
Congratulations. As that saying goes, give a man a fish and you feed him for a day, teach a man to fish and you feed him for a lifetime.
That is the best way to go about learning imo, by practicing. Do not get discouraged if you get things wrong at the begining, or if you run into difficulties. That is all part of the learning curve.
I have revised the mod to work with 2.1.1.
The template was not responsive, I have also adjusted that.
(https://up.picr.de/43398833lj.png)
Attention:
The mod does not work with the pins for male and female.
"Should the pins reflect members gender" must necessarily be turned off, otherwise no pins are displayed at all. Everything else works.
Programming this is not that easy. The Gender field is no longer a fixed field.
There should then be a dropdown list in the settings for the mod where you select the field for the gender. Read out the entries in the field and build them in accordingly. Maybe someday...
There was a little coding error at the template file. I have corrected this and attached the file.
Is it possible to add a pin to a map with a name that is not attached to an account on the forum, if possible, how?
Is it possible to add a second instance of Google Member Map to my forum? Our club is a touring club and I would like to make a map showing the locations of our annual gatherings but I want to keep our member map.
Thanks!
Not possible.
4.0
+Added support for SMF 2.1 thanks to Matthias
@Matthias
SMF 2.1.2
MemberMap 4.0
Working good all except...
The map is outside/below the bottom border. To fix...
In GoogleMap.template find/change (line 46):
<div id="map" style="width: auto; height: 500px;"></div>
To:
<div id="map" style="width: auto; height: 485px;"></div>
MemberMap.png
Also in members profile the location box is useless, at least for me! If it can't be fixed/used how can I remove it?
profilemap.png
Other than that good job and thanks! 8)
I'm gonna test this mod out in the next few days. Thank you very much to vbgamer45 for making it and to everyone for all the work updating it.
I just wanted to let vbgamer45 know the main mod page description info is out of date and needs to be updated for the updates in compatibility.
Thanks again!
When uninstalling there is an error that says:
Quote./Themes/default/scripts/markerclusterer_packed.js File not found
There is no "markerclusterer_
packed.js" but there is a "markerclusterer_
compiled.js"!
Good catch.
Updated the download with the fixes Shades found.
Within tthe last week or two our Google Member Map, version 3.0.6 has stopped displaying pins. The list of pinned users displays on the left and if a username is clicked the location and name are shown on the map but no pin. Also where cluster pins should display the number of users in that location is displayed.
Our forum is SMF version 2.0.19. Any help will be apreciated.
Quote from: lather on January 14, 2024, 09:51:21 AMWithin tthe last week or two our Google Member Map, version 3.0.6 has stopped displaying pins. The list of pinned users displays on the left and if a username is clicked the location and name are shown on the map but no pin. Also where cluster pins should display the number of users in that location is displayed.
Our forum is SMF version 2.0.19. Any help will be apreciated.
Same issue with 3.0.6 version.
I upgraded to 4.0 some time ago and all was well for some months but as of last week the pins are again not showing. Any help would be appreciated.
my map (https://ridemsta.com/mstaforums/index.php?action=googlemap)
Quote from: digger on April 21, 2024, 08:29:05 AMQuote from: lather on January 14, 2024, 09:51:21 AMWithin tthe last week or two our Google Member Map, version 3.0.6 has stopped displaying pins. The list of pinned users displays on the left and if a username is clicked the location and name are shown on the map but no pin. Also where cluster pins should display the number of users in that location is displayed.
Our forum is SMF version 2.0.19. Any help will be apreciated.
Same issue with 3.0.6 version.