From b939ad6b306f58ff53023f3eea79b7bf2a813755 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Thu, 29 Dec 2016 22:11:20 +0000 Subject: [PATCH 1/2] Update online_shortcodes.php --- e107_plugins/online/online_shortcodes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_plugins/online/online_shortcodes.php b/e107_plugins/online/online_shortcodes.php index 5875fa9be..88c940b3a 100644 --- a/e107_plugins/online/online_shortcodes.php +++ b/e107_plugins/online/online_shortcodes.php @@ -146,7 +146,7 @@ class online_shortcodes extends e_shortcode if(varset($parm['type']) == 'avatar') { $this->currentMember = array('oid' => $row['user_id'], 'oname'=> $row['user_name'], 'page' => null, 'pinfo' => null,'oimage' => $row['user_image'] ); - //$ret = e107::getParser()->parseTemplate($this->newestTemplate, TRUE, $this); + $ret = e107::getParser()->parseTemplate($this->newestTemplate, TRUE, $this); } else From 3576704f5f8aff2494904aa20708acfcce277620 Mon Sep 17 00:00:00 2001 From: rica-carv Date: Thu, 29 Dec 2016 22:12:29 +0000 Subject: [PATCH 2/2] Update online_menu_template.php --- e107_plugins/online/templates/online_menu_template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_plugins/online/templates/online_menu_template.php b/e107_plugins/online/templates/online_menu_template.php index 553788975..335c964f0 100644 --- a/e107_plugins/online/templates/online_menu_template.php +++ b/e107_plugins/online/templates/online_menu_template.php @@ -27,7 +27,7 @@ $ONLINE_MENU_TEMPLATE['default']['enabled'] = " {ONLINE_MEMBERS_LIST} {ONLINE_MEMBERS_LIST_EXTENDED} {ONLINE_ONPAGE} - {ONLINE_MEMBER_TOTAL} + {ONLINE_MEMBERS_TOTAL} {ONLINE_MEMBER_NEWEST}
  • {ONLINE_MOST} @@ -69,7 +69,7 @@ $ONLINE_MENU_TEMPLATE['extended']['enabled'] = " {ONLINE_MEMBERS} {ONLINE_MEMBERS_LIST_EXTENDED} {ONLINE_ONPAGE} - {ONLINE_MEMBER_TOTAL} + {ONLINE_MEMBERS_TOTAL} {ONLINE_MEMBER_NEWEST: type=avatar} {ONLINE_MEMBERS_REGISTERED}