hello
nice work but i have a little problem
in the forum under admin in the protocol ther are
a lot of errors
Undefined index: fc_users_online
Datei: /home/wgc/public_html/forum/Themes/helios/BoardIndex.template.php (main sub template - eval?)
Zeile: 440
and
Undefined index: fc_in_chat
Datei: /home/wgc/public_html/forum/Themes/helios/BoardIndex.template.php (main sub template - eval?)
Zeile: 407
the errors are always repeatet
in the code i post you my BoardIndex.template.php from line 400 to line 450.
</td>
<td class="windowbg2" width="100%">';
if ($context['show_who'])
echo '
<a href="', $scripturl, '?action=who">';
echo '
', $context['show_who'] ? '<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'], ', ', $context['num_chat'], ' ', $context['num_chat'] == 1 ? $txt['user'] : $txt['users'], ' ', $txt['fc_in_chat'];
// Handle hidden users and buddies.
if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
{
echo ' (';
// Show the number of buddies online?
if ($context['show_buddies'])
echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];
// How about hidden users?
if (!empty($context['num_users_hidden']))
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];
echo ')';
}
if ($context['show_who'])
echo '</a>';
echo '
<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']);
// --- Begin FlashChat integration ---
// If there's users in the chat
if (!empty($context['users_chat']))
echo '
<br />
', $txt['fc_users_online'], '--><br />', implode(', ', $context['list_users_chat']);
// --- End FlashChat integration ---
echo '
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</span>
<hr /><span class="smalltext">
Most users online today: '.$modSettings['mostOnlineToday'].'
Most users online ever: <b>'.$modSettings['mostOnline'].'</b> ( '.timeformat($modSettings['mostDate']).' )
</span>
i hope you can help me please
thx cya
LyriC