The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
What's the proper way to display custom profile fields in postbit templates?
Is this the correct code?:
Code:
<vb:if condition="$post['field11']"><div class="smallfont">Label text: $post[field11]</div></vb:if> Code:
Label text: $post[field11] Code:
Label text: Actual text here |
#2
|
|||
|
|||
I use this and just change the profile field number to yours. Make this a plugin.
Code:
if($post[field11]) $html .= '<dt>Version</dt> <dd>'.$post[field11].'</dd>'; if($post[field12]) $html .= '<dt>Plugin</dt> <dd>'.$post[field12].'</dd>'; $html .='<br /><br />'; $template_hook['postbit_userinfo_right_after_posts'] .= $html; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|