Previous Thread
Next Thread
Print Thread
Rate Thread
#314684 07/11/2007 11:14 AM
Joined: Jul 2007
Posts: 1
Lurker
Lurker
Offline
Joined: Jul 2007
Posts: 1
I hope this is the right place to post this. Is there available a third-party add-on to show where members live?

Sponsored Links
Len Backus #314687 07/11/2007 9:12 PM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Well, i WAS looking at possible ways to do this, but unfortunatley, google doesn't allow you to just drop in a Zip code, so you'd have to have the user input their latitude/longitude which is well beyond most...

There are sites which allow you to triangulate a zipcode to a lat/long but they only allow so many queries per day, and on a site with over 100 members you'd easily reach this limit on a few runs of even cached data...

Last edited by Gizmo; 07/11/2007 9:12 PM.

UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Gizmo #314894 07/22/2007 6:15 PM
Joined: Sep 2006
Posts: 75
Power User
Power User
Offline
Joined: Sep 2006
Posts: 75
I am logged in as Rose, but this is her husband, Steve.

I wanted to offer a few thoughts on this, since I spent several hundred hours writing a php/MySQL-based locator program for our website, and spent the last couple of years tweaking it.

You can see our "Find People" system here . Look around and see what you think. It maps member locations down to the city/state level. It currently supportes the US, Canada, and Australia.

This locator system was written before we started using UBBthreads on the website, and obviously the thought of developing an integration with the forums has occupied my thoughts. This is where I can offer some information and some opinions. smile

1. Not all of the people who participate in forums want to have themselves located on a map. That argues for an "opt-in" strategy...which is all just as well anyway since you would want them to provide information that UBB doesn't capture. The minimum necessary would be:
  • UBB login and/or display name
  • Their location - City, State, Country, (don't use zipcodes, since they limit you to the US)
Beyond this minimum info, you can optionally capture more. On my site, since it is for Australian Expats, I ask for Origin information and also allow them to post a comment about themselves.

2. I don't recommend relying on a third-party service like Googlemaps for displaying data. They are very dynamic in changing their url information. You would be rewriting code to keep up with them every other week, and dependant on their whims for system changes.

3. Using zip codes limits you essentially to the US, and as Gizmo mentioned, there is no reliable way to repeatably get from zip codes to latitude/longitude information. There IS, however, a relatively easy way to get from city/state/country information to latitude/longitude that I discovered. Geobytes offers a free, comprehensive, and downloadable comma-delimited text-based database of world cities and their lat/longs. I have written parser code to return lat/long data when city/state/country is entered. This is how I convert city/state/country country to lat/long for the sytem my site uses.

The download site for the Geobytes GeoWorldMap is here . Itis a virtual goldmine of parsable information on most of the worlds major and even very minor towns and cities, and they give it away for 30 day evaluation, $10US to keep and use it! Unbelievable, and Kudos to them for their generosity. It solved one of my biggest problems for creating a locator system, having an on-server source of lat/long information for world cities.

3. Integrating a locator system with UBB is the sticky point, but frankly, most of the integration would take place inside the third-party software code. Existing forum members would have to use a link from the forum (or a preferences checkbox) to move to the locator sign-up and enter their existing UBB login and/or display name information. Newly registering UBBthreads users could possibly opt-in during registration for the location service via a mod.

Currently my website locator system operates as a distict entity from UBBthreads, but I am interested in pursuing an integration strategy if the idea has enough support and appeal from other UBBthreads forum hosts. For my end of the deal, I would gladly offer the php code for my current locator system without cost to anyone who is interested in developing integration with UBBthreads. If an integration is successful, I would also offer the the locator code as a free mod. I am not in this for bucks. grin

Your thoughts on the above are solicited and welcomed.

Rose #314899 07/23/2007 2:30 AM
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
You know, I gave thought to this and then I remembered that I wrote a mod to use Frappr, which lets users pick where they are located; this mod is free for use and users can "opt in" by accessing your map and signing it...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)