Quote:
Originally Posted by EnIgMa1234
<if condition="$userinfo[onlinestatus] == 1">
ONLINE CODE
<else />
OFFLINE CODE
</if>
|
That's exactly what I want to do but it doesn't work.
$userinfo[onlinestatus] returns:
Code:
<img class="inlineimg" src="http://forumname.com/images/statusicon/user_online.gif" alt="okgaz is online now" border="0" />
Rather than
When the user is online.

I want something to just give a "1" or a "0" !