Jake Bunce
Thu 21st Oct '04, 5:06pm
Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you use)
For the postbit template, find this code and add the red code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td><else /><if condition="$bbuserinfo[showavatars]"><td class="alt2"><img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" /></td></if></if>
Change the image URL appropriately.
for the postbit_legacy template, find this code and add the red code:
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
<else />
<if condition="$bbuserinfo[showavatars]">
<div class="smallfont">
<img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" />
</div>
</if>
</if>
edit: fixed error in postbit code.
For the postbit template, find this code and add the red code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td><else /><if condition="$bbuserinfo[showavatars]"><td class="alt2"><img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" /></td></if></if>
Change the image URL appropriately.
for the postbit_legacy template, find this code and add the red code:
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$avatarurl" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
<else />
<if condition="$bbuserinfo[showavatars]">
<div class="smallfont">
<img src="URL OF BLANK AVATAR" alt="No Avatar" border="0" />
</div>
</if>
</if>
edit: fixed error in postbit code.