![]() |
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?
|
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] |
it is still not showing up- this is what i posted
Code:
<if condition="$post['fieldX']"> |
Quote:
|
yes i have
|
Where are you putting it?
|
Where should i put the code so that my custom profile field shows up right above the
post count? |
Above the post count code.
|
I tried this and it still didnt work!
Here is what i put: <if condition="$post['fieldX5']"> $post[field5] </if> |
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> |
All times are GMT. The time now is 04:23 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|