Hello, Today i installed SMF with Fantastico. I'm wondering if there's a way i can hide the "Who's online" stat? If there is no way around in hiding the online stat then is it possible that i can tweak the online stat and change the # of users online or somethin?
please adivce!
Edit Features and Options -> Layout and Options -> Enable who's online list (uncheck):
LainaaThis option allows you to turn on or off the ability for users to see who is browsing the forum and what they are doing.
thnx Peter for the reply...I did as you suggested but i can still see how many users are online.....The thing is I don't want my members to see how many users are online....
anyone?
You could remove it entirely from the BoardIndex tempalte (BoardIndex.template.php), by removing this:
// "Users online" - in order of activity.
echo '
<tr>
<td class="catbg" colspan="2">', $txt[158], '</td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=who">
<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" border="0" /></a>
</td>
<td class="windowbg2" width="100%">
<a href="', $scripturl, '?action=who">', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ', $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'], (empty($context['num_users_hidden']) ? '' : ' (' . $context['num_users_hidden'] . ' ' . $txt['hidden'] . ')'), '</a><br />
<span class="smalltext">';
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);
echo '
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</span>
</td>
</tr>';
How do I modify files? (http://www.simplemachines.org/community/index.php?topic=24110.0)
-[Unknown]