The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
|||
|
|||
![]()
All user profile fields are automatically available in the postbit template.
You will either need to modify postbit or postbit_legacy depending on what you are using. The variables are available through the following VB variable: {vb:raw post.field22} where 22 would be whatever the field of your choosing is. To write a conditional statement to test for the existence of a field then you would write something along the line of: Code:
<vb:if condition = "$post['field22']"> <span class="profile_description">Favourite Colour: </span> <span class="profile_field">{vb:raw post.field22}</span> </vb:if> VB4 seems to have a predefined style using <dd> and <dt> tags. If you look closely into the postbit_legacy template you will see that descriptions of the profile fields are wrapped in <dd> tags and the actual data is wrapped in <dt> tags. This seems to automatically give you a nice spaced seperation such as for post count, blog count etc. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|