CYberMaster
Member | Редактировать | Профиль | Сообщение | ICQ | Цитировать | Сообщить модератору 6epcepk Здрасть! ) Чет я совсем запутался. С того сайта, в смысле с официального я скачал дистрибутив подключаемый в виде мода к инвизиону. Там нет инстальников Есть только пара файликов и все ((( Вот тут текст как инсталлировать чат только в нем я никрена не могу понять что к чему ( ############################################################## ## MOD Title: 123 Flash Chat Server Integrated Mod ## MOD Author: 123fcserver < support@123flashchat.com > (Daniel Jiang) http://www.123flashchat.com ## MOD Description: Realtime Chat Mod for users to use 123 Flash chat Server(a java chat server with flash client). ## MOD Version: 4.5.0 (For 123 flash chat server version 4.5 and Invision Power Board 2.0.0(PF 2)) ## ## Installation Level: Intermediate ## Installation Time: 5 Minutes ## Files To Edit: ## skin_cache/cacheid_2/skin_boards.php ## skin_cache/cacheid_2/skin_global.php ## lang/en/lang_global.php ## index.php ## ## Included Files:123flashchat.php ## sources/functions_chat.php ## style_images/1/123flashchat.gif ## ## ############################################################## ## Notes: ## ## IMPORTANT!!!! ## Before you install this mod, please download 123 Flash Chat Server software from ## http://www.123flashchat.com/download.html ## to get the lastest free demo version of 123 flash chat server software ## ## Please read the Readme.txt, there is ## IMPORTANT & NECESSARY installation information ## ## IPB mod for 123 flash chat server demo: http://demo.123flashchat.com/ipb/ ## ## Get support from : http://www.123flashchat.com/support.html ## We provide online form support, email support, online live support, and phone support etc. ## ## Good luck, have a nice day! ## ############################################################## ## MOD History: ## ## v4.5.0 Fourth version release. no bugs, i hope ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # #-----[ COPY ]------------------------------------------ # Before starting the Mod installation, # please make sure you have copied # 2 files:123flashchat.swf,client.xml # and 3 directories : help,lang and skin to the relevant destination # as we mentioned in the readme.txt. # if not,please refer the readme.txt # copy login_chat.php to login_chat.php copy 123flashchat.php to 123flashchat.php copy sources/functions_chat.php to sources/functions_chat.php copy style_images/1/123flashchat.gif to style_images/1/123flashchat.gif copy style_images/1/icon_123flash_chat.gif to style_images/1/icon_123flash_chat.gif # #-----[ OPEN ]------------------------------------------ # sources/functions_chat.php # #-----[ FIND ]------------------------------------------ # $chat_data_path = "C:/Program Files/123FlashChatServer2.1/data/"; # #-----[ REPLACE WITH ]---------------------------------- # # if you installed the 123 flash chat server software in /your_123_flash_chat_server_installed_dir # then you can set the parameter of "chat_data_path" to "/your_123_flash_chat_server_installed_dir/data/" # If your system is unix, # please make sure your php can read and write the /your_123_flash_chat_server_installed_dir/data/online.txt file, # $chat_data_path = "/your_123_flash_chat_server_installed_dir/data/"; # #-----[ OPEN ]------------------------------------------ # skin_cache/cacheid_2/skin_boards.php # #-----[ FIND ]------------------------------------------ # function birthdays($birthusers="",$total="",$birth_lang="") { global $ibforums; # #-----[ AFTER, ADD ]------------------------------------------ # // 123 flash chat server --- begin $var = getchatters(); $listvar = getChatterList(); if ($listvar == "") $listvar=$ibforums->lang['flashchat_listnone']; $chatstr = $ibforums->lang['flashchat_thereare']." <b>".$var['connections']."</b> ".$ibforums->lang['flashchat_connection']."<br>\n"; $chatstr .= $ibforums->lang['flashchat_thereare']." <b>".$var['logon_users']."</b> ".$ibforums->lang['flashchat_users']."<br>\n"; $chatstr .= $ibforums->lang['flashchat_thereare']." <b>".$var['room_numbers']."</b> ".$ibforums->lang['flashchat_roomnumbers']."<br>\n"; $chatstr .= $ibforums->lang['flashchat_liststr']." <b>".$listvar."</b>"; // 123 flash chat server --- end # #-----[ FIND ]------------------------------------------ # <td class='row4' width='95%'><b>$total</b> $birth_lang<br />$birthusers</td> </tr> # #-----[ If Not Found ]-------[ Try This One ]------------ # <td class="row2"><b>$total</b> $birth_lang<br />$birthusers</td> </tr> # #-----[ AFTER, ADD ]------------------------------------------ # <!-- 123 flash chat server integration begin --> <tr> <td class='formsubtitle' colspan='2'>{$ibforums->lang['flashchat_stats']}</td> </tr> <tr> <td class='row1' width='5%' valign='middle'><a href="http://www.123flashchat.com" onclick="openChat();return false;" onmouseover="window.status='{$ibforums->lang['flashchat']}';return true;"><img src="{$ibforums->vars['img_url']}/123flashchat.gif" border="0" alt="" /></td> <td class='row2' width="95%" align='left'>{$chatstr}</td> </tr> <!-- 123 flash chat server integration end --> # #-----[ OPEN ]------------------------------------------ # skin_cache/cacheid_2/skin_global.php # #-----[ FIND ]------------------------------------------ # </script> <script type="text/javascript" src='jscripts/ipb_global.js'></script> # #-----[ AFTER, ADD ]------------------------------------------ # <!-- 123 flash chat server begin --> <script language="Javascript" type="text/javascript"> <!-- function openChat() { window.open('123flashchat.php', '_123flashchat', 'HEIGHT=476,resizable=yes,WIDTH=634');; } //--> </script> <!-- 123 flash chat server end --> # #-----[ FIND ]------------------------------------------ # <a href="{$ibforums->base_url}act=Help">{$ibforums->lang['tb_help']}</a><a href="{$ibforums->base_url}act=Search&f={$ibforums->input['f']}">{$ibforums->lang['tb_search']}</a><a href="{$ibforums->base_url}act=Members">{$ibforums->lang['tb_mlist']}</a><a href="{$ibforums->base_url}act=calendar">{$ibforums->lang['tb_calendar']}</a><!--IBF.CHATLINK--><!--IBF.TSLLINK--> # #-----[ BEFORE, ADD ]------------------------------------------ # <a href="javascript:openChat();">{$ibforums->lang['flashchat']}</a> # #-----[ OPEN ]------------------------------------------ # index.php # #-----[ FIND ]------------------------------------------ # require ROOT_PATH."sources/functions.php"; # #-----[ AFTER, ADD ]------------------------------------------ # require ROOT_PATH."sources/functions_chat.php"; # #-----[ OPEN ]------------------------------------------ # lang/en/lang_global.php # #-----[ FIND ]------------------------------------------ # log_in => "Log In", # #-----[ AFTER, ADD ]------------------------------------------ # // 123 Flash Chat Server Software language begin flashchat => "Chat", flashchat_stats => "Chat Statistics", flashchat_thereare => "There are", flashchat_connection => " user connected to the chat server", flashchat_users => " logon chatters", flashchat_roomnumbers => " Chat rooms", flashchat_liststr => "Chatting users:", flashchat_listnone => "None", // 123 Flash Chat Server Software language end # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM |