vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Define US Zip Code for Member Profile (https://vborg.vbsupport.ru/showthread.php?t=73551)

defi 12-31-2004 03:43 AM

Define US Zip Code for Member Profile
 
It would be great if, when a user supplied their zip code in an extra profile field, the zip code could be translated into the actual city and state of that area which would be displayed in the user's profile page.

SFishy 12-31-2004 04:31 AM

Quote:

Originally Posted by defi
It would be great if, when a user supplied their zip code in an extra profile field, the zip code could be translated into the actual city and state of that area which would be displayed in the user's profile page.

I'm not expert on databases, but I think you'd need another database table for that... one that stores zip codes and it's corresponding city and state.

Or you'll need one of those longitude/latitude programs/databases that figures it out.

Someone might have either already, but I would imagine they are pretty expensive to buy.

tnguy3n 12-31-2004 02:24 PM

if someone could provide all zipcodes of cities in the US, that would make it easier. ;)

amykhar 12-31-2004 03:21 PM

<a href="http://www.usps.com/webtools/address.htm" target="_blank">http://www.usps.com/webtools/address.htm</a>

SFishy 12-31-2004 03:23 PM

You do know there are like 44,000 zip codes in the US? :nervous:
It also changes A LOT monthly. I only know because we have a database like this at my job, and changes are CONSTANT (they have 4-person department that manages this).

amykhar 12-31-2004 03:41 PM

The link I posted is an API provided by the post office, which I must assume updates their database regularly :D

Depending on how many people register on your site daily, it wouldn't be a huge problem to hit some other database to get the info for the city and then store the city in the database.

But my question is this: Why not just have the user enter their city? They know what city they live in. ;)

Amy

noppid 12-31-2004 07:09 PM

If I joined a site and found they used my info to provide more info about me I'd be annoyed.

I'm wondering the point of this and how it would affect privacy issues? I mean even if a savey person could find out on their own, would users appreciate this and shouldn't the use of such things be op in and clearly stated in policies?

Just curious.

T3MEDIA 01-04-2005 05:10 PM

this is forum software. I join sites that ask for my address.
you can ask for anything you want.
no law in asking questions

paul1972 08-17-2011 12:56 AM

any luck finding this zip code program?


All times are GMT. The time now is 06:13 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01183 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete