The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Puttin a registration field in the postbit legacy
ive create a new field on registration
how would i make it appear in the postbit? anyone? |
#2
|
|||
|
|||
In the postbit(_legacy) template, add: $post[fieldX] - replace X with the field number...
|
#3
|
|||
|
|||
hmmm this didnt work?
im new to this so could you break it down a lil more please....surely that isnt all the html i need? |
#4
|
|||
|
|||
that's all you need and that's as simple as it gets, are you sure the user who posted the post you were looking at filled out the field?
|
#5
|
|||
|
|||
so i littrelly put $post[field5] in the posbit template anywhere...nothing else?
done it cheers mate any way i can make this a diff colour? |
#6
|
|||
|
|||
What about checkboxes?
|
#7
|
|||
|
|||
Then you need to put a lump of conditionals in your template or make a plugin with the conditionals in (what I would go for) and then stick some text in the plugin... Checkboxes are complicated;
if C1 is ticked: var = 1 if C2 is ticked: var = 2 if C3 is ticked: var = 4 if C4 is ticked: var = 8 if C1 and C3 are ticked: var = 5 which is why you need a lot of conditionals... |
#8
|
||||
|
||||
you guys are forgetting you need to create a new vb phrase so that a title appears next to the field
this is what mine looks like Code:
<if condition="$post['field#']"><div>$vbphrase[phrase_name_here]: $post[field#]</div></if> |
#9
|
|||
|
|||
Quote:
C1 is ticked - display Text1 C2 is ticked - display Text2 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|