View Single Post
  #32  
Old 03-01-2010, 01:23 AM
topcmm topcmm is offline
 
Join Date: Jul 2009
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jabong82 View Post
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=&quot;Chat&quot;;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=&quot;Chat&quot;;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.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01276 seconds
  • Memory Usage 1,804KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete