The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I've got a few simple conditional statements in the postbit that test whether someone is of a usergroup to display awards.
Code:
<if condition="is_member_of($post, 14) OR is_member_of($post, 10) OR is_member_of($post, 13)"> <div class="info"> Recognitions:<br> <if condition="is_member_of($post, 10)"> <img src="images/savvy.gif" title="PF Contributor" align=center border=0> <a href="http://www.physicsforums.com/payments.php"> <span class="smallfont"><acronym title="PF Financial Supporter">PF Contributor</acronym></span> </a> </if> <if condition="is_member_of($post, 14) OR is_member_of($post, 13)"> <if condition="is_member_of($post, 14)"> <img src="images/savvy.gif" title="$vbphrase[science_advisor]" align=center> <span class="smallfont"><acronym title="$vbphrase[science_advisor_explanation]">$vbphrase[science_advisor]</acronym></span> </if> <if condition="is_member_of($post, 13)"> <img src="images/savvy.gif" title="$vbphrase[homework_helper]" align=center> <span class="smallfont"><acronym title="$vbphrase[homework_helper_explanation]">$vbphrase[homework_helper]</acronym></span> </if> </if> </div> </if> To make it even more infuriating I have a few other usergroup conditionals that work fine all the time, but those award ones just won't, maybe because they test a mix of primary and secondary usergroups, but again it all works fine in the old skin. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|