♥ Add A Profile Field To The Postbit 3.x


Posted Tuesday, February 12th, 2008 in: Webalicious Lingo

First you need to create a new profile field in:
Admin CP -> User Profile Fields -> Add New User Profile Field

Be sure to note the profile field number as you will need that later on.

Members can enter their info for the new profile field from User CP.

To get the new profile field to show up in your postbit, go to:
Admin CP -> Styles & Templates -> Style Manager -> Postbit Templates -> postbit or postbit_legacy (which ever layout you use) and add this code where you want it to show up in your postbit:

<if condition=”$post['fieldX']“> $post[fieldX] </if>

or use (replacing “Profile field name whatever” to the name or relation to the new profile field)

<if condition=”$post['fieldX']“>Profile field name whatever: $post[fieldX] </if>

Change fieldX to field# -> where # is the profile field number from your:
Admin CP -> User Profile Fields -> User Profile Field Manager