From ea3402f0d0e8a2bb167981fcfd5196609d200ddb Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Sun, 9 Feb 2014 17:52:58 -0500 Subject: [PATCH] Add total online count --- Themes/core/BoardIndex.template.php | 3 +++ Themes/default/BoardIndex.template.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Themes/core/BoardIndex.template.php b/Themes/core/BoardIndex.template.php index 32e64c2..68876c1 100644 --- a/Themes/core/BoardIndex.template.php +++ b/Themes/core/BoardIndex.template.php @@ -392,6 +392,9 @@ function template_info_center() if (!empty($bracketList)) echo ' (' . implode(', ', $bracketList) . ')'; + //xxx Total online + echo ", ".($context['num_guests']+$context['num_users_online'])." Total"; + echo $context['show_who'] ? '' : '', '
'; diff --git a/Themes/default/BoardIndex.template.php b/Themes/default/BoardIndex.template.php index d9b374f..9e86d54 100644 --- a/Themes/default/BoardIndex.template.php +++ b/Themes/default/BoardIndex.template.php @@ -428,6 +428,9 @@ function template_info_center() if (!empty($bracketList)) echo ' (' . implode(', ', $bracketList) . ')'; + //xxx Total online + echo ", ".($context['num_guests']+$context['num_users_online'])." Total"; + echo $context['show_who'] ? '' : '', '

';