vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Auto fill in profile field? (https://vborg.vbsupport.ru/showthread.php?t=103981)

DDad 12-29-2005 06:13 PM

Auto fill in profile field?
 
Is there a way to make an auto fill for zip codes in a profile field?
We use the zip code for quite a bit of things in our forum and cmps page.
The way it's set up, when someone registers they need to put their zip code in. but when they type in their zip they don't check to see if it's right so when the wrong weather and cmps page shows up they email us and it's a pain in the ***!

We have about 400 zips and it looks real confusing if I put a drop down or radio buttons for the choices.

ReZ 12-30-2005 09:35 AM

I don't think thats possible? I can't think how it would be done.
Unless you could find the geographical location, via the ip address.
It might be best to just make it a required field and have your members manually enter the zip code.
When registering on most forums you have to enter your email address and password twice [to make sure you've entered the correct information]
Maybe you could employ this same idea, and have your members enter thier zip code twice to ensure it's correct.

Rich 12-30-2005 11:16 AM

Hello,

You couldn't use the IP without running a trace to the source computer as it is being routed through a server. The server, depending upon your ISP could be anywhere in the world. People that are behind a proxy would also cause a problem for trying to use an IP to find a users zipcode.

DDad 12-30-2005 05:43 PM

I was thinking of having the zip code there, so when someone typed in 0 all the 0's would show and when they typed 02 all the ..you know until all 5 are picked. We have all the zips in our weather DB.


All times are GMT. The time now is 01:18 PM.

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.00973 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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