From a812d452d4fb29fa703015dfb3b512c81575d32f Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 3 Oct 2014 16:39:21 -0700 Subject: [PATCH] Issue #756 - User Profile addon standard for v2 added. Not yet fully implemented. --- e107_plugins/chatbox_menu/e_user.php | 38 +++++++++++++++++++ .../languages/English/English_global.php | 1 + 2 files changed, 39 insertions(+) create mode 100644 e107_plugins/chatbox_menu/e_user.php diff --git a/e107_plugins/chatbox_menu/e_user.php b/e107_plugins/chatbox_menu/e_user.php new file mode 100644 index 000000000..4764c73c4 --- /dev/null +++ b/e107_plugins/chatbox_menu/e_user.php @@ -0,0 +1,38 @@ +count("chatbox"); + } + e107::setRegistry('total_chatposts', $chatposts); + } + + + $var = array( + 0 => array('label' => LAN_PLUGIN_CHATBOX_MENU_POST, 'text' => $chatposts) + ); + + return $var; + } + +} \ No newline at end of file diff --git a/e107_plugins/chatbox_menu/languages/English/English_global.php b/e107_plugins/chatbox_menu/languages/English/English_global.php index 63c3804f7..648a37cfb 100644 --- a/e107_plugins/chatbox_menu/languages/English/English_global.php +++ b/e107_plugins/chatbox_menu/languages/English/English_global.php @@ -3,6 +3,7 @@ define("LAN_PLUGIN_CHATBOX_MENU_NAME", "Chatbox"); define("LAN_PLUGIN_CHATBOX_MENU_DESCRIPTION", "Chatbox Menu"); +define("LAN_PLUGIN_CHATBOX_MENU_POSTS", "Chatbox Posts"); // Admin Log //FIXME - Global LANS must begin with LAN_PLUGIN_{FOLDER_NAME}_