The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to hide the option for users to delete their current avatar, but only if they belong to a certain group.
I tried using a if conditional but it didn't seem to work at all. I tried putting this whole part inside the if statement, didn't work Code:
<if condition="is_member_of($bbuserinfo,12)"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[edit_avatar]</td> </tr> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]"> <fieldset class="fieldset"> <legend>$vbphrase[your_current_avatar]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr valign="top"> $currentavatar <td class="smallfont"> <div style="margin-bottom:$stylevar[formspacer]px">$vbphrase[avatars_small_graphics_short]</div> <div style="margin-bottom:$stylevar[formspacer]px"><label for="rb_avatarid_no"><input type="radio" name="avatarid" value="-1" id="rb_avatarid_no" $nouseavatarchecked />$vbphrase[do_not_use_an_avatar]</label></div> </if> <div>$vbphrase[note_have_custom_avatar_delete]</div> </td> </tr> </table> </if> So no way to do this? |
#2
|
|||
|
|||
![]() ![]() |
#3
|
|||
|
|||
![]()
On a quick view i don't see anything wrong with that conditional.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|