diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
index 831bd4f49c..12e7fe58a1 100644
--- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
+++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
@@ -165,10 +165,11 @@ function sc_userinfox()
function sc_userlist()
{
$text = '';
- if(!defined('e_TRACKING_DISABLED'))
+
+ if(defined('e_TRACKING_DISABLED'))
{
- // String candidate for USERLIST wrapper
- $text = LAN_FORUM_0036.": ";
+ return;
+ }
global $listuserson;
$c = 0;
@@ -184,9 +185,7 @@ function sc_userlist()
}
}
- // String candidate for USERLIST wrapper
- $text .= "
".LAN_FORUM_0037." ".LAN_FORUM_0038;
- }
+
return $text;
}
diff --git a/e107_plugins/forum/templates/forum_template.php b/e107_plugins/forum/templates/forum_template.php
index 3a7effdd74..aa415a391a 100644
--- a/e107_plugins/forum/templates/forum_template.php
+++ b/e107_plugins/forum/templates/forum_template.php
@@ -36,6 +36,7 @@
$FORUM_MAIN_END = "\n
\n
\n\n{LAN=FORUM_0009} | \n
\n\n\n\n
\n\n\n
\n\n
\n\n\n
\n
\n
\n\n";
*/
// LEGACY definition with LAN Shortcodes ({INFOTITLE}).....
+$SC_WRAPPER['USERLIST'] = LAN_FORUM_0036.": {---}
".LAN_FORUM_0037." ".LAN_FORUM_0038;
$FORUM_MAIN_END = "\n\n
\n\n{INFOTITLE} | \n
\n\n\n\n
\n\n\n
\n\n
\n\n\n
\n
\n
\n\n";
}