Google Member Map

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

Previous topic - Next topic

brianjw

The mod isn't compatible for other themes than default unless done by manual install.

There should be a map in the profile page. There was an error in your install.

mwp

#301
OK, my bad - I dropped a curly bracket in the profile.template.php

It now works well.  Is there a simple way to import or use a text file with geocoding to display a bunch of pins?

Better yet - add an address in the profile page and use the Google geocoding to place the pin??

Thanks for all of your work on this

kizer

I tell all my members to place their pins near their house not on their house. Keeps the stalkers away. ;)
Own a Jeep? Links4Jeeps.com

brianjw

@mwp: As this doesn't have anything to do with the mod itself. It has more to do with Google's side of the Member Map so I am going to have to ask you to contact them regarding that. I know you can export things from the map through .kml (for google earth) but i don't know if you can import.

@kizer: As the mod says, "Place your pin as close as you feel comfortable doing so."

mwp

Thanks to both.  I agree re: exact location, though my site is for a private organization and is password protected (FWIW).  I wanted to give users the option of disclosing email addresses.

I've created a separate map with pinpoints based on a CSV doc with geocoded addresses - just didn't know if this was a "solved problem" in SMF

Thanks again

jdvarner

when i try to load thru package manager on smf it says FTP Information Required. how do i get around this?

slinouille

#306
Works on SMF2  :P

Thank you Nao for your french traduction ;) ... and of course brianjw :)

Bye
Visit VAG-Technique.fr
Take a look to my mods

brianjw

Quote from: jdvarner on April 05, 2008, 10:56:14 PM
when i try to load thru package manager on smf it says FTP Information Required. how do i get around this?
There is no way. The mod needs to make it temporarily writable to modify those files. Enter your ftp username and password and you'll be good. It doesn't store it anywhere.

Solidus.s

Thanks! Works fine! I had to make some changes to adapt it to my theme, and i translated it to Spanish.
Thanks again! ;)

jdvarner

Quote from: brianjw on April 06, 2008, 07:31:50 AM
Quote from: jdvarner on April 05, 2008, 10:56:14 PM
when i try to load thru package manager on smf it says FTP Information Required. how do i get around this?
There is no way. The mod needs to make it temporarily writable to modify those files. Enter your ftp username and password and you'll be good. It doesn't store it anywhere.

confused. so im to use the ftp info vs the database info? only ask because everything i do with the forum is smf and through the database. but you mentioned i should use the ftp info. so the ftp login/password for the website where the database resides.

just curious how this writes to the database if the ftp and database are different.

brianjw

FTP stands for File Transfer Protocol. It is basically the system you use to transfer files on and off your website. If you use CPanel, the ftp is called File Manager. If you still need help with FTP and CPanel if you use it, I recommend using your favorite search engine or contacting your host.

jdvarner

thanks. i understand ftp. I guess my real question is... do you have to execute a file after transfer so to install the google map? just figured i can upload the files via my own ftp client and then execute whatever needs to be executed to actually install the mod.

HellBent

Hi,

I've installed your latest version on the default and custom theme. Everything works fine except that the pointers aren't showing up.

Is there a fix for this ? I've looked through this thread and on google, but couldn't find anything.

Thanks in advance :)

biggbigg

As far as i know not.  I have reinstalled this script over and over agian checked for duplicate code and nada. Pointers show on profile and show on map but only with firefox. Try looking at the page with firefox and if they appear welcome to my world LOL

Hope its not same issue for you though lol

brianjw

jdvarner, it should install by itsef through the Package Manager after entering the full correct FTP information. ;)

HellBent & biggbigg, this is Google's side of the issue. As answered many times. Narrowing down your search in the future may help. ;) This also doesn't have an affect on all sites - my site displays it fine. I recommend putting fresh files over the current SMF ones except for Settings.php and Settings_bak.php and all the install files and this will uninstall other mods and modifications that may have had an affect on this map. Reinstall the mod.

HellBent

#315
Quote from: biggbigg on April 07, 2008, 03:59:48 PM
As far as i know not.  I have reinstalled this script over and over agian checked for duplicate code and nada. Pointers show on profile and show on map but only with firefox. Try looking at the page with firefox and if they appear welcome to my world LOL

Hope its not same issue for you though lol

QuoteHi bigg, I've done several re-installs too, totally from scratch. I get the pointer in profile, but that's it. I don't even get it in firefox.

I'll do one more install of smf from scratch and post the link to see if any of you can see pointers.

Thanks for your reply :)

Edited to add:

ok I finished re-install and this time I checked the UTF-8 option during install and it's working fine.

Settings in admin panel:

The default Latitude  - 45.089035564831036
The default Longitude - -35.859375
The default Zoom - 2

If you can bear to do a fresh install, I'm sure it would work for you also, unless you tried that already :)

Here's a neat site where you can get the exact lat-long you need:
http://mapmaker.donkeymagic.co.uk/  you have to sign up but no validation required so you can use it immediately.

Choose the view you want as your membermap default and then get javascript:  in the javascript code it generates, you'll find the lat + long settings :)

HellBent

Quote from: brianjw on April 07, 2008, 05:02:11 PM

HellBent & biggbigg, this is Google's side of the issue. As answered many times. Narrowing down your search in the future may help. ;) This also doesn't have an affect on all sites - my site displays it fine. I recommend putting fresh files over the current SMF ones except for Settings.php and Settings_bak.php and all the install files and this will uninstall other mods and modifications that may have had an affect on this map. Reinstall the mod.

Thanks for your reply Brian :)

It was the utf-8 option during install. I checked it this time and all worked like a dream :) 

brianjw

Glad it is now working. I am going to update the readme in the mod to tell people about the known issue. It's not really fixable, it's just preference.

jdvarner

This is error i get. Fixable?

Type Action Description
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. Extract File ./Themes/default/images/german/googlemap.gif 
7. Execute Code add_settings.php 
8. Execute Modification ./index.php Test successful
9. Execute Modification ./Sources/Load.php Test successful
10. Execute Modification ./Sources/ManagePermissions.php Test successful
11. Execute Modification ./Sources/ModSettings.php Test failed
12. Execute Modification ./Sources/Profile.php Test successful
13. Execute Modification ./Themes/default/style.css Test successful
14. Execute Modification ./Themes/default/index.template.php Test successful
15. Execute Modification ./Themes/default/Profile.template.php Test successful
16. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
17. Execute Modification ./Themes/default/languages/Modifications.german.php Skipping file
18. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
19. Execute Modification ./Themes/default/languages/ModSettings.german.php Skipping file
20. Execute Modification ./Themes/default/languages/Who.english.php Test successful
21. Execute Modification ./Themes/default/languages/Who.german.php Skipping file

brianjw

Attach your ModSettings.php file. It's another mod conflicting with this mod. I can fix it for you.

Advertisement: