MyBB Community Forums

Full Version: Help with ShowTeam Template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey i'm looking for a way on showteam.php to display if a staff member is offline or online, i know how to show them as away but it seems theres now offline or online column in the users table any help here?

heres wat i have upto now:
<tr>
<if $user['away'] == 1 then>
<td width="1%" class="{$bgcolor}"><table width="130" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="3">
<img id="01" src="images/avatar/aw/aw01.png" width="19" height="123" /></td>
<td colspan="2">
<img id="02" src="images/avatar/aw/aw02.png" width="113" height="12" /></td>
</tr>
<tr>
<td>
<a href="{$user['profilelink']}"><img src="{$user['avatar']}" height="94" width="94" /></a>
</td>
<td rowspan="2">
<img id="04" src="images/avatar/aw/aw03.png" width="19" height="111" /></td>
</tr>
<tr>
<td>
<img id="05" src="images/avatar/aw/aw04.png" width="94" height="17" /></td>
</tr>
</table></if></td>
<td width="60%" class="{$bgcolor}"><a href="{$user['profilelink']}"><strong>{$user['username']}</strong></a><br><img src="{$usergroup['image']}" border="0" /></td>
<td width="10%" class="{$bgcolor}">{$emailcode}</td>
<td width="10%" class="{$bgcolor}">{$pmcode}</td>
</tr>
Yaldaram's link above should work for you. You definitely need to modify a core template as he explained in the guide as the online status isn't available without doing so.
Thanks this will work perfectly Smile