News:

Wondering if this will always be free?  See why free is better.

Main Menu

Google Member Map

Started by Spuds, December 12, 2007, 01:49:12 PM

Previous topic - Next topic

Spuds

Quote from: PatrickPriest on December 31, 2010, 03:51:49 PM
I am having a problem with the map being updated when I make changes to the settings, or someone adds a pin.

I have it to default zoom into a location... however... it doesn't.  I have also updated my profile to tell my location... but there are no pins on the map.
I don't think its going to like that zoom level of zero, you should make that something like 4 ... when you are at max zoom out (0) the map repeats and pins may not show since they are so tiny at that point. 


PatrickPriest

Quote from: Spuds on December 31, 2010, 08:10:01 PM
Quote from: PatrickPriest on December 31, 2010, 03:51:49 PM
I am having a problem with the map being updated when I make changes to the settings, or someone adds a pin.

I have it to default zoom into a location... however... it doesn't.  I have also updated my profile to tell my location... but there are no pins on the map.
I don't think its going to like that zoom level of zero, you should make that something like 4 ... when you are at max zoom out (0) the map repeats and pins may not show since they are so tiny at that point. 
Alright... I have fixed that now.  But still... no pins showing up.  And I have updated my profile and placed my pin.  Shouldn't it be showing up?

Spuds

QuoteAlright... I have fixed that now.  But still... no pins showing up.  And I have updated my profile and placed my pin.  Shouldn't it be showing up?

What? actually have the pins show up ... that's a great idea  :laugh:  Yeah it should be showing the pins, I just noticed an error in the code that I'll fix shortly ... for now change the number of max pins from 0 to something like 250 ... that zero is supposed to be unlimited but is in fact ummm zero !

PatrickPriest

Quote from: Spuds on January 03, 2011, 04:46:59 PM
QuoteAlright... I have fixed that now.  But still... no pins showing up.  And I have updated my profile and placed my pin.  Shouldn't it be showing up?

What? actually have the pins show up ... that's a great idea  :laugh:  Yeah it should be showing the pins, I just noticed an error in the code that I'll fix shortly ... for now change the number of max pins from 0 to something like 250 ... that zero is supposed to be unlimited but is in fact ummm zero !
That fixed it and pins are actually showing up now. :)

kenso

Hi Guys just installed GMM in R4 Sunshine theme and all seemed ok but the setting page only has boxes (see attached) and no text, how can I fix this?  :o

Kenso
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Spuds

That is an indication that the text strings were not written to your ManageSettings.english.php and you will need to add them. 

If you are using utf8 then the files are language-utf8.xml and ManageSettings.english-utf8.php

Get the $txt strings from the correct language.xml file, they will be under the section that says <file name="$themedir/languages/ManageSettings.english-utf8.php" error="skip">  you will need to get all of the lines (there are a lot) that start with $txt between the <add><![CDATA[  and ]]></add> lines for just that file.

If you are unsure how to do this upload your managesettings.english file and I'll update it for you


kenso

Thanks Spud If you could have a look at it would be great!

Kenso
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Spuds

Yup that file did not get updated ... it looks fine (ie no other mod interfered) so I would guess that it had a permissions issue with accessing the file from the package manager.

In any case here is the file with the correct strings ... lets hope there were not any other files that had the same issue.


kenso

Thanks  Spud, but allas still the same... oh well back to the drawing board ;)
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Spuds


digit

I am attaching 3 posts since there is no way to reply to all three...

(SO see attachment!  8))

I too am using gobalopper's Location Mod, and am bummed about this.

What would you do if you had over 5000 pins in Gobalopper's Location mod...

Just tell your members that we need to start over?  :P

The reason I am asking is, I recently had a member report that our Member Map was no longer working.  I looked into it, and noticed I had the number of pins to show on the map set at 6000.  To test it, I reduced that number to 200 and it worked...  so I bumped it to 5000 and it still worked...   so I am wondering if Google has a 5000 pin limit, and if so, does it affect this mod as well?

Thanks in advance.

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

TheDel

I cannot get any pins to show.
It worked before now doesnt.
It does display OK in the profile but on the actual member map link, I got no pins (but it does say how many pins I have showing)

any ideas?

Spuds

QuoteThe reason I am asking is, I recently had a member report that our Member Map was no longer working.  I looked into it, and noticed I had the number of pins to show on the map set at 6000.  To test it, I reduced that number to 200 and it worked...  so I bumped it to 5000 and it still worked...   so I am wondering if Google has a 5000 pin limit, and if so, does it affect this mod as well?
To be honest I don't know if Google has a maximum number of markers, but displaying 5000+ markers on a map at once seems like a lot of visual clutter to me, you can't possibly see all those at once.   Additionally displaying that many would be slow and really impact the performance of the site.

This mod uses clustering of pins, so as you zoom out and the pins would just overlay on top of one another it displays a cluster pin to show there are a lot of pins in that location.  The cluster expands out when you zoom in to a proper level where you could actually distinguish the individual pins.

Spuds

QuoteI cannot get any pins to show.
It worked before now doesnt.
It does display OK in the profile but on the actual member map link, I got no pins (but it does say how many pins I have showing)

any ideas?
What settings do you have in your admin panel?  Do you have a example we can see?  All browsers or just one?  What version of SMF?

digit

Quote from: Spuds on January 13, 2011, 12:48:13 PM
QuoteThe reason I am asking is, I recently had a member report that our Member Map was no longer working.  I looked into it, and noticed I had the number of pins to show on the map set at 6000.  To test it, I reduced that number to 200 and it worked...  so I bumped it to 5000 and it still worked...   so I am wondering if Google has a 5000 pin limit, and if so, does it affect this mod as well?
To be honest I don't know if Google has a maximum number of markers, but displaying 5000+ markers on a map at once seems like a lot of visual clutter to me, you can't possibly see all those at once.   Additionally displaying that many would be slow and really impact the performance of the site.

This mod uses clustering of pins, so as you zoom out and the pins would just overlay on top of one another it displays a cluster pin to show there are a lot of pins in that location.  The cluster expands out when you zoom in to a proper level where you could actually distinguish the individual pins.

Yeah, it appears the clustering feature isn't working on gobalopper's version...   too bad there is no way to convert to this mod....   

sigh.

Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

kenso

Ok I had to do a re-install and got the mod going in Admin and profile, this might be a dumb question but where do I find the member map?  ??? (RC4 Sunshine) ozfarmer.com
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Spuds

Assuming you enabled it in the admin panel then it should show up menu bar somewhere after My Messages or Calendar.  Remember that you will need to go in to user permissions to give the view and add permissions to other groups.

kenso

The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

Spuds

Please confirm that under Admin -> configuration -> modification settings -> member map that you have "Enable the Member Map Modification" checked, if you don't it will not show up anywhere.

If you do then in subs.php check for:
// Google Maps Mod
'googlemap' => array(
'title' => $txt['googleMap'],
'href' => $scripturl . '?action=googlemap',
'show' => $modSettings['googleMapsEnable'] && allowedTo('googleMap_view'),
'sub_buttons' => array(
),
),


it should be immediately after the calendar block, if its not then there you will have to add it, use the package parser to make sure you place it after the correct line.  If you have to do this I would guess that the contact tab changed that area such that this mod can't find where to install.

Advertisement: