News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Google Member Map

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

Previous topic - Next topic

ArkServer

#120
Quote from: JayBachatero on December 28, 2005, 11:25:41 AM
It's not working and you have to login.

-JayBachatero

I take that back, it only works when logged in as admin. I should have tested that huh..  :(

//edit

try now :) it works

damacguy

Here's a simple question - which file do I have to edit to change the text below the member map?

"Click hear to go place your pin if you have not already."

Figures I'd have an English major as a forum member. ;-)

dtm.exe


JayBachatero

Quote from: dtm.exe on December 28, 2005, 12:39:26 PM
Quote from: JayBachatero on December 28, 2005, 11:25:41 AM
It's not working and you have to login.

-JayBachatero

WFM.
Quote from: ArkServer on December 28, 2005, 11:39:03 AM
Quote from: JayBachatero on December 28, 2005, 11:25:41 AM
It's not working and you have to login.

-JayBachatero

I take that back, it only works when logged in as admin. I should have tested that huh..  :(

//edit

try now :) it works

He recently changed it.

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

ArkServer

I installed it 1 min before my first post here and forgot to set the permission. sry :P
tho.. this mod and the template works fine and no extra edits are needed.

TLM

Quote from: damacguy on December 28, 2005, 12:05:40 PM
Here's a simple question - which file do I have to edit to change the text below the member map?

"Click hear to go place your pin if you have not already."

Figures I'd have an English major as a forum member. ;-)
Yeah, slap me silly and call me a baffon for missin that when I packaged 0.47,

A) Install 0.50 and dont forget to check permissions
B) $themedir/MemberMap.template.php

damacguy

Is anyone else having a problem with the .50 package? I get an error when I try and upload the file through my copy of SMF , and it seems corrupt when I try and uncompress it on my local machine.

Also, the link from the SMF Package Server is for .47. Hmm. ::)

damacguy

Quote from: damacguy on December 28, 2005, 02:00:09 PM
Is anyone else having a problem with the .50 package? I get an error when I try and upload the file through my copy of SMF , and it seems corrupt when I try and uncompress it on my local machine.

Also, the link from the SMF Package Server is for .47. Hmm. ::)

It works from my PC though. Maybe it's just me.

TLM

When I get around to to it, and finsh what I have been tweaking in 0.51 I shall post it and that should fix the package manager dloading 0.47 when it says 0.50.

PhatTyres

Yeah...when you try to install from SMF server...it says .50 but intalls .47
I just DL'd it and uploaded it.
OTB and Runnin Down The Hill

SMF 1.0.5  MKp1.0                                Clip'd In Cycling Community

PhatTyres

TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post.  Any further thoughts on that or should I just revert and be patient for .51

Thanks for the Great Mod BTW
OTB and Runnin Down The Hill

SMF 1.0.5  MKp1.0                                Clip'd In Cycling Community

JayBachatero

Yea since .47 was added after .50 was added the package manager sees .47 as newer.  YOu will have to download it from the mod site and uploaded though the package manger.

-JayBachatero
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

TLM

#132
Quote from: PhatTyres on December 28, 2005, 02:07:43 PM
TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post.  Any further thoughts on that or should I just revert and be patient for .51

Thanks for the Great Mod BTW

        //Ok this is block of code takes care of the entire load all member data into $themeUser/$memberContext on per # basis
        $temp = array();
        while ($row = mysql_fetch_array($request, MYSQL_ASSOC))
            $temp[] = $row['ID_MEMBER'];
        loadMemberData($temp);
        foreach ($temp as $v)
                loadMemberContext($v);

        // Seeing how SMF 1.0 uses $themeUser and SMF 1.1 uses $memberContext, lets just make our own now?
        if (isset($memberContext))
            $data = $memberContext;
        elseif (isset($themeUser))
            $data = $themeUser;


and then change the foreach ($memberContext... to foreach($data
I thought I posted it but guess not, oh well, I am now going thru making sure that it installs/uninstalls cleanly and works all the way thru, also added a fix to those map issues when people have dark background with light text causing the map buttons not to be readable...

Depending on how I feel once I get back from getting new glasses, I might go ahead and finsh up the testing tonight, unless something comes up.

PhatTyres

Thanks...
I'll give it a whirl...Thanks for the quick response
OTB and Runnin Down The Hill

SMF 1.0.5  MKp1.0                                Clip'd In Cycling Community

TLM

* TLM points to gmail notifier...

Owain

If I have missed something I apologise.....

I downloaded the new .50 version, uninstalled .47, applied the .50 and the pins do not show on the main map.
Reverted back to the .47 version and the pins are displayed again....

O.
www.tractionkiting.co.uk
Dedicated to promoting Kiting in Scotland

TLM

Quote from: Owain on December 28, 2005, 06:10:01 PM
If I have missed something I apologise.....

I downloaded the new .50 version, uninstalled .47, applied the .50 and the pins do not show on the main map.
Reverted back to the .47 version and the pins are displayed again....

O.
Your using 1.0.5 arnt you?  You sure cant read.... (Sorry not quite in the best of moods right now)
Quote from: TLM on December 28, 2005, 02:16:10 PM
Quote from: PhatTyres on December 28, 2005, 02:07:43 PM
TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post.  Any further thoughts on that or should I just revert and be patient for .51

Thanks for the Great Mod BTW

        //Ok this is block of code takes care of the entire load all member data into $themeUser/$memberContext on per # basis
        $temp = array();
        while ($row = mysql_fetch_array($request, MYSQL_ASSOC))
            $temp[] = $row['ID_MEMBER'];
        loadMemberData($temp);
        foreach ($temp as $v)
                loadMemberContext($v);

        // Seeing how SMF 1.0 uses $themeUser and SMF 1.1 uses $memberContext, lets just make our own now?
        if (isset($memberContext))
            $data = $memberContext;
        elseif (isset($themeUser))
            $data = $themeUser;


and then change the foreach ($memberContext... to foreach($data
I thought I posted it but guess not, oh well, I am now going thru making sure that it installs/uninstalls cleanly and works all the way thru, also added a fix to those map issues when people have dark background with light text causing the map buttons not to be readable...

Depending on how I feel once I get back from getting new glasses, I might go ahead and finsh up the testing tonight, unless something comes up.

agenda9

Has anyone gotten this to work inside Mambo/Joomla?  I found it works great in Firefox, but when you use IE you get a message that the API key was registered for a different website.

TLM

Quote from: agenda9 on December 29, 2005, 08:09:52 PM
Has anyone gotten this to work inside Mambo/Joomla?  I found it works great in Firefox, but when you use IE you get a message that the API key was registered for a different website.
Link to it for one?  Two, I dont plan on really helping to much due to I dispise mambo/joomla.  Three, chances are you are trying to load it from two diffrent urls.  The API key is very picky about the directory it is loaded from.

countludwig

Hi,
getting this same problem  1.05/ no pins on the main map.
I found the block of code inside of 2 functions, in membermap.php
tried changing the code block on both with no luck.
I'm sure it's probably something I'm doing wrong,  is there an easy way
to debug the membercontext / thememember variable to try an troubleshoot
the problem ?  or a way to see the contents of whats being passed to google ?
basically my php skills aren't that great, where I'm not coding
like I used to...   thanks.




Quote from: TLM on December 28, 2005, 08:12:31 PM
Quote from: Owain on December 28, 2005, 06:10:01 PM
If I have missed something I apologise.....

I downloaded the new .50 version, uninstalled .47, applied the .50 and the pins do not show on the main map.
Reverted back to the .47 version and the pins are displayed again....

O.
Your using 1.0.5 arnt you?  You sure cant read.... (Sorry not quite in the best of moods right now)
Quote from: TLM on December 28, 2005, 02:16:10 PM
Quote from: PhatTyres on December 28, 2005, 02:07:43 PM
TLM...What was the fix for 1.0.5 on .50
I tried to edit the code as mentioned in an ealier post.  Any further thoughts on that or should I just revert and be patient for .51

Thanks for the Great Mod BTW

        //Ok this is block of code takes care of the entire load all member data into $themeUser/$memberContext on per # basis
        $temp = array();
        while ($row = mysql_fetch_array($request, MYSQL_ASSOC))
            $temp[] = $row['ID_MEMBER'];
        loadMemberData($temp);
        foreach ($temp as $v)
                loadMemberContext($v);

        // Seeing how SMF 1.0 uses $themeUser and SMF 1.1 uses $memberContext, lets just make our own now?
        if (isset($memberContext))
            $data = $memberContext;
        elseif (isset($themeUser))
            $data = $themeUser;


and then change the foreach ($memberContext... to foreach($data
I thought I posted it but guess not, oh well, I am now going thru making sure that it installs/uninstalls cleanly and works all the way thru, also added a fix to those map issues when people have dark background with light text causing the map buttons not to be readable...

Depending on how I feel once I get back from getting new glasses, I might go ahead and finsh up the testing tonight, unless something comes up.

Advertisement: