The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
|
#12
|
||||
|
||||
anyone?
|
#13
|
||||
|
||||
Quote:
$bbuserinfo == user currently browsering $post == data posted into the postbit tempalte use post |
#14
|
||||
|
||||
As I said, it's stored in bitwise format So doing that wouldn't work anyways.
|
#15
|
||||
|
||||
Quote:
|
#16
|
||||
|
||||
I believe you can use $userinfo; but since it's in the postbit you can probaly use $post; however, I cannot test it.
----------------------------------- Not all custom profile fields work the same way (very confusing). In this case, it's saving the selected data in numerical values. It's much easier this way. let's say you have 5 choices (mulitple selections)... boy = 1 girl = 2 not sure = 4 again, not sure = 8 since, this is mulitple selection you may choose more than one; so, if you select boy/girl your value will now be a 3 and the numbers will change according to the selections you chooose. If you look closely you will see that there is a large combination of possibilities. Now, to display the correct data for boy/girl (3) onto any page ... you will use a conditional such as Code:
<if condition="$userinfo[field15]==3">$vbphrase[boy]$vbphrase[girl]</if> Code:
<if condition="$userinfo[field15]==5">$vbphrase[boy]$vbphrase[not_sure]</if> |
#17
|
||||
|
||||
Quote:
$bbuserinfo is a global that will display the current USERS info, not user for that post |
#18
|
||||
|
||||
sorry, should be $userinfo ... that's what I get for cutting and pasting
|
#19
|
||||
|
||||
Quote:
|
#20
|
||||
|
||||
this is what i used.... and it works.
Code:
<b>Sex:</b> <if condition="$userinfo[field10]==0">maybe</if> <if condition="$userinfo[field10]==1">boy</if> <if condition="$userinfo[field10]==2">girl</if> <if condition="$userinfo[field10]==3">yes, please.</if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|