Thank you,
I try it both and keep showing to me the code after <else />, I'm trying it has an administrator and has a register user, however in both I can't see my avatar.
Both of users have avatar...This is the code:
HTML Code:
<div style="float: left; width: 50px; margin: 6px;">
<if condition="$show['member'] AND $show['avatar']">
<a href="member.php?$session[sessionurl]u=$post[userid]">133
<img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" width="48" height="48" border="0" /></a>
<else />
789<img src="$stylevar[imgdir_misc]/defaultavatar.gif" alt="Avatar" width="48" height="48" border="0" />
</if> </div>
This is the older one I was using:
HTML Code:
<if condition="!is_member_of($bbuserinfo, 1, 3)">
<img src="$stylevar[imgdir_misc]/defaultavatar.gif" alt="Avatar" width="48" height="48" border="0" />
<else />
<if condition="$show['avatar']">avatar <a href="member.php?$session[sessionurl]u=$post[userid]"> <img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]
</phrase>
" width="48" height="48" border="0" /></a>
</if>
</if>
(I put numbers o the code to distinguish and if the code is correct)
What I'm doing wrong?
Thank you both!
--------------- Added [DATE]1207684906[/DATE] at [TIME]1207684906[/TIME] ---------------
Hello, I have a update:
HTML Code:
<if condition="!is_member_of($bbuserinfo, 1, 3)">
<a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]"><img src="$prepared[avatarurl]" alt="<phrase 1="$bbuserinfo[username]">$bbuserinfo[username]</phrase>" width="48" height="48" border="0" /></a>
<else />
<img src="$stylevar[imgdir_misc]/defaultavatar.gif" alt="Avatar" width="48" height="48" border="0" />
</if>
It work everything except the image avatar