qui peux me traduire tous svp merci est aussi je recherche les fichier en francais
- Code: Tout sélectionner
## EasyMod compliant
##############################################################
## MOD Title: phpBBChatSpot
## MOD Author: icedawg < chatspot@dreamviews.com > (N/A) http://www.dreamviews.com/chatspot
## MOD Description: This will add a live chat window to your forum so that
## registered users can talk to each other. Multiple rooms and
## private messages are supported. Integrated with phpBB and
## uses phpBB's users table, sessions, smilies, and more.
## Tested with multiple browsers.
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 25 Minutes
## Files To Edit: 6
## index.php
## includes/page_header.php
## templates/subSilver/index_body.tpl
## templates/subSilver/overall_header.tpl
## language/lang_english/lang_main.php
## chatspot/chatspot_config.php
##
## Included Files: 21
## chatspot_db_install.php (only required for DB install)
## chatspot/chatspot_front.php
## chatspot/chatspot.css
## chatspot/chatspot.php
## chatspot/chatspot_about.php
## chatspot/chatspot_config.php
## chatspot/chatspot_db.php
## chatspot/chatspot_drop.php
## chatspot/chatspot_functions.php
## chatspot/chatspot_help.php
## chatspot/chatspot_rooms.php
## chatspot/chatspot_title.php
## chatspot/clear_window.php
## chatspot/index.html
## chatspot/javascript.php
## chatspot/message_control.php
## chatspot/message_interpreter.php
## chatspot/message_send.php
## chatspot/room_manager.php
## chatspot/spacer.gif
## chatspot/user_invite.php
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## phpBBChatSpot was built upon ChatBox's foundation, which was created by
## Smartor and Hoang Ngoc Tu, and is maintained by Wooly Spud; their website
## can be found at http://smartor.is-root.com.
##
## phpBBChatSpot has been tested with the latest versions of Internet Explorer,
## Netscape, Opera, and Mozilla Firefox. Users with or without cookies are
## supported, and pop-up blockers are not a problem. Please note, however,
## that so far only MySQL has been tested with phpBBChatSpot.
##
## Please note: if you already have ChatBox installed you need to use
## one of the upgrades in the 'upgrade' directory instead of running this
## installation file.
##
## Please also note that the blocks of text in the FIND statements are not
## complete; they show just enough information so that you can determine what lines
## need to be changed. This was done to be more compatible when using EasyMod with
## different versions of ChatBox and modified language and template files. EasyMod
## will still find the correct lines even in their trimmed form here.
##
## [INSTALLATION PROCEDURE]
##
## (if using EasyMod 0.1.13 (RECOMMENDED) simply perform step #1; if using
## an earlier version of EasyMod perform steps #1 and #3; if doing this
## manually all steps must be followed.)
##
## 1) Modify chatspot_config.php to make any desired changes (the default
## values do not need to be changed though, except for your chat's name).
## 2) Upload all files in the chatspot directory to a sub-directory off of
## your forum's root directory called chatspot.
## e.g. phpBB2/chatspot
## 3) Upload chatspot_db_install.php to your forum's root directory and then
## execute it with your browser (this will create the necessary tables).
## 4) Read below to make the rest of the changes (or use EasyMod).
## 5) You should change all of your languages and themes if you
## use others than English and subSilver.
##
## ADDITIONAL NOTE: read 'phpBBChatSpot_db_accounts.txt'
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
## MOD History:
##
## 2004-09-04
## - installation and upgrade files amended
##
## 2004-08-30 - Version 1.0.0
## - BETA Release
##
##############################################################
#
#-----[ SQL ]---------------------------------------------
#
# PLEASE NOTE: Do not manually execute these SQL statements because they have been written
# in such a way so as to be in accord with EasyMod's SQL-syntax; if you do not have
# EasyMod v0.1.13 then run the phpBBChatSpot_db_install.php file to create the necessary
# tables.
#
CREATE TABLE `chatspot_messages` (
`message_id` int(11) unsigned NOT NULL auto_increment,
`room_id` int(11) NOT NULL default '0',
`username` varchar(25) NOT NULL default '',
`msg` text NOT NULL,
`msg_type` tinyint(1) unsigned NOT NULL default '0',
`timestamp` int(11) unsigned NOT NULL default '0',
`to_user_id` mediumint(8) unsigned NOT NULL default '0',
`from_user_id` mediumint(8) unsigned NOT NULL default '0',
PRIMARY KEY (`message_id`)
) TYPE=MyISAM;
CREATE TABLE `chatspot_rooms` (
`room_id` mediumint(11) NOT NULL auto_increment,
`room_name` varchar(20) NOT NULL default '',
`room_type` tinyint(1) unsigned NOT NULL default '0',
`room_access` mediumint(8) unsigned NOT NULL default '0',
`room_password` varchar(20) default NULL,
`room_creator_id` mediumint(8) unsigned NOT NULL default '0',
PRIMARY KEY (`room_id`)
) TYPE=MyISAM;
INSERT INTO `chatspot_rooms` VALUES ('1', 'Lobby', '1', '0', NULL, '0');
CREATE TABLE `chatspot_sessions` (
`user_id` mediumint(8) unsigned NOT NULL default '0',
`username` varchar(25) NOT NULL default '',
`room_id` mediumint(11) NOT NULL default '0',
`last_active` int(11) NOT NULL default '0',
`last_status` tinyint(1) unsigned NOT NULL default '1'
) TYPE=MyISAM;
#
#-----[ COPY ]--------------------------------------------
#
copy chatspot/chatspot_front.php to chatspot_front.php
copy chatspot/chatspot.css to chatspot/
copy chatspot/chatspot.php to chatspot/
copy chatspot/chatspot_about.php to chatspot/
copy chatspot/chatspot_config.php to chatspot/
copy chatspot/chatspot_db.php to chatspot/
copy chatspot/chatspot_drop.php to chatspot/
copy chatspot/chatspot_functions.php to chatspot/
copy chatspot/chatspot_help.php to chatspot/
copy chatspot/chatspot_rooms.php to chatspot/
copy chatspot/chatspot_title.php to chatspot/
copy chatspot/clear_window.php to chatspot/
copy chatspot/index.html to chatspot/
copy chatspot/javascript.php to chatspot/
copy chatspot/message_control.php to chatspot/
copy chatspot/message_interpreter.php to chatspot/
copy chatspot/message_send.php to chatspot/
copy chatspot/room_manager.php to chatspot/
copy chatspot/spacer.gif to chatspot/
copy chatspot/user_invite.php to chatspot/
#
#-----[ OPEN ]--------------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]----------------------------------------
#
$template->assign_vars(array(
#
#-----[ AFTER, ADD ]----------------------------------
#
// ******************** BEGIN phpBBChatSpot MOD ********************
'S_JOIN_CHAT' => append_sid( "chatspot/chatspot.$phpEx" . "?initialize=1" ),
'CHATSPOT_NAME' => 'Lobby',
// ********************* END phpBBChatSpot MOD ********************
#
#-----[ OPEN ]---------------------------------------------
#
index.php
#
#-----[ FIND ]---------------------------------------------
#
$template->assign_vars(array(
'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
#
#-----[ BEFORE, ADD ]--------------------------------------
#
// ******************** BEGIN phpBBChatSpot MOD ********************
require_once( $phpbb_root_path . 'chatspot_front.' . $phpEx );
// ******************** END phpBBChatSpot MOD ********************
#
#-----[ FIND ]---------------------------------------------
#
'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],
#
#-----[ AFTER, ADD ]--------------------------------------
#
// ******************** BEGIN phpBBChatSpot MOD ********************
'CHATSPOT_IDENTIFICATION' => $lang[ 'ChatSpot_id' ],
'TOTAL_CHATTERS_ONLINE' => sprintf( $lang[ 'How_Many_Chatters' ], $num_users_in_chat ),
'CHATTERS_LIST' => '<b>' . $users_in_chat . '</b>',
'L_CLICK_TO_JOIN_CHAT' => $lang[ 'Click_to_join_chat' ],
//'S_JOIN_CHAT' => append_sid( "chatspot/chatspot.$phpEx" . "?initialize=1" ),
//'CHATSPOT_NAME' => 'Lobby',
'L_LOGIN_TO_JOIN_CHAT' => $lang[ 'Login_to_join_chat' ],
// ******************** END phpBBChatSpot MOD ********************
#
#-----[ OPEN ]---------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]---------------------------------------------
#
// ---------------------
#
#-----[ AFTER, ADD ]---------------------------------------
#
// ******************** BEGIN phpBBChatSpot MOD ********************
$lang['How_Many_Chatters'] = 'There are <b>%d</b> users in chat right now.';
$lang['Click_to_join_chat'] = 'Click to join chat';
$lang['Login_to_join_chat'] = 'Please login to the forum to use chat';
$lang['ChatSpot_id'] = '[ <b>phpBBChatSpot v1.0.0</b> ]';
$lang['Chat_session_expired'] = 'You have been inactive for too long; your session has expired.';
// ******************** END phpBBChatSpot MOD ********************
#
#-----[ OPEN ]--------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]----------------------------------------
#
{L_USERGROUPS}</a>
#
#-----[AFTER, ADD ]--------------------------------------
#
<!-- ChatSpot MOD -->
<!-- BEGIN switch_user_logged_in -->
<a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATSPOT_NAME}','scrollbars=no,resizable=yes,width=640,height=550')" class="mainmenu"><img src="templates/subSilver/images/icon_mini_profile.gif" width="12" height="13" border="0" hspace="3" />Chat</a>
<!-- END switch_user_logged_in -->
<!-- End of ChatSpot MOD -->
#
#-----[ OPEN ]--------------------------------------------
#
templates/subSilver/index_body.tpl
#
#-----[ FIND ]--------------------------------------------
#
<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/
#
#-----[ IN-LINE FIND ]------------------------------------
#
rowspan="2"
#
#-----[ IN-LINE REPLACE WITH ]----------------------------
#
rowspan="3"
#
#-----[ FIND ]---------------------------------------------
#
{LOGGED_IN_USER_LIST}</span></td>
</tr>
#
#-----[ AFTER, ADD ]--------------------------------------
#
<!-- ChatSpot MOD -->
<tr>
<td class="row1" align="left"><span class="gensmall">{CHATSPOT_IDENTIFICATION}<br />{TOTAL_CHATTERS_ONLINE}
<!-- BEGIN switch_user_logged_out -->
[ {L_LOGIN_TO_JOIN_CHAT} ]
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
[ <a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATSPOT_NAME}','scrollbars=no,resizable=yes,width=640,height=550')">{L_CLICK_TO_JOIN_CHAT}</a> ]
<!-- END switch_user_logged_in -->
<br />{CHATTERS_LIST}
</span>
</td>
</tr>
<!-- End of ChatSpot MOD -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM




