Google Member Map

Started by TLM, December 18, 2005, 08:43:52 PM

Previous topic - Next topic

Dejv

Quote from: taucher on June 19, 2007, 04:24:56 AM
Quote from: taucher on June 14, 2007, 06:19:39 AM
Quote from: brianjw on June 13, 2007, 05:34:23 PM
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
thats right - but its not elegant, because i would have to correct all links (profile etc) to hit the domain with the api. and then, when i leave the map? theres no possibility to chose the right domain.

isnt it possible to hardcode two apis in the googlemap.php? would be nice if it would work.
seems theres no solution?
Hi,
I also need this to work... or I will have to make for each domain a new copy of smf
Thanks a lot
SMF 1.1.20

TheDel

I tried installing this but it didnt work  so I used the uninstall and now am getting a TON of error messages in my logs and I just wanna go back and fix it all- so where do I need to go and fix the following things?:

1-Feature Settings- the member map stuff is still there- If I resintall the mod, this page doesnt comeup at all. Even when it was installed, it never recorded my changes cut I just want it gone now.

2-Profile Im assuming this is where someones location is supposed to show. Never saw a working version of this mod that I had access to the profiles so I couldve verified.

3-Error Log-I just deleted and Im already back to over 50 pages of errors in 5 minutes

Im attaching some screenshots

Help me ObiWan Kenobi!

brianjw

Quote from: TheDel on June 21, 2007, 12:37:35 AM
I tried installing this but it didnt work  so I used the uninstall and now am getting a TON of error messages in my logs and I just wanna go back and fix it all- so where do I need to go and fix the following things?:

1-Feature Settings- the member map stuff is still there- If I resintall the mod, this page doesnt comeup at all. Even when it was installed, it never recorded my changes cut I just want it gone now.

2-Profile Im assuming this is where someones location is supposed to show. Never saw a working version of this mod that I had access to the profiles so I couldve verified.

3-Error Log-I just deleted and Im already back to over 50 pages of errors in 5 minutes

Im attaching some screenshots

Help me ObiWan Kenobi!
1. Make sure that the following code is in/out(depending install or uninstall) the Modifications.english.php somewhere.

//--Begin Google Map--
$txt['googleMap'] = 'Map';
$txt['googleMapGreenPinGD'] = 'Someones Pin';
$txt['googleMapGreenPinNG'] = 'No Gender';
$txt['googleMapBluePin'] = 'Male';
$txt['googleMapRedPin'] = 'Female';
$txt['googleMapPurplePin'] = 'Cluster of pins';
$txt['googleMapAddPinNote'] = '<a href="' . $scripturl . '?action=profile;sa=forumProfile">Click here to go place your pin if you have not already.</a>';
$txt['googleMapDisclaimer'] = 'Place your pin as close as you feel comfortable doing so.';
$txt['cannot_googleMap_view'] = 'Sorry, you\'re not allowed to view the Member Map.';
$txt['permissionname_googleMap_view'] = 'View Member Map';
$txt['permissionhelp_googleMap_view'] = 'Allow the people to view the Member Map.  If not set, the people will not see the map.';
$txt['cannot_googleMap_place'] = 'Sorry, you\'re not allowed to place a pin for the Member Map.';
$txt['permissionname_googleMap_place'] = 'Place Pin on Member Map';
$txt['permissionhelp_googleMap_place'] = 'Allow the people place there pin the Member Map.  If not set, the people will not be able to place there pins.';
//--End Google Map--

Also what smf version are you running? It looks like you're running the default theme. Did you the new member map version here:
Quote from: brianjw on June 16, 2007, 08:32:41 AM
The one you want to download is the version: http://www.simplemachines.org/community/index.php?topic=61213.msg1118401#msg1118401

Brianjw :)

carlatf

Hi,
I tried to install  0.6 mod and it pop ups the ftp error tellimg me that some permissions are wrong. The problem is that I don't have an ftp account.

Can somebody post the right permissisons to install this mod?.
Many many thanks.

This mod is awesome and I had it in 1.1rc2.

brianjw

If you don't have ftp than how are you using SMF.

Again did you try to install the update for smf 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373

Permissions should be fine unless you somehow fumbled with them in the past - you may want to ask someone with more skill ;)

What SMF version are you using?

Jippo

#945
Helios Multi theme and the pin popup problem of not seeing the text, I finally got it after like 6 hrs (not a great css or php programer so please bare with me), This may also work with other themes (I have not triied) look for the css change for how to change the color.

in SOURCES\GoogleMap.php

LOOK FOR

<td style="white-space: nowrap;">' . $marker['title'] . '</td>

REPLACE WITH THIS

<td style="white-space: nowrap;"><span class="googleMaps">' . $marker['title'] . '</span></td>

LOOK FOR

<td style="white-space: nowrap;" colspan="2" align="left">' . $marker['blurb'] . '</td>

REPLACE WITH THIS

<td style="white-space: nowrap;" colspan="2" align="left"><span class="googleMaps">' . $marker['blurb'] . '</style></td>

Since only the THEMES\DEFAULT\style.css was changed edit THEMES\HELIOS MULTI\style.css

LOOK FOR

/* Tables should show empty cells. */
table
{
empty-cells: show;
}


ADD THIS AFTER ABOVE

/* Google Maps */
.googleMaps, .googleMaps a:link, .googleMaps a:visited, .googleMaps a:hover, p.googleMaps
{
color: #000088;&nbsp; /* You can change the color here */
font-size: small;
font-family: tahoma, sans-serif;
}

.googleMapsSidebar
{
color: #000000;
font-size: x-small;
font-family: tahoma, sans-serif;
margin: 10px;
background-color: #404040;
overflow: auto;
width: 150px;
height: 500px;
}
.googleMapsLegend
{
color: #000000;
font-size: x-small;
font-family: tahoma, sans-serif;
margin: 0px;
background-color: #404040;
overflow: auto;
}
/* Google Maps Links */
a.googleMapsLink:link, a.googleMapsLink:visited, a.googleMapsLink:hover
{
color: #000000;
font-size: small;
font-family: tahoma, sans-serif;
}


I have set the pin popup bubble text to DARKBLUE seems to work great with a white background!

carlatf

Quote from: brianjw on June 24, 2007, 02:59:30 PM
If you don't have ftp than how are you using SMF.

Again did you try to install the update for smf 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373

What SMF version are you using?
Hi,
I'm using SMF 1.1.2, I use ssh and I upload my files through Winscp.
Yes, I did tried to install the 0.6 version you quote.

As I-m the server admin jeje I-ll install ftp and see what-s happen... when it-s a job I tried to avoid

brianjw

Well lots of stuff involve ftp so its an advantage, just don't mess with anything you don't know - ask someone more experienced with the internet and ftp before doing it.

unrelenting

#948
Quote from: Jippo on June 24, 2007, 04:55:40 PM
Helios Multi theme and the pin popup problem of not seeing the text, I finally got it after like 6 hrs (not a great css or php programer so please bare with me), This may also work with other themes (I have not triied) look for the css change for how to change the color.


I have set the pin popup bubble text to DARKBLUE seems to work great with a white background!

I'm not sure why but you have a lot of "&nbsp; &nbsp;" in your code up there that will likely screw up some of the guys that don't know to delete it out.

Jippo

Ok thanks, I fixed my last post, thanks must have been the copy and paste wierd.

unrelenting

#950
Quote from: Jippo on June 24, 2007, 10:30:36 PM
Ok thanks, I fixed my last post, thanks must have been the copy and paste wierd.

It worked well on my Helios.


Jippo

Thanks for picking out my stupid errors I think I got them all in my origional post.

unrelenting

Quote from: Jippo on June 24, 2007, 10:44:18 PM
Thanks for picking out my stupid errors I think I got them all in my origional post.

Looks good. Thanks for the contribution.

krust

Hi all,

I can't install too the google member map.

I go to the package manager, upload the googlemember0.6RC8.

Try to install the package and have a ftp information request. I give the pass and the login, click on proceed.

Nothing special happens and come back to the ftp information request ...

Have someone an idea ?

brianjw

Quote from: krust on July 04, 2007, 05:31:48 AM
Hi all,

I can't install too the google member map.

I go to the package manager, upload the googlemember0.6RC8.

Try to install the package and have a ftp information request. I give the pass and the login, click on proceed.

Nothing special happens and come back to the ftp information request ...

Have someone an idea ?

Try the update if you're using 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
If you're using 1.1.3, there has been no update released as of yet.
FTP information request means that one of the files needs to be chmoded. So type in all your information in the ftp thing for your site so it will do it for you ;)

krust

Quote from: brianjw on July 04, 2007, 09:03:56 AM

Try the update if you're using 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
If you're using 1.1.3, there has been no update released as of yet.
FTP information request means that one of the files needs to be chmoded. So type in all your information in the ftp thing for your site so it will do it for you ;)
Thx for the response but i'm using smf1.1.2 and the good las t version of google map ...

ANd the informations for the ftp are good, i'm sure of it ...

And I've CHMOD the directories needed (and the files in it)...

unrelenting

Quote from: krust on July 04, 2007, 09:08:33 AM
Quote from: brianjw on July 04, 2007, 09:03:56 AM

Try the update if you're using 1.1.2 - http://www.simplemachines.org/community/index.php?topic=157993.msg1118373#msg1118373
If you're using 1.1.3, there has been no update released as of yet.
FTP information request means that one of the files needs to be chmoded. So type in all your information in the ftp thing for your site so it will do it for you ;)
Thx for the response but i'm using smf1.1.2 and the good las t version of google map ...

ANd the informations for the ftp are good, i'm sure of it ...

And I've CHMOD the directories needed (and the files in it)...

I was having the problem with the FTP information and fixed it by correcting the line that asks for the path to the forum. It was different than the one the forum itself uses. I had to remove everything except /forum/, if memory serves me correctly.

krust

I've just tried what you propose but that do nothing , always ftp informations request. Also tried other combination but no ...  :-X

Skoell

hello,

I want to know, if theres the possibility of installing the googlemembermap to the latest version of the SMF.

if there is, which version should be used?

Dejv

#959
Hi  :)

- Yes, it works for smf 1.1.3!  :D

- I got the last version installed on smf 1.1.3 and default theme
- downloaded from this post
- CHMod all files modified in smf1-1-1.modification to 777
- installation without any errors, can uninstall as well
- tried to install manually as well, with the same result
- works by me for 4 languages (added them manually)

- I can set permissions for groups
- I can place and see the pin in the profile (in IE and FF),
- I can see the map in the profile (in IE, FF and Opera),
- I can see the map (in IE, FF and Opera)
- I can see admin panel and change map type, zoom, etc.

- I can't see the sideBar or placed pins and I get 4 logErrors  :(

Quote....index.php?action=googlemap;sa=.js
8: Undefined index: googleSidebar
..../Sources/GoogleMap.php
Line: 111

Quote/index.php?action=googlemap;sa=.js
8: Undefined index: googleSidebar
.../forum/Sources/GoogleMap.php
Line: 108

Quote/index.php?action=googlemap
8: Undefined index: googleSidebar
.../forum/Themes/default/GoogleMap.template.php (eval?)
Line: 27

Quote/index.php?action=googlemap
8: Undefined index: googleSidebar
.../forum/Themes/default/GoogleMap.template.php (eval?)
Line: 22

- I disabled clustering and deleted settings in googlemap.php like in this post

- Now I get NO logErrors and I can see the map and pins in IE and FF (can't see pins in Opera) :)

- Can anyone make the pins show also in Opera please?

Thanks!
David
SMF 1.1.20

Advertisement: