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

StormLrd

if you got notifications set here, you'll know or simply the fact that your an active member on my site you should see a notice by someone on staff bro lol

seriously so far running without a hitch.

brianjw

cool thanks storm :)

you mean email, pm, or post?

Dejv

#922
Hello,

I have a feature request:

- it would be great if there could be an option to show pins in a specific region (State, City), for example when most of the users are from one town or state.
For example like it is here:
View members in:   Germany  |  Berlin  |  Munich  |  Worldwide
You can also see that here is the clustering already set, users can't place their pin, they can just select a location in their profile.

- And since googlemap can't be used as a picture, it would be great if the administrator could place some special pins, for example for meetups, sponsors, etc.
For example:
View: meetups | top bars | top locations

Thanks,
David
SMF 1.1.20

Webrunner

Try the one i put up here.
I changed the package info to match 1.1.2 and it installed fine in my setup (1.1.2 TP and loads of other mods)
There is a difference between knowing the path and walking the path.

=========================================
Vrouwen Power! | Sprintweb: No nonsense e-Business consultancy

TheDel

#924
Ok that one installed ok but its not letting me save the changes to activate the map to see if it worked ok

brianjw

Ok I need some support. I have a ™ after my display name on my website. My username is Tuxie™ and it comes up as Tuxie™.
How would I make it so the ™ actually shows up as it is in this post? :)

Thanks,
Brianjw

taucher

is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?

pre_pl

#927
if I set permissions for a certain group to 'not allowed ' to watch a members map, I can still use a link http://forum_url/smf/index.php?action=googlemap and see all data (even add myself)...

So, this is wrong
SMF 1.1.2
GoogleMapsMod-0_60RC8-1.1.2

brianjw

Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)

qubbah

how can i make the menu button for google member map to use in menu section in dilbermc theme.

the default

// Google Maps Mod
   if (($modSettings['googleMapsEnable']) && (allowedTo('googleMap_view')))
      echo ($current_action == 'googlemap' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
            <td valign="top" class="maintab_' , $current_action == 'googlemap' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=googlemap">' , $txt['googleMap'] , '[/url]
            </td>' , $current_action == 'googlemap' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

the example for dilbermc

// The [calendar]!
   if ($context['allow_calendar'])
   echo'
            <td align="center" class="menubg' , $current_action == 'calendar' ? '2' : '' , '">
               <a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '[/url]
            </td>';

brianjw

#930
Try this
I will have a code out in a second.

Ok here is one -

   // Show the [googlemap] button.
   echo'
            <td align="center" class="menubg' , $current_action == 'googlemap' ? '2' : '' , '">
               <a href="', $scripturl, '?action=googlemap">Member Map</a>
            </td>';

(^-- this one is tested and it works, this is seen by guests and members)

Another one that wasn't tested, I think only seen by members:

   // The [googlemap]!
   if ($context['allow_googlemap'])           
   echo'
            <td align="center" class="menubg' , $current_action == 'googlemap' ? '2' : '' , '">
               <a href="', $scripturl, '?action=googlemap">Member Map</a>               
            </td>';


If I were you go for the first code because I don't think the second code will work. :)

qubbah

#931
thanks soo much...

the first is really working...

the second one im not put it yet...

what file i should open it to edit this
Click here to go place your pin if you have not already.

taucher

Quote from: brianjw on June 13, 2007, 05:34:23 PM
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
thats right - but its not elegant, because i would have to correct all links (profile etc) to hit the domain with the api. and then, when i leave the map? theres no possibility to chose the right domain.

isnt it possible to hardcode two apis in the googlemap.php? would be nice if it would work.

brianjw

Quote from: qubbah on June 13, 2007, 07:51:14 PM
thanks soo much...

the first is really working...

the second one im not put it yet...

what file i should open it to edit this
Click here to go place your pin if you have not already.
You would go to /Themes/default/googlemap.template.php . It's in there ;)

zandria

The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

help with this please?  I run smf 1.1.2 and TP

brianjw

It isn't compatible for version 1.1.2 if you downloaded the one at the modsite.
The one you want to download is the version: http://www.simplemachines.org/community/index.php?topic=61213.msg1118401#msg1118401

If that version doesn't work either, you may have other mods interfering with it.

Owain

Fantastic! At last I have the google map back on my forum :D

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

taucher

Quote from: taucher on June 14, 2007, 06:19:39 AM
Quote from: brianjw on June 13, 2007, 05:34:23 PM
Quote from: taucher on June 13, 2007, 04:26:07 PM
is it possible to insert mor than oni google-api key? i run my board with two domains so the membermap works only for one domain. how can i handle this?
Just make it so one of the urls redirects to the other url and call the one it redirects to the "main url". ;)
thats right - but its not elegant, because i would have to correct all links (profile etc) to hit the domain with the api. and then, when i leave the map? theres no possibility to chose the right domain.

isnt it possible to hardcode two apis in the googlemap.php? would be nice if it would work.

seems theres no solution?

Owain

How do I change the width of the googlemap within my profile section? I have a narrow theme and the googlemap pushes out the side, I have looked in the code and cant spot it. It seems to be about 600px wide. I can change the width of the main googlemap which is visiable to all users but can't seem to change the width within the profile settings.

Can anyone help me?

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

unrelenting

Shouldn't this be "after"?



<operation>
<search position="before"><![CDATA[// This function basically just redirects to the right save function.
function ModifyFeatureSettings2()
{
global $context, $txt, $scripturl, $modSettings, $sourcedir;

isAllowedTo('admin_forum');
loadLanguage('ModSettings');

// Quick session check...
checkSession();

require_once($sourcedir . '/ManageServer.php');

$subActions = array(
'basic' => 'ModifyBasicSettings',
'layout' => 'ModifyLayoutSettings',
'karma' => 'ModifyKarmaSettings',]]></search>
<add><![CDATA[
'googlemap' => 'ModifyGoogleMapSettings',
]]></add>
</operation>


Advertisement: