Google Member Map

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

Previous topic - Next topic

Piwaille

Hello

I'm quite desapointed has I don't receive any help :(

Quote from: piwaille on October 13, 2006, 11:48:14 AM
Hello

since I had no answer to my pb, I did modify the xml to adapte it to my SMF board.
I uninstall and reinstall...
finaly it works
solved

Quote from: piwaille on October 13, 2006, 11:48:14 AM
but :(

but I've got only details about italy ... aboslutly not road, no city in France :(

S/o can help me ?
lo had road and citys of england...
I also solved that ... had to change googleMap.template to make it use v2 instead of v1


Quote from: piwaille on October 13, 2006, 11:48:14 AM
EDIT : in fact it doesn't work at all... I've got a lot of erros in my errorlog... And I can't fix them  :(

Undefined index: googleMap
Fichier: ..../forum/Themes/default/MessageIndex.template.php (eval?)
Ligne: 645

Undefined index: googleMap
Fichier: .../forum/Themes/default/languages/CustomProfile.french.php (eval?)
Ligne: 645

Undefined index: googleMap
Fichier: .../forum/Themes/default/Display.template.php (eval?)
Ligne: 645


not solved... I'm even still looking for the reason !
all errors append to line #645 ... even if the file constit of a few 10 lines
HELP me please

Piwaille
le chant du vario est motorisé par SMF 1.1.15

WhatsUp

Quote from: akulion on October 12, 2006, 10:19:48 AM
Quote from: WhatsUp on October 12, 2006, 06:37:16 AM
RC3 and TP.

No version of this mod shows member pins on the main map, on my site:
http://historyhuntersinternational.org/index.php?action=googlemap
Login: Test/Test
The member pin shows fine in the Profile.
I'd really appreciate some advice here :)
Thanks!
akulion
Fixed the problem, thanks. It now works even for me.

i see a 7 pins on ur map - plus the one i placed there also shows up

so i guess u figured it out :)
History Hunters: http://historyhuntersinternational.org/
Enter: test/test
SMF and TinyPortal

samurai-lupin

I'm unfortunately having a strange problem with my Google Member Map. It used to work fine but now my members are getting the following error when wanting to access the map:

Sorry, you're not allowed to view the Member Map.

I as administrator can still access it without problems so I assumed that some permission might not be set correct?

I would be very greatefull for any advice as to what's wrong.

Thank you!

Sincerly,

Christian

Gobo

look under ADMIN ---> PERMISSIONS (and then select a group to modify from this scren)

there under general settings is the setting for allowing googlemap access

samurai-lupin

#624
Thank you very much for your reply.

I had allready checked the permission but it only lists the following for me under General:

View forum statistics     
View the memberlist    
View Who's Online    
Search for posts and topics    
View Contact Page    
Change other people's karma

Should it be there? I can't find it anywhere.

If it is not displayed there what could be the reason? Or is there also the possibility to edit the coresponding file manualy to grant the permission to my users? If yes what file would I have to edit?

Thank you very much for your thoughts and help!

Gobo

This is how it should look:

General
---------------------------
View forum statistics    
View the memberlist    
View Who's Online    
Search for posts and topics    
Change other people's karma    
View Member Map    
Place Pin on Member Map
---------------------------

If the checkboxes dont appear AT ALL then the reason why it is not showing up for u is because ur googlemap didnt get installed properly.

But if you see the checkboxes but no text next to them, then thats a simple reason that the text strings need to be added to the language file.

So which is it? no check boxes at all or just missing text near checkboxes?

Gobo

#626
here are instructions for both instances:

Checkboxes dont show up at all - fix

Go to your forum root folder and enter the Sources folder.
Download the ManagePermissions.php via FTP
- make a backup of the file 1st -
Then open the file in a good text editor and make changes as below:

look for:

'view_mlist' => false,
'who_view' => false,
'search_posts' => false,
'karma_edit' => false,

Add AFTER it this:

'googleMap_view' => false,
'googleMap_place' => false,


Then in the same file look for:

'profile_server_avatar',
'profile_upload_avatar',
'profile_remote_avatar',
'profile_remove_own',

Add AFTER it this:

'googleMap_view',
'googleMap_place',


Thats all.

Now if Text now showing up next to checkboxes - fix
open Theme/theme_name/languages/Modifications.english.php
Add before the ?> this:


$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.';


Just remember check in the theme folder ur using - if it have that file then u need to add - if it dosent have that file then u should check under Themes/default/languages/ hope that helps

samurai-lupin

Thanks a lot!  :)

Thsi has solved the problem!

Thank you!  :)

Gobo


Dejv

Quote from: akulion on October 01, 2006, 06:24:28 AM
RC3 Enabled - Download Here

Enjoy  ;D

Demo On RC3 : http://path-to-peace.net/forum/index.php?action=googlemap

user: test
Pass: test

It works A-OK for me
BUT Use at your own risk!

Hi,
I have just upgraded to RC3, downloaded the package and then the package manager says by 1. and 2. Modifikation Parse-Error:

1.   Modifikation ausführen   smf1-1rc2.modification.xml   Modifikation Parse-Error
2.   Modifikation ausführen   -                                     Modifikation Parse-Error

So do I have to install this manually?

Thanks!
SMF 1.1.20

Gobo

thats the english pack

for languages other than english u will probably have to do something else

i dont know about the language files since i dont use them myself - so no luck here :(

Piwaille

Quote from: akulion on October 20, 2006, 09:58:28 AM
thats the english pack

Is there an upgrade for using google's API V2 ?

If you zoom at france, there is absolute no road, nothing :(
just england and italy are populated :(

If you try to replace (on google.template) V=1 by V=2 ... you a all the details... but no more pins :(
Piwaille
le chant du vario est motorisé par SMF 1.1.15

fagao

I have made an update for the API V2. Have a look at hxxp:www.uitkampen.nl/index.php?action=googlemap [nonactive] .

I only need the modify the clustering javascript file.

Piwaille

Quote from: fagao on October 20, 2006, 03:14:00 PM
I have made an update for the API V2. Have a look at http://www.uitkampen.nl/index.php?action=googlemap .

I only need the modify the clustering javascript file.


thanks a lot for your answer !

I've uploaded your clusterer.js to my site... but it doesn't work  :'(
I'm too tired... i will look tomorrow ... but I don't know what I could look for
Piwaille
le chant du vario est motorisé par SMF 1.1.15

Bigdove1

piwaille solution a la maison mere tu leur feras une traduction apres moi je suis nul en anglais.

Pour les anglais qui me comprennent et qui ne sont pas comme moi.

correction du mod pour que :

- les epingles apparaissent de la bonne couleur sur toute les langues.
- Mod compatible Ie (Ie 7 compris)
- rajout de variable de langues oublier par l'auteur.

Soon here

Piwaille

Quote from: Bigdove1 on October 21, 2006, 11:10:57 AM
piwaille solution a la maison mere tu leur feras une traduction apres moi je suis nul en anglais.

Pour les anglais qui me comprennent et qui ne sont pas comme moi.

correction du mod pour que :

- les epingles apparaissent de la bonne couleur sur toute les langues.
- Mod compatible Ie (Ie 7 compris)
- rajout de variable de langues oublier par l'auteur.

Soon here

So ... bigdove ask's me to translate : he will soon release a new version with a lto a correction
- pins will show in the right color in every language
- IE correction, even for IE7
- some corrections about sentences which where hard coded and will now be able to be translate
Piwaille
le chant du vario est motorisé par SMF 1.1.15

allotments4all

Quote from: fagao on October 20, 2006, 03:14:00 PM
I have made an update for the API V2. Have a look at http://www.uitkampen.nl/index.php?action=googlemap .

I only need the modify the clustering javascript file.


Do you have a copy of Clusterer.js ? I would like to give it a try.

Cheers

Dan Fulton

allotments4all

I think I understand the Clusterer.js / v=2 combination ...

Set v=2 on line 35 in GoogleMap.template.php

then

disable clustering in the admin settings

And you have version 2 with pins, but no clustering!

http://www.allotments4all.co.uk/joomla/component/option,com_smf/Itemid,57/action,googlemap

Cheeers

Dan

TLM

I know I keep saying this but the next version is in the works.  If you really want the cluster thing, look at it, its something I used from someone, they have a newer version on there site.


I am trying to make this next version as much bug free and have new features.  That and life are whats making me take so long in development on this.

Garry1953

I installed the Google Member Map mod on RC3, and changed the map to V2 for display and member pin placement.

Works great, looking forward to the cluster thingggyyy, working in the next version.

Thanks for sharing a great mod with us.

Advertisement: