Peggy
05-18-2008, 08:20 AM
To create a new profile field -
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!)
Now we're going to add this profile field to the postbit or postbit legacy template (depending on which one you use). For the purposes of this tutorial, we'll use postbit legacy, since that's what I use :)
Still in the Admin CP
go to Styles & Templates
Style Manager > Postbit Templates > postbit_legacy
Decide where you want this new profile field. In this tutorial, we'll place it below the join date. So, find:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
and add below:
<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:
<if condition="$post['fieldX']">
Gender: $post[fieldX]
</if>
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!)
Now we're going to add this profile field to the postbit or postbit legacy template (depending on which one you use). For the purposes of this tutorial, we'll use postbit legacy, since that's what I use :)
Still in the Admin CP
go to Styles & Templates
Style Manager > Postbit Templates > postbit_legacy
Decide where you want this new profile field. In this tutorial, we'll place it below the join date. So, find:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
and add below:
<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:
<if condition="$post['fieldX']">
Gender: $post[fieldX]
</if>
Enjoy!
