Log in

View Full Version : Could someone please help with this code...


daystorm
07-13-2006, 04:18 AM
Hello,

I have edited the welcomeblock code to eliminate everything but the avatar.

This works wonderfully if the user is registered and has an avatar pic, though if they are not, nothing shows up. I am not sure what I did wrong.

Enclosed is the code:
<tr>
<td>
<if condition="$mods['modcol'] == 1">
<if condition="!$show['guest']">
<if condition="$avatarurl">
<img src="$avatarurl" border="0" /></a>
</td>
</if>
</if>
<else />
<if condition="$bbuserinfo['userid']">
<if condition="$mod_options['portal_welcome_avatar']">
<img src="$avatarurl" border="0" />
</if>
</if>
</if>
</tr>

Please Help,
Ella