vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   creating a checkbox at registration (https://vborg.vbsupport.ru/showthread.php?t=133083)

salata 12-03-2006 04:10 AM

creating a checkbox at registration
 
how can i create a check box during registration where members can select certain options and have their result place in a profile field and viewable when you click on a members profile. thanks in advance.

wtrk 12-03-2006 02:51 PM

Quote:

Originally Posted by salata (Post 1130500)
how can i create a check box during registration where members can select certain options and have their result place in a profile field and viewable when you click on a members profile. thanks in advance.

im interested in the answer to this too, i was just thinking about this the other day.

Ntfu2 12-03-2006 02:55 PM

Custom profile fields

Then edit the MEMBERINFO template to place it where you want it

salata 12-04-2006 01:40 AM

Quote:

Originally Posted by Ntfu2 (Post 1130855)
Custom profile fields


Then edit the MEMBERINFO template to place it where you want it

so i would select a question like male or female in the profile field, but what exactly do i need (the code) to put into the memeberinfo template?

also would you know how i can make a drop down box which members can select their answer, in case if there were more than two options to select from?

salata 12-05-2006 06:35 PM

Quote:

Originally Posted by salata (Post 1131334)
so i would select a question like male or female in the profile field, but what exactly do i need (the code) to put into the memeberinfo template?

also would you know how i can make a drop down box which members can select their answer, in case if there were more than two options to select from?


bump

Ntfu2 12-05-2006 10:33 PM

Quote:

Originally Posted by salata (Post 1131334)
so i would select a question like male or female in the profile field, but what exactly do i need (the code) to put into the memeberinfo template?

also would you know how i can make a drop down box which members can select their answer, in case if there were more than two options to select from?

when you create the field it recieves a number that you can view from the list of them. for example field5

then you put $member[fieldX] in the MEMBERINFO template where you want it to appear. I;m not 100% sure its $member[fieldX] but thats close. and X is the number of the field.

If its not included in the what you can do with custom profile fields, then i dont have a clue :)

Q139 12-05-2006 10:55 PM

Quote:

Originally Posted by salata (Post 1130500)
how can i create a check box during registration where members can select certain options and have their result place in a profile field and viewable when you click on a members profile. thanks in advance.


You just want something viewable from the user profile??? Eg: Male or Female

AdminCP > User Profile Fields > Add New User Profile Field > Single Selection Menu

Title: I am a
Description: Please select male or female
Options (separate by return):
Male
Female

Set Default: None
Display Order: Up to you
Field Required: Up to you
Field Editable by User : Up to you
Private Field: No (if you want it viewable)
Field Searchable on Members List: Up to you

Display Page: Edit Profile
Show on Members List: Up to you

salata 12-06-2006 02:07 AM

where do you see all that? when i go to add a profile field all i have to fill in are

Title
Max 50

Description
Max 250

Default Value
You may specify a default value that is entered into this field at the time of registration.

Max length of allowed user input

Display Size

Display Order

Field Required Yes No No, but display at registration

Field Editable by User Yes No Only at registration

Private Field Yes No

Field Searchable on Members List Yes No

Show on Members List Yes No

Regular Expression
You may require the input field to match a regular expression (PCRE).

dyna88 12-06-2006 02:35 AM

You need to select "Single Selection Menu"...must have been a typo

salata 12-06-2006 11:09 AM

thank you dyna88


All times are GMT. The time now is 02:30 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.01148 seconds
  • Memory Usage 1,730KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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