The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Making a registration profile field show up on posts?
I have made a custom question at the registration by creating a new Custom Profile Field. I am trying to make it so that the User's answer to the question shows up in their posts. How do i do this?
|
#2
|
||||
|
||||
In the postbit (or postbit_legacy, depending on which you use), you need to add something like below where you want it (or you could just search for "$vbphrase[posts]" to find where the post count is displayed). Replace "X" with the field number (can be found in the Profile Fields Manager.
Code:
Field Name: $post[fieldX] |
#3
|
||||
|
||||
it is still not showing up- this is what i posted
Code:
<if condition="$post['fieldX']"> $post[fieldX] </if> |
#4
|
||||
|
||||
Quote:
|
#5
|
||||
|
||||
yes i have
|
#6
|
||||
|
||||
Where are you putting it?
|
#7
|
||||
|
||||
Where should i put the code so that my custom profile field shows up right above the
post count? |
#8
|
|||
|
|||
Above the post count code.
|
#9
|
||||
|
||||
I tried this and it still didnt work!
Here is what i put: <if condition="$post['fieldX5']"> $post[field5] </if> |
#10
|
||||
|
||||
Make sure that the field IS in fact field 5, feel it in.
your code also has an error here: <if condition="$post['fieldX5']"> $post[field5] </if> Change it to this: <if condition="$post['field5']"> $post[field5] </if> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|