The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Ok, so I went into the postbit and found:
Code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if> Code:
<if condition="$show['avatar']"> <td class="alt2"> <a href="member.php?$session[sessionurl]u=$post[userid]"> <img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /> </a> </td> </if> attempted to replace it with: Code:
<!-- START - TEST FOR AVATAR HACK --> <if condition="$show['avatar'] AND is_member_of({$vbulletin->userinfo}, 79)"> <td class="alt2"> <a href="member.php?$session[sessionurl]u=$post[userid]"> <table border="0" cellpadding="0" cellspacing="0" width="200" height="200"> <tr> <td width="200" background="badge.png" height="200"> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="125"> <tr> <td width="25%"> </td> <td width="50%"><img src="$post[avatarurl]" width="125" height="125" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></td> <td width="25%"> </td> </tr> </table> </td> </tr> </table> $vbphrase[xs_avatar]</phrase>" border="0" /></a> </td> </if> <if condition="$show['avatar'] AND !is_member_of({$vbulletin->userinfo}, 79)"> <td class="alt2"> <a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a> </td> </if> <!-- END - TEST FOR AVATAR HACK --> Code:
The following error occurred when attempting to evaluate this template: Parse error: parse error, expecting `')'' in C:\Inetpub\wwwroot\houseofhelp\v3\includes\adminfunctions_template.php(3537) : eval()'d code on line 44 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. So, what stupid little thing did I pooch? |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|