Quote:
Originally Posted by Jabong82
Thank you for your response. Is there a way that you can tell me how to install on my computer? I already uploaded the FTP files to my server, but there is no instructions how to install. Can you tell me the installation steps please (ie. what I have to access example: mydomain.com/123flashchat/install or something similar? Thank you.
|
Hope these steps below will help you!
Step 1, Install module files to your vbulletin:
File Copy
copy 123flashchat.php to <vbulletin installed directory>/123flashchat.php
copy login_chat.php to <vbulletin installed directory>/login_chat.php
copy images/misc/123flashchat.gif to <vbulletin installed directory>/images/<your template folder>/misc/123flashchat.gif
copy includes/functions_chat.php to <vbulletin installed directory>/includes/functions_chat.php
copy folder chat/ to <vbulletin installed directory>/chat/
Step 2, Configure chat module's running mode:
1). Please choose the running mode according to your needs.
Configuration path: <vbulletin installed directory>/chat/flashchatconf/config.php
Configure the following parameters:
$running_mode
Configuration reference:
$running_mode = 1; (only 1 or 2 or 3)
Step 3, Install the module in the admin panel
1). OPEN: Admin Panel -> Styles & Templates -> Click on: Style Manager -> Edit Templates (in All Style Options);
Expand: "Navigation / Breadcrumb Templates" -> Find: "navbar"(double click);
1. FIND:
---------------------------------------------------------------------------------------------------------------------------------
Code:
{vb:raw template_hook.navtab_end}
----------------------------------------------------------------------------------------------------------------------------------
2. ADD BEFORE:
----------------------------------------------------------------------------------------------------------------------------------
Code:
<!-- 123 flash chat server begin -->
<script type="text/javascript" src="chat/window.php"></script>
<li><a class="navtab" href="http://www.123flashchat.com" onClick="openChat();return false;" onMouseOver="window.status='123flashchat';return true">Chat</a></li>
<!-- 123 flash chat server end -->
----------------------------------------------------------------------------------------------------------------------------------
3. SAVE TEMPLETE
2). Expand: "vBulletin CMS Templates" -> Find: "vbcms_widget_categorynavbu_page"(double click);
1. ADD THE FOLLOWING CODE THE THE LAST:
----------------------------------------------------------------------------------------------------------------------------------
Code:
<!-- 123 flash chat server begin -->
<div class="cms_widget">
<div class="block">
<!-- Widget Header -->
<div class="cms_widget_header">
<h3><img alt="Recent Articles" src="images/cms/widget-article.png" title="123 Flash Chat"> Chat </h3>
</div>
<!-- SEARCH RESULTS DATA -->
<div class="cms_widget_content">
{$show['room_numbers']}<br>
{$show['connection']}<br>
{$show['logon_users']}<br>
{$show['user_list']}<br>
<a onmouseover="window.status="Chat";return true" onclick="openChat();return false;" href="http://www.123flashchat.com/">Click here to start chat</a>
</div>
</div>
</div>
<!-- 123 flash chat server end -->
----------------------------------------------------------------------------------------------------------------------------------
2. SAVE TEMPLETE
3). Expand: "Forum Display Templates" -> Find: "FORUMHOME"(double click);
1. FIND:
---------------------------------------------------------------------------------------------------------------------------------
Code:
{vb:raw template_hook.forumhome_wgo_pos5}
----------------------------------------------------------------------------------------------------------------------------------
2. ADD BEFORE:
----------------------------------------------------------------------------------------------------------------------------------
Code:
<!-- 123 flash chat server begin -->
<div id="wgo_123flashchat" class="wgo_subblock">
<h3><img src="{vb:stylevar imgdir_misc}/123flashchat.gif" />Chat</h3>
<div>
<dl id="icon_legends" class="icon_legends">
<dt><dd>{$show['room_numbers']}</dd></dt>
<dt><dd>{$show['connection']}</dd></dt>
<dt><dd>{$show['logon_users']}</dd></dt>
<dt><dd>{$show['user_list']}</dd></dt>
<dt><dd><a onmouseover="window.status="Chat";return true" onclick="openChat();return false;" href="http://www.123flashchat.com/">Click here to start chat</a></dd></dt>
</dl>
</div>
</div>
<!-- 123 flash chat server end -->
----------------------------------------------------------------------------------------------------------------------------------
3. SAVE TEMPLETE
4). OPEN: <vbulletin installed directory>/includes/class_bootstrap.php;
1. FIND:
---------------------------------------------------------------------------------------------------------------------------------
Code:
$modcpdir = $vbulletin->config['Misc']['modcpdir'];
----------------------------------------------------------------------------------------------------------------------------------
2. ADD BEFORE:
----------------------------------------------------------------------------------------------------------------------------------
Code:
// 123 flash chat server begin
include "functions_chat.php";
// 123 flash chat server end
----------------------------------------------------------------------------------------------------------------------------------
Step 4, Integrate your chat with vbulletin user database
If you choose running mode 1 or mode 2, integration is needed, you may achieve this by following the instructions below.
1). Log in the Admin Panel of your 123FlashChat server
OPEN: System Settings -> Integrate Panel
2). Find: DataBase -> SELECT: URL -> edit
3). Change URL:
http://<vbulletin install directory>/login_chat.php?username=%username%&password=%passw ord%
4). Press OK to save your setting
Actually, these steps are included in the ReadMe file of the Download Package of vBulletin Chat Module.