vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Create a dropdown for a custom user field, is this possible? (https://vborg.vbsupport.ru/showthread.php?t=19326)

JoshFink 06-05-2001 02:57 AM

I want to create a custom user field that uses a list from table to populate it. Kind of like when you have multiple stlyes and you go to Edit Options and drop down the style sets.

User Field id = 5
User Field name = Neighborhood

Table in Database : P_Neighborhoods
Columns in Table :

ID - SmallInt(5)
subforum - Char(30)
Title - Char (40)

I want to display the title field but store the subforum field.

Thanks for all the help,

Josh

JoshFink 06-06-2001 04:16 AM

Anyone? :confused:

BradC 06-06-2001 10:57 PM

Josh bud.. if ya don't mind elaborating on it a little more.. so that I might be able to totally grasp what you are needing, I *might* be able to help lol

JoshFink 06-06-2001 11:00 PM

I would like to add an extra user profile field called "Neighborhoods", ok, no problem there.. Done right through the CP.

Now, I want to make the field a drop down in the Registration process and the Edit Profile from the user CP that pulls its info from an a table that I'm going to add to the database.

Kind of works like the "Style" drop down does, where it lets you select the different styles as the default style.

Josh


All times are GMT. The time now is 11:16 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.00977 seconds
  • Memory Usage 1,706KB
  • 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