Member Map - Posted (7872 Views)
Junior Member
CarKnee
Posts: 297
297
This mod was created to display the location of members on a Google Map.

It will only work if:
1. The Member has City, State (2 letter abbreviation), and Country filled in their profile. 2. Country MUST be USA. It will not work with any other country! 3. The City and State combination must exist in the GEOCODE database. Not every City is in the database!
Demo: http://www.rswarrior.com/forums/MemberMap.asp

It has been tested with with Snitz 3.4.05 & SQL Server 2000

Download Here:
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=214<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
muzishun
Posts: 1079
1079
I'll try to get this up and running in the near future and let you know if I find anything weird with Access. I'm very excited about it. Well done!<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Junior Member
jeffery
Posts: 176
176
Very nice. I have it working fine on my site. I wish I had more users to show on it :)

Thanks Carknee.<
Posted
Senior Member
sr_erick
Posts: 1318
1318
Nicely done and I thank you! I didn't realize Google had an API out there for the maps or I would have been messing with this a long time ago!
I've got mine up and running here: http://www.snowmobilefanatics.com/members/membermap.asp

Now I need to impliment a "locate member" feature so by clicking on a link in a profile or forum post it will bring up the map with themself already highlighted in the little box dealy..at a decent zoom level.<
Posted
Junior Member
Bassman
Posts: 256
256
This is a super mod, Shame you can't use it in europe.<
Posted
Junior Member
CarKnee
Posts: 297
297
Originally posted by sr_erick
Nicely done and I thank you! I didn't realize Google had an API out there for the maps or I would have been messing with this a long time ago!
I've got mine up and running here: http://www.snowmobilefanatics.com/members/membermap.asp

Now I need to impliment a "locate member" feature so by clicking on a link in a profile or forum post it will bring up the map with themself already highlighted in the little box dealy..at a decent zoom level.

You seem to be missing the
Code:
<div id="map" style="width:728px; height: 500px"></div>
on your page.
This mod is just a basic implementation of what can be done. My site has a bit more done with this including what you are asking about. for example, http://www.rswarrior.com/forums/MemberMap.asp?MID=2 will show where member #2 is located.
Have fun with it ;)

<
Posted
Junior Member
CarKnee
Posts: 297
297
Originally posted by Bassman
This is a super mod, Shame you can't use it in europe.
I know. I wish there were free Geocode services for Europe and the rest of the world.<
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Carknee, would this be any use?
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Junior Member
CarKnee
Posts: 297
297
Originally posted by Shaggy
Carknee, would this be any use?
I don't think so... even they don't have what I am looking for. This page has a link to find the lat and long of US addresses, not European addresses.
I am looking for something like this http://geocoder.us/

Thanks for trying though!<
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Ah, OK, I get you know, your code is looking up the address, I thought you had your members manually entering their coordinates in their profiles.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Junior Member
CarKnee
Posts: 297
297
Correct. For US Citites and States it is an automatic lookup.
I thought you had your members manually entering their coordinates in their profiles.

I am thinking of adding that in for non-US countries so they can use it too. I probably have a hundred or so members outside of the US and they want it. ;)

<
You Must enter a message