############################################################## ## MOD Title: ChatBox ## MOD Author: Smartor < smartor_xp@hotmail.com > (Hoang Ngoc Tu) http://smartor.is-root.com ## MOD Description: This will add a LIVE chatbox on your phpBB2 ## Only registered users can chat. Admin can take ## control chatroom by some commands(/KICK username, /CLEAR). Smilies enabled. ## Only tested with phpBB 2.0.x/MySQL ## MOD Version: 1.1.9g ## ## Installation Level: easy ## Installation Time: 10 Minutes ## Files To Edit: 3 ## index.php ## templates/subSilver/index_body.tpl ## language/lang_english/lang_main.php ## ## Included Files: 10 ## chatbox_db_install.php (only required for DB install) ## chatbox_front.php ## chatbox_mod/chatbox.css ## chatbox_mod/chatbox.php ## chatbox_mod/chatbox_config.php ## chatbox_mod/chatbox_drop.php ## chatbox_mod/chatbox_function.php ## chatbox_mod/messenger_list.php ## chatbox_mod/messenger_send.php ## chatbox_mod/messenger_view.php ############################################################## ## This MOD is released under the GPL License. ## Intellectual Property is retained by the MOD Author(s) listed above ############################################################## ## Author Notes: ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ OPEN ]--------------------------------------------- # index.php # #-----[ FIND ]--------------------------------------------- # $template->assign_vars(array( 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), 'NEWEST_USER' => sprintf($lang['Newest_user'], '', $newest_user, ''), # #-----[ BEFORE, ADD ]-------------------------------------- # // ChatBox Mod require_once($phpbb_root_path . 'chatbox_front.php'); # #-----[ FIND ]--------------------------------------------- # 'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'], # #-----[ AFTER, ADD ]-------------------------------------- # // ChatBox Mod 'TOTAL_CHATTERS_ONLINE' => sprintf($lang['How_Many_Chatters'], $howmanychat), 'CHATTERS_LIST' => sprintf($lang['Who_Are_Chatting' ], $chatters), 'L_CLICK_TO_JOIN_CHAT' => $lang['Click_to_join_chat'], 'S_JOIN_CHAT' => append_sid("chatbox_mod/chatbox.$phpEx"), 'CHATBOX_NAME' => $userdata['user_id'] . '_ChatBox', // To make easier to test on my PC 'L_LOGIN_TO_JOIN_CHAT' => $lang['Login_to_join_chat'], # #-----[ OPEN ]--------------------------------------------- # language/lang_english/lang_main.php # #-----[ FIND ]--------------------------------------------- # // // That's all Folks! # #-----[ BEFORE, ADD ]-------------------------------------- # // ChatBox Mod $lang['How_Many_Chatters'] = 'There are %d user(s) on chat now'; $lang['Who_Are_Chatting' ] = '%s'; $lang['Click_to_join_chat'] = 'Click to join chat'; $lang['ChatBox'] = 'ChatBox'; $lang['log_out_chat'] = 'You have successfully logged out from chat on '; $lang['Send'] = 'Send'; $lang['Login_to_join_chat'] = 'Login to join chat'; # #-----[ OPEN ]-------------------------------------------- # templates/subSilver/index_body.tpl # #-----[ FIND ]-------------------------------------------- #

