open includes/page_header.php
find
if (defined('SHOW_ONLINE'))
before, add
// Chat online users]); array_push($chat_online_user_names, $row['userName']); }$db->sql_freeresult($result);
find
// The following assigns all _common_ variables that may be used at any point// in a template.//$template->assign_vars(array(
after, add
'CHAT_LINK' => './chat/index.'. $phpEx, 'CHAT_LABEL' => 'In Chat] '.htmlentities(implode(', ', $chat_online_user_names), ENT_QUOTES, 'ISO-8859-1'), 'CHAT_TITLE' => 'Online: '.htmlentities(implode(', ', $chat_online_user_names), ENT_QUOTES, 'ISO-8859-1'),
open templates/Integra2/overall_header.tpl
find
before, add
<script><function></script>
** for non-qbar link**
**for qbar link**
open/includes/def_qbar.php
find
), ), 'Board Navigation' => array(
before, add
'Chat' => array( 'shortcut' => 'Chat', 'explain' => 'Chat', 'use_value' => true, 'url' => 'chat/index.php" onclick="openChatWindow(this.href); this.blur(); return false;', 'auth_logged' => 1, ),
open templates/Integra2/index_body/tpl
find
replace with
find
<td><span>{L_ONLINE_EXPLAIN}</span></td></tr>
after, add
<tr><td><span>{CHAT_LABEL}</span></td></tr>
open language/lang_english/lang_main.php
find
$lang['Forum'] = 'Forum';
after, add
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie