The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
help with code
I use this code below
Code:
<vb:if condition="is_member_of($post, 17)" > <img src="../images/premium.png"></img> <vb:elseif condition="is_member_of($post, 11)" /> <img src="../images/sponsor.png"></img> <vb:elseif condition="is_member_of($post, 18)" /> <img src="../images/new-member.png"></img> <vb:elseif condition="is_member_of($post, 5)" /> <img src="../images/admin.png"></img> <vb:elseif condition="is_member_of($post, 7)" /> <img src="../images/advisor.png"></img> <vb:elseif condition="is_member_of($post, 23)" /> <img src="../images/VIP.png"></img> <vb:else /> <img src="../images/member.png"></img> </vb:if> <vb:if condition="$bbuserinfo['userid'] == x> x being the members userid but it seems to search userid and if theres a member with this number returns a true value thus displaying the image to everyone rather than to his profile only. any help, pls? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|