diff --git a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
index 9c4b560d5c..c94e23b416 100644
--- a/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
+++ b/e107_plugins/forum/shortcodes/batch/forum_shortcodes.php
@@ -138,11 +138,10 @@ function sc_userinfox()
function sc_userlist()
{
- if(!defined('e_TRACKING_DISABLED'))
+ if(defined('e_TRACKING_DISABLED'))
{
- // String candidate for USERLIST wrapper
- $text = LAN_FORUM_0036.": ";
-
+ return;
+ }
global $listuserson;
$c = 0;
if(is_array($listuserson))
@@ -157,9 +156,6 @@ 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 bd640724a2..cf3125d580 100644
--- a/e107_plugins/forum/templates/forum_template.php
+++ b/e107_plugins/forum/templates/forum_template.php
@@ -34,6 +34,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";
}