The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Still trying to get this question answered. I have some check boxes in my profile area... how can I put them into my postbit?
|
|
#2
|
|||
|
|||
|
Can you provide a image of some sort to help us try and see what you are trying to do.
|
|
#3
|
|||
|
|||
|
Thank God someone answered my post!
https://vborg.vbsupport.ru/showthread.php?t=134428 I run a gaming forum. I have some checkboxes in the profile area with different game titles next to them. As of right now there are 6 check boxes. When a user checks a game title, I want an icon to appear in the postbit with that game's icon. See the image I made below for a visual. Thanks and Merry Christmas! |
|
#4
|
|||
|
|||
|
I just noticed that the icons point to the wrong game - but you guys get the point.
|
|
#5
|
|||
|
|||
|
c'mon ... :cross-eyed:
|
|
#6
|
||||
|
||||
|
Try this Adam:
Find out the field[x] from "User Profile Manager" that you have your checkboxes made in. Then use the code below in your postbit_legacy or what have you. Code:
<if condition="$post[fieldx] & 1"> <img src="LINK_TO_IMAGE_HERE" border="0"> </if> <if condition="$post[fieldx] & 2"> <img src="LINK_TO_IMAGE_HERE" border="0"> </if> |
|
#7
|
|||
|
|||
|
That works. I came across this post as well:
http://www.vbulletin.com/forum/showp...0&postcount=11. Just change the field number. Here's an example: Code:
<td><if condition="$post[field6] != '0'">
<if condition="$post['field6']&1"><img src="URL HERE"><br />
</if>
<if condition="$post['field6']&2"><img src="URL HERE"><br />
</if>
<if condition="$post['field6']&4"><img src="URL HERE"><br />
</if>
<if condition="$post['field6']&8"><img src="URL HERE"><br />
</if>
<if condition="$post['field27']&16"><img src="URL HERE"><br />
</if>
<else />
<em>$vbphrase[n_a]</em>
</if></td>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|