Google Member Map

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

Previous topic - Next topic

brianjw

OK go into GoogleMap.php in /Sources/

(I am not quite sure what links in the balloon you're talking about, all of them?)
Find

if (($marker['website']['url'] != '') && ($marker['website']['title'] != ''))
$datablurb = $datablurb . '<a href="' . $marker['website']['url'] . '">' . $marker['website']['title'] . '</a>';

Replace

if (($marker['website']['url'] != '') && ($marker['website']['title'] != ''))
$datablurb = $datablurb . '<a href="' . $marker['website']['url'] . '"><font color="#000000">' . $marker['website']['title'] . '</font></a>';

That will fix the website link ( i think ). Try that and let me know what happens. Then I will tell you how to continue with the rest of the balloon.

Yngwiedis

Quote from: brianjw on March 10, 2008, 07:58:22 PM
OK go into GoogleMap.php in /Sources/

(I am not quite sure what links in the balloon you're talking about, all of them?)
Find

if (($marker['website']['url'] != '') && ($marker['website']['title'] != ''))
$datablurb = $datablurb . '<a href="' . $marker['website']['url'] . '">' . $marker['website']['title'] . '</a>';

Replace

if (($marker['website']['url'] != '') && ($marker['website']['title'] != ''))
$datablurb = $datablurb . '<a href="' . $marker['website']['url'] . '"><font color="#000000">' . $marker['website']['title'] . '</font></a>';

That will fix the website link ( i think ). Try that and let me know what happens. Then I will tell you how to continue with the rest of the balloon.

I change that code but i don't see anything changed.

Take a look at the attached screenshot...
AmityHost.com - The Affordable Host

Poor_Knight

When I installed the mod I see all the members on the map even though they didn't place themselves - they are all just clustered in one location (0,0 I think).

So when I use the sidebar it shows all members as pinned although they really aren't/ How do I change this behavior?

Thx in advance :)
"Life moves pretty fast. If you don't stop and look around once in a while, you could miss it."
~Ferris Bueller

brianjw

I am guessing dark themes aren't going to work with the Google Map then. I can only say to change the link color to something that is both visible in dark and light colors like orange or something in your themes style.css.

This isn't a behavoir of the mod. This is either a problem with your pin with Google or the installation  had some trouble.

Poor_Knight

Quote from: Poor_Knight on March 11, 2008, 01:50:28 PM
When I installed the mod I see all the members on the map even though they didn't place themselves - they are all just clustered in one location (0,0 I think).

So when I use the sidebar it shows all members as pinned although they really aren't/ How do I change this behavior?

Thx in advance :)

No ideas?
"Life moves pretty fast. If you don't stop and look around once in a while, you could miss it."
~Ferris Bueller

brianjw

Please read my previous post.

Poor_Knight

Quote from: brianjw on March 11, 2008, 08:26:09 PM
Please read my previous post.

Sorry, missed the last part.

Yeah likely my install then since I had to due manual. But any ideas why it would auto-generate a pin for all members? I'm not sure where to look for this.
"Life moves pretty fast. If you don't stop and look around once in a while, you could miss it."
~Ferris Bueller

Poor_Knight

Quote from: Poor_Knight on March 11, 2008, 11:47:27 PM
Sorry, missed the last part.

Yeah likely my install then since I had to due manual. But any ideas why it would auto-generate a pin for all members? I'm not sure where to look for this.

Didn't have DB fields set to NULL...
Corrected by setting the longitude/latitude fields to allow NULL value and UPDATED the fields to be set to NULL.
"Life moves pretty fast. If you don't stop and look around once in a while, you could miss it."
~Ferris Bueller

brianjw

They should already be set like that. It couldve been your webhost blocking parts of the query through the install.

AdviseorAnswers.com

I am running smf 1.1.3 and the latest TP with nearly 70 mods installed. As such I have to manually add at least part of the modifications each time I add or update a mod.

I finally got around to this one and had to manually modify:
Load.php
Modsetting.php
index.template.php

After I add the modifications to load.php I had a load error on line 1851 that prevented my site from loading. To correct this I removed ")" from that line, and it allowed my site to load and I finished adding the final two manual modifications. 
Now I have no admin controls in the "Features and Options" for this mod nor is there a tab showing for it.


note* This was a fresh load. not an update.
Social Networking


brianjw

I suggest you use the http://www.gamerzgarage.com/package.php (Package Parser) to solve your problems by uninstalling the mod.

I also suggest that you don't run so many modules on your website. - The more, the harder it is to upgrade SMF & install new/uninstall mods.

AdviseorAnswers.com

Quote from: brianjw on March 16, 2008, 02:49:43 PM
I suggest you use the http://www.gamerzgarage.com/package.php (Package Parser) to solve your problems by uninstalling the mod.

I also suggest that you don't run so many modules on your website. - The more, the harder it is to upgrade SMF & install new/uninstall mods.

The link returns this:
Warning: include_once(/home/brianjw/public_html/geshi/geshi.php) [function.include-once]: failed to open stream: No such file or directory in /home/brianjw/public_html/package.php on line 59

Warning: include_once() [function.include]: Failed opening '/home/brianjw/public_html/geshi/geshi.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brianjw/public_html/package.php on line 59

Fatal error: Class 'GeSHi' not found in /home/brianjw/public_html/package.php on line 60
Social Networking


brianjw

Please use the SleepyCode Package Parser: http://sleepycode.com/PackageParser/index.php

My website will be up and down all day to day because I am over the limited space with my host and I thought I was deleting unused items but I guess that is used.

Yngwiedis

If i can ask, how much you pay for your hosting, and how many space you get ?
AmityHost.com - The Affordable Host

brianjw

I get 250 MB disk space and 5000 MB bandwidth with these features.
for $59.50 per year.

Yngwiedis

#275
If you want, i can give you the exact same features, with 1 GB disk space and 10 GB bandwidth for 5 euros ( ~8 dollars ) per month ;)
AmityHost.com - The Affordable Host

brianjw

Cool. I'll add your host to my list. I am still negotiating with my current host because it's a pain to transfer everything.

I noticed the link in your signature. I only understand english. :(

Yngwiedis

Yes the site is for Greek people only, but if you want anything just communicate with me via PM ;)
AmityHost.com - The Affordable Host

Klabautermann

I have installed the mod and it works fine, only on ething want work: nothing happens if i click on a pinned member (the pinned member list on the right) whats wrong?

brianjw

It should open a balloon in the map. Try setting the zoom to a higher level like 2 or 3 or even more if you want. Then move your mouse around and a balloon should show. If this doesn't work, there was some kind of an error in your install.

Advertisement: