Customizing SMF > Modifications and Packages

Google Member Map

<< < (2/346) > >>

TEOC2:

--- Quote from: brianjw on December 13, 2007, 04:51:21 PM ---You should be able to. Give it a try and see how it goes... :)

--- End quote ---

Where would i find the code?

Also, a thumbnail of the users avatar would be good too, maybe above the members name.
Great mod BTW.
 8) 8) 8)

brianjw:
Ok, you would find it in ./Themes/default/GoogleMap.template.php
Also, the code isn't an embed tag, it is a script tag. Not sure if there is a way to size script objects though...
I believe it is:

--- Code: ---<script src="http://maps.google.com/maps?file=api&v=2&key=', $modSettings['googleMapsKey'], '" type="text/javascript"></script>

--- End code ---

A thumnail of their avatar...

- Next to their name on the list?
because there is already an avatar on the white bubble that pops up when clicking on the icon on the googlemap or the users link on the list...
See:

--- Code: ---' . $marker['avatar']['image'] . '
--- End code ---

brianjw

TEOC2:

--- Quote from: brianjw on December 13, 2007, 05:17:39 PM ---Ok, you would find it in ./Themes/default/GoogleMap.template.php
Also, the code isn't an embed tag, it is a script tag. Not sure if there is a way to size script objects though...
I believe it is:

--- Code: ---<script src="http://maps.google.com/maps?file=api&v=2&key=', $modSettings['googleMapsKey'], '" type="text/javascript"></script>

--- End code ---

A thumnail of their avatar...

- Next to their name on the list?
because there is already an avatar on the white bubble that pops up when clicking on the icon on the googlemap or the users link on the list...
See:

--- Code: ---' . $marker['avatar']['image'] . '
--- End code ---

brianjw

--- End quote ---

Ok, thanks, i'll have a play with the code, yes, your right the ava does show on the pin, i have it installed on a sacrificial board so nobody had avatars.

brianjw:
No problem. I looked around a little and it almost looks like it isn't possible. The best place to get support for the map itself provided by google is google.. The mod however can be supported here.

TEOC2:
I sent you a PM.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version