Shahrukh Khan
New Member
To create a new profile field -
and add below:
Replace the X with the # of the profile field that I told you to note
Now, you may also want to label that profile field. For example, gender, first name, etc.
if so, change the code as follows:
Enjoy!
- Login to your Admin CP
- Scroll down to User Profile Fields
- Click on Add New User Profile Field
- Fill out all information on the next page. Pay special attention to Field Required (yes or no) and the display page.
- Save (make a note of the # of the profile field, you're going to need it!)
- Still in the Admin CP
- go to Styles & Templates
- Style Manager > Postbit Templates > postbit_legacy
Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
and add below:
Code:
<if condition="$post['fieldX']">
$post[fieldX]
</if>
Replace the X with the # of the profile field that I told you to note
Now, you may also want to label that profile field. For example, gender, first name, etc.
if so, change the code as follows:
Code:
<if condition="$post['field[b]X[/b]']">
[b] Gender:[/b] $post[field[b]X[/b]]
</if>
Enjoy!