News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Location Mod

Started by Gobalopper, November 19, 2004, 01:43:12 AM

Previous topic - Next topic

mikemotorcade

Hey, how would I go about adding another map to the mod? I want to be able to zoom in more on Oregon and surounding areas.

Bigguy

With this mod I don`t think it actually allows you to zoom in on anything. There are however different maps of the world to choose from as well as a world map. The google member map allows you to zoom.

mikemotorcade

I know that. I was wondering if anyone could help me get another map that is zoomed in more. Like for instance the other maps DO exist, how can I create another one?

I will look into the google one though, thank you.

Mykl

I'm interesting in something similar to what Broomie wanted, but rather than letting the user pick their own flag, I'd like it displayed on the action=profile display.

For example, if I click on my own profile, I'd like to see the flag graphic displayed on a line right below (or to the right of) the location field.

If I click on someone else's profile, I'd like to see their flag in the same spot.

I looked into the previous suggestions about modifying Profile.template.php but it didn't go so well...

Any hints?
A bus station is where a bus stops, a train station is where a train stops.  On my desk, I have a work station...

Viceroy

I wanted to write and tell you thanks for the great mod and offer a bit of constructive critism in case you are looking to improve on this mod. Now for the constructive critism. I do not know about the rest of you guys, but some of the maps used are so hard to make out due to it being so light in color. For example, you can barely make out anything for Russia or Australia when looking at the map. I am not sure what could be done but figured I'd throw this out there to the maker of the mod :)

I noticed we could probably edit the map ourselves but I'd do best to leave it alone :)

Gambi

Well I've written this mod, and I can do what Mykl said, however you can only select your flag. The only problem is that I keep having troubles turning it into a package. If someone could help me or if I send the files to them and they can do it, you'll have a nice flag mod. :)

Vinspire

Quote from: Bigguy on May 09, 2006, 06:30:09 PM
With this mod I don`t think it actually allows you to zoom in on anything. There are however different maps of the world to choose from as well as a world map. The google member map allows you to zoom.

Something like google earth ?

djalecc

Hi, I've the the Location Mod on my board for some time, but today when I checked, the button 'Member Map' had dissapeard!

I can still see and access the Mod, but this has totally baffeled me!

Any one have any ideas on this strange one?

Many thanks
:D

DemonicInfluence

Maybe add the button!

Bigguy

Yep something like that.

Quote from: Vinspire on May 10, 2006, 11:40:40 PM
Quote from: Bigguy on May 09, 2006, 06:30:09 PM
With this mod I don`t think it actually allows you to zoom in on anything. There are however different maps of the world to choose from as well as a world map. The google member map allows you to zoom.

Something like google earth ?

mikemotorcade

Quote from: Bigguy on May 11, 2006, 10:23:27 PM
Yep something like that.

Quote from: Vinspire on May 10, 2006, 11:40:40 PM
Quote from: Bigguy on May 09, 2006, 06:30:09 PM
With this mod I don`t think it actually allows you to zoom in on anything. There are however different maps of the world to choose from as well as a world map. The google member map allows you to zoom.

Something like google earth ?

Well, I guess what I'm asking is this: We have the World map, right? And we also have a USA map. Can someone help me add ANOTHER map to the mod that is closer than the USA map and contains Oregon, Washington, Northern California.

And I don't really like the google mamber map. I guess if theres no way anyone could help me add another map to this then I'm gonna have to get that one.  :'(

Gobalopper

Well I can send you the original map if you want. It is over 10MB though and you will need to know the co-ordinates of the area you cut out in order to add it.

Vinspire

#952
Very very kewl mod ... installed it on my test board and it is working great.

BUT most of my forummers is from the same country as me so still couldn't figure out the use of this mod in my site.

1 comment - can make the map look more interesting as the location name ? it look kinda dull now.

djalecc


Bigguy

There is a post here somewhere that explains how to add a button to a theme. To start though you will need to add it to the index.template.php file of the theme you are using.

Quote from: djalecc on May 12, 2006, 03:26:44 AM
Quote from: DemonicInfluence on May 11, 2006, 08:44:05 PM
Maybe add the button!

OK, so how would I do that?  :D

mikemotorcade

Quote from: Gobalopper on May 12, 2006, 12:36:50 AM
Well I can send you the original map if you want. It is over 10MB though and you will need to know the co-ordinates of the area you cut out in order to add it.

Great! I'll PM you my email address. How do I find the coordinates? Is it in pixels? I guess the x/y Start/End would be easy to figure out.. how do I calculate the scale? I guess I'll need your help.

Thanks a MILLION!!

Bigguy

The button itself should have been installed with the mod on the default theme, all you have to do is add the code for it in the index.template.php file and it should show up on your theme you are using.

djalecc

Quote from: Bigguy on May 12, 2006, 04:24:43 PM
The button itself should have been installed with the mod on the default theme, all you have to do is add the code for it in the index.template.php file and it should show up on your theme you are using.

Hi

I've managed to re-add the button, by finding the code that was missing from the index.template.php file using the install code, my real point was tho, how did it dissapear in the first place!!!!

I've been running the MOD for ages with no problems, then the other day I log in to the forum and its gone!!!

Spooky!

Anyway, all fixed now  :)

Thanks for the help everyone, it had me scratching my head for a bit  :)

Gobo

i can see people are discussing the google mod and the location mod

ive used both and i can say this honestly: both have their advantages and disadvantages

how?

Location mod:
- it has a really cool feature that little flags get added to user profiles / posts and on the map and 'whos online' list (if u install the flags with it)

Google maps
- You can zoom in right down to your neighbourhood so its awesome

So basically if you run a big forum i would recommen googlemap since it allows more pins to be placed, but not without consequences, the more crowded the map is the more slower it will take to load

But if you run a smaller board then location mod will be A-OK for you

unformatted_

Hi!

I installed the location mod, very nice.
But i´m form portugal and woul like the portugal map
do you know how to do it? Or somebody have already do it?

thanks
vasco

Advertisement: