SMF 2.0 RC2
SP 2.3.1
Sorry My English :nervous-happy:
Hey children how to make that the block who online was not in the form of the list and showed names of users through a comma and that after last user of a comma was not
<div class="sp_online_flow">
<ul class="sp_list">';
foreach ($stats['users_online'] as $user)
echo '
<li class="sp_list_indent">', sp_embed_image($user['name'] == 'H' ? 'tux' : 'user'), ' ', $user['hidden'] ? '<em>' . $user['link'] . '</em>' : $user['link'], '</li>';
echo '
</ul>
</div>';
<div class="sp_online_flow">';
$i = 0;
foreach ($stats['users_online'] as $user)
echo '
', $user['hidden'] ? '<em>' . $user['link'] . '</em>' : $user['link'], ++$i != count($stats['users_online']) ? ', ' : '';
echo '
</div>';
Nathaniel,Thanks! :nervous-happy: