vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   registration question answer under user name (https://vborg.vbsupport.ru/showthread.php?t=146070)

reformedman 04-30-2007 01:41 AM

registration question answer under user name
 
http://img252.imageshack.us/img252/2...titled2ch4.jpg

I searched in these forum with the tags:
description under user name

but found nothing.

Could someone please help me find how to do something like what I found in this picture on another site?
They ask a question in the registration page, and you are required to answer with the multiple choice.
The question and the answer then appear under the user name everytime you post something.

I really only would like the answer alone but will take the question and answer if no one knows how.

Thanks as always in advance for all vB help.

I am asking on the server side, not the client side. In other words, it is done automatically to each new registrant without the client doing anything but normal registration procedures which is answering the questions.

To reiterate, how do I set one of my registration questions for my visitors to automatically place that particular question and their answer right under their name?

reformedman 05-01-2007 12:00 PM

bump

Princeton 05-01-2007 12:30 PM

it's probably a custom profile field (http://www.vbulletin.com/docs/html/main/profile_add)

when the profile field is created, you can add it to the postbit template via a conditional

reformedman 05-09-2007 08:25 PM

Could you please explain this as a step by step because I am new to vBulletin. I hope you don't mind and sorry to bother you on this.

Thank you for your help.

reformedman 05-11-2007 12:38 AM

bump

kall 05-11-2007 01:33 AM

I'm at work and unable to access my AdminCP right now, so this is from memory:
  • AdminCP - User Profile Field Manager - Create New Profile Field
  • Create the field as you wish, ensuring that 'Display at Registration' is set to Yes, and Private Field is set to No. Make note of the field 'number' that is assigned. Should be in the top of the table as you enter the new field details.
  • In postbit or postbit_legacy, enter the following where you want it to display (where x= the new field number):
    PHP Code:

    <if condition $post[fieldx]>Field Question$post[fieldx]</if> 



All times are GMT. The time now is 12:08 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.01457 seconds
  • Memory Usage 1,721KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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