need quick help with showing image to unregistered users
Hi, I want to have some code in my navbar template that will load an image if someone is unregistered. I am not a coder and tried this:
<if condition="$post['usergroupid'] == 1"><a href="http://www.sitename.org/forums/register.php?"><img src="http://www.sitename.org/unregistered.gif" alt="" border="0" /></a>
</if>
I thought this might load the image for those who are unsubscribed but it doesn't. Can someone tell me what I coded wrong? THANKS!!
|