The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
Ok, try this. It looks pretty good.
I'm not messing with the if statements right now because my paste arrived Code:
<br /> <table class="alt2" cellpadding="5" cellspacing="0" border="0" width="124" height="82" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="64" width="59" align="right"></td> </tr> </table> <br /> |
#22
|
||||
|
||||
BTW, there was a small problem with my code (extra bit):
Code:
$vbphrase[xs_avatar]</phrase>" border="0" /></a> Code:
</a> Can you make a whole table a hyperlink though? I think you can. |
#23
|
||||
|
||||
Quote:
|
#24
|
||||
|
||||
Quote:
|
#25
|
|||
|
|||
Allan, you need to set the avatar to the far right behind the background, so basically set the background to load after the avatar or set the avatar to load as the background, I don't know, I plan to give it a go once my new server is setup.
|
#26
|
||||
|
||||
What about this? (don't have the background uploaded to my server yet, just putzing around at work w/ limited access to forum)
I basically just tweaked Sky's code and slapped a basic conditional around it. repositioning the background and the avatar are easy w/ this code, just want to make sure it doesn't interfere w/ vB stuff. Code:
<!-- START --> <if condition="$show['avatar']"> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="124" height="82" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="64" width="59" align="right"></td> </tr> </table> </td> </if> <!-- END --> |
#27
|
|||
|
|||
Code:
<!-- START --> <if condition="$show['avatar'] AND $vbulletin->userinfo[usergroupid]=6"> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="124" height="82" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="64" width="59" align="right"></td> </tr> </table> </td> <else /> <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 --> |
#28
|
||||
|
||||
Quote:
Some group one the background while just the admin should have it. looking:
|
#29
|
||||
|
||||
small problem with that code is that someone isn't in that group, it won't go through <if condition="$show['avatar']> by itself.
here's what I was messing with: Code:
<if condition="$show['avatar'] AND $vbulletin->userinfo[usergroupid]=79"> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="124" height="82" align="center"> <tr> <td background="./images/test_badge.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="64" width="59" align="right"></td> </tr> </table> </td> </if> <if condition="$show['avatar'] AND $vbulletin->userinfo[usergroupid]!=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> |
#30
|
|||
|
|||
Code:
<if condition="$show['avatar']"> <if condition="$vbulletin->userinfo[usergroupid]=6"> <td class="alt2"> <table cellpadding="5" cellspacing="0" border="0" width="124" height="82" align="center"> <tr> <td background="$stylevar[imgdir_misc]/badge.png" nowrap="nowrap" no-repeat><img src="$post[avatarurl]" height="64" width="59" align="right"></td> </tr> </table> </td> <else /> <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> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|