News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Google Member Map

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

Previous topic - Next topic

Mick.

Yes, the template looks broken at the footer.

ukeye.org/forum


I would also look at on how you added the help desk button in subs.php

Snogmarr

The edits I did were from the parser.

and I cannot activate the mod in admin, the button will not let me in to membermap so i can put api in

the helpdesk button is just a button that adds a link

Mick.


Using the parser make sure these edits are correct in:

/Sources/Admin.php
/Sources/ManageSettings.php
/Themes/default/languages/Modifications.english.php

Snogmarr

Just going to install the forum again as it was new to see and set google map as first mod,,, and see!!

Snogmarr

Tell you what if I put the right edits in the right php files it might work eh!

So you can now officially call me a Muppet!

Mick.

Quote from: xnathansxdadx on April 19, 2010, 02:25:13 PM
Tell you what if I put the right edits in the right php files it might work eh!

So you can now officially call me a Muppet!


Did you get it sorted out?   Where you editing the wrong path of files?

Snogmarr

was working on 2 forums and sent the wrong files to the wrong forum,,,

Mick.

Quote from: xnathansxdadx on April 19, 2010, 06:52:24 PM
was working on 2 forums and sent the wrong files to the wrong forum,,,

Ooops. ;)

skyliner2

Hello Guys,

i tried to install Google Member Map 2.0 beta 1 on my SMF 2.0 RC2. Installation didn't show any errors, all Files have been modified.

The Member Map works, the Pins from an earlier version show up correctly. But I'm not able to access the user profile page. I get this error:

Fatal error: Cannot redeclare template_profile_googlemap_modify() (previously declared in /home/www/web303/html/_cb500/Sources/Load.php(2087) : eval()'d code:2760) in /home/www/web303/html/_cb500/Sources/Load.php(2087) : eval()'d code on line 2908

Could anybody help me, please?

Thanks, Chris

Kindred

you have installed twice.  you will have to manually go through the code and remove any duplicated coding.
Сл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."

skyliner2

Thanks for your reply - i'll check this out. Strange - i uninstalled GMM before installing the new version. Hmmm.

Siirist

Hi,  :)

I am running SMF ver2.0 RC 3, with these

Themes

Core Theme
SMF Default Theme - Curve
MysticJade

and these
mods

       Title                                                   Ver                          Date and Time Installed

1) Sortable Packages (and Installed Time)   1.3                           May 16, 2010, 08:30:45 PM
2) Karma Buttons                                      1.1                           Today at 12:38:08 PM
3) Menu Buttons                                        1.1                           Today at 01:32:32 PM
4) AvatarSelect                                         1.2.1                         Today at 02:30:07 PM
5) Google Member Map   3.0                       2.0 beta 2                 Today at 02:43:48 PM

The words are not present.  This occurred previously and I ended up deleting the forum and rebuilding I still have to add 40 Reserved Member User Names, but will wait til this is resolved.

I have attached a Screen Shot

Is this a .css thing?

Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Arantor

That's a language thing.

First up, Admin > Maintenance > Routine > Empty the file cache

I'd also wonder if you're using a language other than English but even then it should... oh wait, you're using something that isn't English ISO, probably English UTF-8 or English-British.

If you look in Themes/default/languages, what files are there that begin with "ManageSettings" in the name?
Holder of controversial views, all of which my own.


Mick.

Thanx Arantor.

That sure is a language thing.  The mod was written for english and english utf-8.

Arantor

Quote from: bluedevil on May 17, 2010, 07:04:15 PM
That sure is a language thing.  The mod was written for english and english utf-8.

Not even that. The mod doesn't appear to do any changes to ManageSettings.english-utf8.php, which isn't auto loaded by SMF the way Modifications.english.php is.


@KeyWestHank: This mod and thread is nothing to do with Google Analytics and is about integrating the Google map into SMF for members.

If you're after support on the Google Analytics Code mod, please see Google Analytics code for support, along with the version of SMF you're trying to use. Quick guide - you use Admin > Packages to install it for you. But if you're using 1.1.x it might be a bit more difficult.
Holder of controversial views, all of which my own.


Siirist

Quote from: Arantor on May 17, 2010, 06:49:06 PM
That's a language thing.

First up, Admin > Maintenance > Routine > Empty the file cache

I'd also wonder if you're using a language other than English but even then it should... oh wait, you're using something that isn't English ISO, probably English UTF-8 or English-British.

If you look in Themes/default/languages, what files are there that begin with "ManageSettings" in the name?

Hi Arantor!! :D

Thanks for the help!!

First up, Admin > Maintenance > Routine > Empty the file cache
The maintenance task 'Empty the file cache' was executed successfully.

Didn't work.  :(

If you look in Themes/default/languages, what files are there that begin with "ManageSettings" in the name?

:o  *Rolls on the floor laughing* Are you serious?  :D How about all of them?  ;D *head begins spinning*
Chinese-simplified     UTF-8
Chinese-simplified     
Chinese-traditional     UTF-8
Chinese-traditional     
Danish                    UTF-8
Danish                   
Dutch                    UTF-8
Dutch                   
English                    UTF-8
English                   
Finnish                    UTF-8
Finnish                   
French                    UTF-8
French                   
German                    UTF-8
German                   
German Informal    UTF-8
German Informal    
Italian                    UTF-8
Italian                   
Japanese                    UTF-8
Japanese                   
Korean                    UTF-8
Korean                   
Norwegian            UTF-8
Norwegian           
Spanish                    UTF-8
Spanish                   
Swedish                    UTF-8
Swedish                   

Um.. It's an international forum so....yeah added a lot of them.

English - UTF-8 is set as default

So does this mean tear it down again and re-install?

Cloud :'(
BTW - This is the Roller Derby Forum
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Arantor

Quote from: A Cloud Walker on May 17, 2010, 07:22:28 PM
English - UTF-8 is set as default

So does this mean tear it down again and re-install?

No! All it means is, go to the mod's page, select RC3 from the dropdown, select Parse, you'll see a list of stuff. The stuff under "ManageSettings.english.php" needs to be added to ManageSettings.english_utf8.php as well, then clear the cache again.
Holder of controversial views, all of which my own.


Siirist

#1257
Quote from: Arantor on May 17, 2010, 07:24:24 PM
Quote from: A Cloud Walker on May 17, 2010, 07:22:28 PM
English - UTF-8 is set as default

So does this mean tear it down again and re-install?

No! All it means is, go to the mod's page, select RC3 from the dropdown, select Parse, you'll see a list of stuff. The stuff under "ManageSettings.english.php" needs to be added to ManageSettings.english_utf8.php as well, then clear the cache again.

That I can do.   ;D

Thanks,
Cloud :)

BRB
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Mick.

Add this in your /Themes/default/languages/Modifications.english-utf8.php

Find:
?>

Add before:
global $scripturl;
$txt['googleMap'] = 'Member Map';
$txt['googleMappinned'] = 'Member Pins';
$txt['googleMapc'] = 'Member Map Mod by <a href="http://www.bluedevilcustoms.com/">BlueDevil</a>';
$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;area=forumprofile">Click here to go place your pin if you have not already.</a>';
$txt['googleMapPleaseClick'] = 'Click to place a point or click on your point to remove it.';
$txt['googleMapDisclaimer'] = 'Place your pin as close as you feel comfortable doing so.';
$txt['cannot_googleMap_view'] = 'Sorry, you are 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 are 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.';



Dont forget to clear cache again!

Siirist

Arantor AND bluedevil,


THAT WORKED!!!  Thanks!!!  You Rock!!!


Thanks,  ;)
Cloud  ;D ;D ;D
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Advertisement: