Customizing SMF > Mod Requests
[FREE] Staff Online
Alb0:
Ah, I see. I'm using Dream Portal at the moment, and they have that by default.
Try snooping around at Simple Portal to see if you can find a solution. I've got this so far. Hope it helps.
Sgt.Soldier:
--- Quote from: Alb0 on May 30, 2012, 11:39:27 PM ---Ah, I see. I'm using hxxp:www.dream-portal.net [nonactive] at the moment, and they have that by default.
Try snooping around at hxxp:www.simpleportal.net [nonactive] to see if you can find a solution. I've got hxxp:simpleportal.net/index.php?topic=10209.msg53685 [nonactive] so far. Hope it helps.
--- End quote ---
Sadily it didn't but it seems like part of the coding where that portal block for it is would need to be edited to show when only online,any ideas
--- Code: --- echo '
<table
class="sp_fullwidth">';
foreach ($staff_list as $staff)
echo '
<tr>
<td
class="sp_staff sp_center">', !empty($staff['avatar']['href']) ? '
<a href="' . $scripturl . '?action=profile;u=' . $staff['id'] . '"><img src="' .
$staff['avatar']['href'] . '" alt="' . $staff['name'] . '" width="40" /></a>' : '', '
</td>
<td
class="sp_staff_info', $staff_count != ++$count ? ' sp_staff_divider' : '', '">
', sp_embed_image($icons[$staff['type']]), ' ', $staff['link'], '<br />
', $staff['group'], '
</td>
</tr>';
echo '
</table>';
--- End code ---
^ Could someone edit it to show when online only instead of just listing all staff no matter if we're online or offline ._.
Navigation
[0] Message Index
[*] Previous page
Go to full version