The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help in profile field input
Im trying to add user profile field (id: 1 - input) in a users post. Is there a way to do this?
Thank you for any help! Shawn |
#2
|
||||
|
||||
ok here it goes:
Go to: { > admincp > Styles & Templates > Style Manager > MASTER STYLE or pick that style you want the field to show up on.. > edit Templates find: > Postbit Templates Enter: > postbit_legacy Find: > Code:
$vbphrase[age]: $post[age] > Code:
$vbphrase[fielduser field ID]: $post[fielduser field ID] oo ya add if you want to show it when the user have something in the field just use this code.. Code:
<if condition="$post['fielduser field ID']"><div>$vbphrase[fielduser field ID]: $post[fielduser field ID]</div></if> |
#3
|
|||
|
|||
Ok I add this
<if condition="$post['field1']"><div>$vbphrase[field1]: $post[field1]</div></if> Still nothing showing up. |
#4
|
||||
|
||||
do u have any thing in your field1?
|
#5
|
|||
|
|||
Based on the screencap you posted, it looks like you should edit the template "postbit" instead of "postbit_legacy".
|
#6
|
|||
|
|||
I do have field1. Field1 answer is what kind of car you own.
--------------- Added [DATE]1289413145[/DATE] at [TIME]1289413145[/TIME] --------------- If I edit postbit were would I edit it? |
#7
|
|||
|
|||
It looks like the Casioo Cash and Thanks things are mods, right? So I don't know how to tell you where to add it because I don't have those. Maybe if you look through the template and find something that says "casino" you can add it above or below that.
|
#8
|
|||
|
|||
Thank you! I got it. Found the Casino in Postbit an add this
<if condition="$post['field1']"><div>$vbphrase[field1]: $post[field1]</div></if> An it worked great! Again Thank You! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|