The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi Everyone,
If you want to set a profilefield to the conversation userinfo you could do it by the following: look here: http://www.vbulletin.com/forum/blogs...tbit-templates If you want to show it only if the choice or text is like Yes, no or anything else you could do it with the following code: Example for User is not available: I made a radiobutton -profilefield with 2 options no for standard in the first line and yes no yes in the conversation_fields template I change the code to: HTML Code:
please look into next post! Had to edit this Think it is a nice thing to do a lot of stuff with and it hopefully help somebody here... |
#2
|
||||
|
||||
![]()
You have to edit the code to:
HTML Code:
<vb:if condition="!empty($conversation['userid'])"> {vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}} <br /> <vb:if condition="$userInfo['field10'] == 'yes'"><li><span style="color: red;"><label>{vb:phrase field10_title}</label></span></li></vb:if> </vb:if> For more info look here: http://tracker.vbulletin.com/browse/...s:all-tabpanel Thanks to Sebastiano Vassellatti and the developer who helped him! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|