Google Member Map

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

Previous topic - Next topic

kenso

Thanks Spud, that did the trick it was missing the:
// Google Maps Mod
'googlemap' => array(
'title' => $txt['googleMap'],
'href' => $scripturl . '?action=googlemap',
'show' => $modSettings['googleMapsEnable'] && allowedTo('googleMap_view'),
'sub_buttons' => array(
),
),

Solved! thanks again.  ;)
The Farmers and self-sufficiency forum
http://www.ozfarmer.com.au

TheDel

Quote from: Spuds on January 13, 2011, 12:52:13 PM
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?
Lets see-
Enabled- check
Legend check
no sidebar
api entered
KML unchecked (was checked bfore)
max 500
map
pan zoom large 3d
def lat 0
def long 250
show recent  check
def zoom 2
gender uncheck
cluster uncheck
min cluster  2
max pins  150
max cluster  7 
cluster info box  10

at least Chrome/Firefox

RC4
http://www.type1parents.org/index.php?action=googlemap

Spuds

Thanks ... nothing obvious in those settings, I went to your site and also did not see the pins either.  Did you recently add any other mods?  There are several javascript things going on and knowing what you might have recently added would help.  I see you have:

Tapatalk
Enotify
Facebook connect
Parts of an image re-sizer function with missing scripts
2siChat (installed twice)
Google analytics (loaded at least 5 times)

Kindred

depending on which version of tapatalk you have installed, it may actually be causing some major conflicts with other mods.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TheDel

Quote from: Spuds on January 14, 2011, 10:14:52 AM
Thanks ... nothing obvious in those settings, I went to your site and also did not see the pins either.  Did you recently add any other mods?  There are several javascript things going on and knowing what you might have recently added would help.  I see you have:

Tapatalk
Enotify
Facebook connect
Parts of an image re-sizer function with missing scripts
2siChat (installed twice)
Google analytics (loaded at least 5 times)
Its been going on for awhile-and Ive installed many mods since then. But Im leaning towards one the older ones since this happened while I was still using SMF1. Started working when I upgraded and then recently went kaput.

But at least it reminds me I need to go in and do some clean up.

TheDel

Its Tiny Portal
WTF

Went and put fresh files in- installed the Map and it worked- then did TinyPortal and bam- map gone.
Anyway around this one?

Nuttcaze

I get 2 errors when installing this on my 1.1.12 forum, how would I fix this?

TIA  ;)

my forum - myrcguide.com



1. Extract File ./Sources/GoogleMap.php 
2. Extract File ./Themes/default/Clusterer2.js 
3. Extract File ./Themes/default/GoogleMap.template.php 
4. Extract File ./Themes/default/images/google_earth_feed.gif 
5. Extract File ./Themes/default/images/english/googlemap.gif 
6. Execute Code add_settings11.php 
7. Execute Modification ./index.php Test successful
8. Execute Modification ./Sources/Load.php Test successful
9. Execute Modification ./Sources/ManagePermissions.php Test successful
10. Execute Modification ./Sources/ModSettings.php Test failed
11. Execute Modification ./Sources/Profile.php Test successful
12. Execute Modification ./Themes/default/index.template.php Test failed
13. Execute Modification ./Themes/default/Profile.template.php Test successful
14. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
15. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
16. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
17. Execute Modification ./Themes/default/languages/Who.english.php Test successful

henrik1782

Hi...

Thanks for a great mod. Will try it out in my forum.

It would be nice to have an indication wether or not the address is a price address or just an indication.

It was a little confusing to use the mod. If you type in the precise address and google finds it on the map, you still have to point the map to indicate your location. If google finds the addresse it would be much easier if you could just push save.
My favorite mods: Forum Firewall, httBL, MessagePreviewOnHover, BoardHover Mod, VB Style Board Index, Separate Replies and Views Column, Realtime clock by Joker, ENotify, Topic Solved.

Spuds

Quote10. Execute Modification ./Sources/ModSettings.php Test failed
11. Execute Modification ./Sources/Profile.php Test successful
12. Execute Modification ./Themes/default/index.template.php Test failed
Thats a general indication that another mod you installed changed those files and now this mod can't find where to install itself.  Sadly that's not uncommon and the only solution is to manually make the edits in those files, which also means when you go to remove this mod (say for an update) you will need to manually undo those edits as well. 

What other mods do you have installed?

Spuds

Quote from: henrik1782 on January 23, 2011, 08:19:09 PM
Hi...

Thanks for a great mod. Will try it out in my forum.

It would be nice to have an indication wether or not the address is a price address or just an indication.

It was a little confusing to use the mod. If you type in the precise address and google finds it on the map, you still have to point the map to indicate your location. If google finds the addresse it would be much easier if you could just push save.
I agree 100%, especially the part about it being a great mod  :P

Seriously though the issue you are seeing is when you use the search function available in the profile section.  Google returns a pin to show you the search result on the map but the mod still requires that you click on the map to set the pin.

I agree that its confusing and it would be ideal if it just used the pin that google returned.  Sadly I have not been able to figure out how to do that so if anyone has some ideas how to do that please let me know!

As an FYI that search box is the only reason I never updated the api to maps v3 and still use v2.  Its not part of the v3 api and the workarounds are awkward at best.

Nuttcaze

Quote from: Spuds on January 23, 2011, 11:49:54 PM
Thats a general indication that another mod you installed changed those files and now this mod can't find where to install itself.  Sadly that's not uncommon and the only solution is to manually make the edits in those files, which also means when you go to remove this mod (say for an update) you will need to manually undo those edits as well. 

What other mods do you have installed?

Ugh, That doesn't sound fun, are there directions somewhere that discuss manually editing this? I don"t fully understand the whole process. I'm pretty sure I know where the files are but don't know what to edit.  ???

the other mods I currently have installed are

1. Ad Managment 2.3.6.1     
2. Aeva ~ Auto-Embed Video & Audio 7.1     
3. Highlight Unread Topics 1.0     
4. Member Awards 1.1.2     
5. SMF 1.0.20 / 1.1.12 Update 1.0   
6. AjaxChat Integration 3.2.1   
7. Country Flags 1.1.2
8. Share This Topic 2.6   

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Nuttcaze


ranseyer

Hi,

is Support for RC5 expected in the next time ?

CU

MCK

Hi I have been running this mod on an SMF RC4 forum since RC3. My members love it. Now I installed it on another forum which I took over. This forum I upgraded to RC4 recently from 1.1.12 and today I installed the Member Map. I can capture my pin in the Profile page but it will not show when I go to the Member Map. Can you kindly help? Thanks much!

Spuds

Quoteis Support for RC5 expected in the next time ?
Very soon ;)

QuoteHi I have been running this mod on an SMF RC4 forum since RC3. My members love it. Now I installed it on another forum which I took over. This forum I upgraded to RC4 recently from 1.1.12 and today I installed the Member Map. I can capture my pin in the Profile page but it will not show when I go to the Member Map. Can you kindly help? Thanks much!
Do you have any other mods installed?  Also a link to your site where I could see the problem would be helpful as well.

MCK

Hi Spuds, thanks for your help.

Here's the site I have that works with many pins! Great job!
http://www.futureguitarnow.com/forum/index.php?action=googlemap

Here's the one I just installed where the pins don't seem to want to cooperate. If you lookup member MCK (yours truly) you should be able to see the pin in the profile page but it does not show up on the map. Thanks for your help.
http://www.vguitarforums.com/smf/index.php?action=googlemap

MCK

Hi Spuds,

A quick update. No change on the site that don't work. As for the site that I thought was working someone alerted me to the fact that their icon placed new is not showing up. The icons showing up are apparently those that were placed earlier when I had this mod running for quite some time. Hope this helps in the troubleshooting process somehow.

Please let me know what I can check to resolve this issue. Thanks much for your help.

Spuds

Could you post your admin settings for the mod ... make sure you have not limited the number of pins to low, ie you have more user pins then you are allowing on the map.  You can show more but when the count gets high make sure you turn on clustering or the performance will drop as Google places all those pins.

Spuds

Posted the update for 1.1.13 and 2.0 RC5 ... let me know if anyone has any problems ! (with the mod of course :) )

Advertisement: