vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Dropdown lists or list boxes for User Profile fields.. (https://vborg.vbsupport.ru/showthread.php?t=42062)

MGSteve 08-08-2002 11:31 AM

Dropdown lists or list boxes for User Profile fields..
 
Hi, I've looked through the hacks and can't seem to find this hack - what I want to do is have 2 required fields where the users have to select their country & state / county and then this would get saved to the user profile fields.

I.e. For Country you would have something like

ID | Country
1 | UK
2 | USA
3 | France

etc...

Then when the user selects "UK" from the list, 1 would get saved to the field. I need the numbers saved rather than the txt because adverts will be shown depending on where they live and its quicker to match on a number than text when doing the query.

If anyone can either make this hack or point me in the right direction, I'd be forever grateful.

Cheers!

Regards


Steve Childs,
www.mg-rover.org

Erwin 08-08-2002 08:06 PM

There's a hack for this already. Search for it again. I've installed it and it works.

MGSteve 08-08-2002 08:42 PM

I've just searched again, still can't find it. Don't suppose you can remember what it was called can you?

MGSteve 08-08-2002 08:45 PM

typical, just found it.

Thanks for the heads up Erwin. If anyone else is interested, you can find it here: https://vborg.vbsupport.ru/showthrea...+profile+field


All times are GMT. The time now is 04:45 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.00924 seconds
  • Memory Usage 1,712KB
  • 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