Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 12-03-2006, 04:10 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 12-03-2006, 02:51 PM
wtrk wtrk is offline
 
Join Date: Jun 2005
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by salata View Post
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.
Reply With Quote
  #3  
Old 12-03-2006, 02:55 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Custom profile fields

Then edit the MEMBERINFO template to place it where you want it
Reply With Quote
  #4  
Old 12-04-2006, 01:40 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ntfu2 View Post
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?
Reply With Quote
  #5  
Old 12-05-2006, 06:35 PM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by salata View Post
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
Reply With Quote
  #6  
Old 12-05-2006, 10:33 PM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by salata View Post
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
Reply With Quote
  #7  
Old 12-05-2006, 10:55 PM
Q139 Q139 is offline
 
Join Date: Mar 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by salata View Post
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
Reply With Quote
  #8  
Old 12-06-2006, 02:07 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #9  
Old 12-06-2006, 02:35 AM
dyna88 dyna88 is offline
 
Join Date: Dec 2006
Location: Wisconsin
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to select "Single Selection Menu"...must have been a typo
Reply With Quote
  #10  
Old 12-06-2006, 11:09 AM
salata salata is offline
 
Join Date: Nov 2003
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you dyna88
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04868 seconds
  • Memory Usage 2,246KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete