Isn;tthat already there? Here's my
whosonlinebit template
Code:
<div>
<span><vb:if condition="$show['loggedinuser']">
<a href="{vb:link member, {vb:raw userinfo}}">{vb:raw userinfo.musername}</a>{vb:raw userinfo.hidden}<vb:if condition="$show['buddy']">+</vb:if>
<vb:else />
<vb:if condition="$show['spider']">{vb:raw spidertype}<vb:else />{vb:raw userinfo.musername}</vb:if>
</vb:if></span>»
<span>
{vb:raw userinfo.action}
<vb:if condition="$show['where']">
{vb:raw userinfo.where}
</vb:if>
</span> »
<vb:if condition="$show['ip']">
<span>
{vb:raw userinfo.host}
</span>
</vb:if>
</div>