CrazyCanuck
04-16-2009, 09:47 AM
I am in the midst of skinning a template for someone and have a couple things I need help with
they will both be in the header. Basically I want to display a default avatar if the user does not have one and when user not logged in to display welcome guest and show the default avatar. And when logged in to display welcome username and then you have x messages with there avatar if they have one.
I sort of have the welcome part and messages part sorted.
does anyone know the code to display this info?
--------------- Added 1239884807 at 1239884807 ---------------
found it
<if condition="$show['guest']">
Some Code
</if>
<if condition="$show['member']">
Some Code
</if>
they will both be in the header. Basically I want to display a default avatar if the user does not have one and when user not logged in to display welcome guest and show the default avatar. And when logged in to display welcome username and then you have x messages with there avatar if they have one.
I sort of have the welcome part and messages part sorted.
does anyone know the code to display this info?
--------------- Added 1239884807 at 1239884807 ---------------
found it
<if condition="$show['guest']">
Some Code
</if>
<if condition="$show['member']">
Some Code
</if>