📄 config.php
字号:
<?php
//error_reporting(E_ALL ^ E_NOTICE);
$GLOBALS['fc_config'] = array(
'backtimeOnLogin' => 0, //set to non-zero value to force loading previous messages since XXX minutes ago, upon login
'timeOffset' => 0, //sets server time offset (needed only to correct server timezone problem), minutes
'debug' => false, //set to true to run in debug mode
'version' => '4.3.3', //architecture release . feature release . patch release
'enableSocketServer' => false, //set to true to enable socket server - see online PDF docs for more details
'liveSupportMode' => false,//set to true to use chat in "Live Support" mode
'errorReports' => false,//set to true to enable error reports
'enableBots' => true, //set to true to enable Bots
'bot_ip' => '0.0.0.0', //virtual ip of bot
'hideSelfPopup' => false,//set to false to allow self popup menu
'showConfirmation'=> true, //set to true to allow confirmation popup window for admin (moderator)
'labelFormat' => "AVATAR[USER] TIMESTAMP: ", //possible values are any combinations of AVATAR, USER and TIMESTAMP
'timeStampFormat' => 'g:i a', //pattern for PHP date function
'loginsPerIP' => 10, // number of logins allowed per IP address
'disabledIRC' => '',// you can put list of IRC commands to disable here, like 'back,backtime'
'maxMessageSize' => 500, //maximum input text size, # characters
'maxMessageCount' => 100, //maximum number of the messages stored in the chat log
'userListAutoExpand' => false, //if true user list opens all the rooms with users in them
'showLogoutWindow' => true, // if false, then use only the ....src=logout.php method, but do not use the popup method at all
'logoutWindowDisplayTime' => 3, // in seconds
'floodInterval' => 1, // in seconds, the amount of time that must pass before the user posts another message
'inactivityInterval' => 24*60*60, // in seconds, if a user has FlashChat open for 'inactivityInterval' seconds, but they
// do not type anything, then the user should be automatically logged-out of the chat
// Note 60*60 - one hour
'splashWindow' => false, //splash non active chat window when new message is received
//Rooms config
'defaultRoom' => 1, //primary key of room where all users go after login
'autoremoveAfter' => 30, //number of seconds before room is removed
'roomTitleFormat' => 'ROOM_LABEL - USER_COUNT', //format string for room title in userlist
'maxUsersPerRoom' => 50,
'listOrder' => 'MOD_THEN_AZ', // options: AZ, ENTRY, MOD_THEN_AZ, MOD_THEN_ENTRY, STATUS, MOD_STATUS
// AZ = alphabetical order, A to Z
// ENTRY = by order of entry only
// MOD_THEN_AZ = same as AZ, but moderators at top
// MOD_THEN_ENTRY = same as ENTRY, but moderators at top
// STATUS = by order of 'status' (Here / Busy / Away / BRB)
// MOD_STATUS = same as STATUS, but moderators at top
//your CMS system
'CMSsystem' => '',// defaultCMS - default CMS, blank - stateless CMS
//Some systems use UTF-8 encoding for user names. If you are using some CMS systems with non-English character sets, you may need to enable UTF-8 decoding for user names.
'loginUTF8decode' => false,// possible values - true, false
//option
'encryptPass' => 1,//option to encrypt user password for defaultCMS, can be 1 - encrypt and 0 - no encrypt
//motd & welcome message flags
'auto_motd' => 0, // 1 for on, 0 for off (on means it is displayed upon chat entry)
'auto_topic' => 0, // 1 for on, 0 for off (on means it is displayed upon room entry)
// Roles config
'adminPassword' => 'adminpass', //allows any user to login as a moderator - stateless CMS mode only
'spyPassword' => 'spypass', //allows any user to login as a spy - stateless CMS mode only
'layouts' => array(), // do not change this
//Sound config
'sound' => array(
'pan' => 0, // range from -100 to 100 (left ... right)
'volume' => 75, // default sound volume, in percent
'muteAll' => false, // true = checked by default, false = unchecked
'muteSubmitMessage' => false,
'muteReceiveMessage' => false,
'muteOtherUserEnters' => false,
'muteLeaveRoom' => false,
'muteRoomOpenClose' => false,
'muteInitialLogin' => false,
'muteLogout' => false,
'muteComboListOpenClose' => false,
'muteUserBannedBooted' => true,
'muteInvitationReceived' => false,
'mutePrivateMessageReceived' => false,
'muteUserMenuMouseOver' => false,
'mutePopupWindowOpen' => false,
'mutePopupWindowCloseMin' => false,
'muteEnterRoom' => true,
'mutePressButton' => true
),
//Themes config
'themes' => array(),
'defaultTheme' => 'macintosh',
//Skins config (available skins in /inc/skins; example: 'defaultSkin' => <swf_name>)
'skin' => array(),
'defaultSkin' => 'aqua_skin',
//Text config
'text' => array(
//defaults (presence : is that option visible or hiden)
'itemToChange' => array(
'myTextColor' => false,
'mainChat' => array( 'presence' => true, 'fontSize' => 13, 'fontFamily' => 'Arial'),
'interfaceElements' => array( 'presence' => true, 'fontSize' => 13, 'fontFamily' => 'Arial'),
'title' => array( 'presence' => true, 'fontSize' => 13, 'fontFamily' => 'Arial')
),
//posible values (to add new value just type something like this : 'itm10' => 25)
'fontSize' => array(
'itm0' => 8,
'itm1' => 9,
'itm2' => 10,
'itm3' => 11,
'itm4' => 12,
'itm5' => 13,
'itm6' => 14,
'itm7' => 16,
'itm8' => 18,
'itm9' => 20
),
'fontFamily' => array(
'itm0' => 'Arial',
'itm1' => 'Times',
'itm2' => 'Courier',
'itm3' => 'Verdana',
'itm4' => 'Georgia'
),
),
//Preloader config
'preloader' => array(
'text' => array(
'settings' => 'Loading settings...',
'smilies' => 'Loading smiles....',
'mainchat' => 'Loading main chat window...',
'starting' => 'Starting chat system...',
'okText' => 'OK'
),
'fontFamily' => 'Verdana',
'fontSize' => '11',
'fontColor' => 0x000000,
'BGColor' => 0xFFFFFF,
'barColor' => 0x000000
),
//Language config. For some languages like Japanese or Chinese.
//This option allows ctrl+enter vs enter and always enables the send button.
'special_language' => array(
'itm0' => 'jp',
'itm1' => 'cn'
),
//Smile settings
//To disable any smilie, comment or delete the appropriate line.
'smiles' => array(
'smi_smile' => ':) :-)',
'smi_sad' => ':( :-(',
'smi_wink' => ';) ;-)',
'smi_laugh' => ':D :-D',
'smi_red' => ':red:',
'smi_tongue' => ':p :-p',
'smi_ask' => ':? :-?',
'smi_awe' => ':awe:',
'smi_baby' => ':baby:',
'smi_cool' => '8) 8-)',
'smi_evil' => ':evil:',
//'smi_finger' => ':finger:',
'smi_grin' => ':grin:',
'smi_heart' => ':heart:',
'smi_kiss' => ':kiss:',
'smi_newline' => ':break:',
'smi_ninja' => ':ninja:',
'smi_roll' => ':roll:',
'smi_roll_eyes' => ':rolleyes:',
'smi_slash' => ':! :-!',
'smi_sleep' => ':zzz:',
'smi_weird' => ':weird:',
'smi_whistle' => ':whistle:',
'smi_wonder' => '8s',
//addon 1
'smi_call' => ':call:',
'smi_cash' => ':cash:',
'smi_shock' => ':shock:',
'smi_check' => ':check:',
//addon 2
'smi_ball' => ':ball:',
'smi_clap' => ':clap:',
'smi_cry' => ':cry:',
'smi_luck' => ':luck:',
'smi_nono' => ':nono:',
'smi_punch' => ':Punch:',
'smi_skull' => ':skull:',
'smi_yeah' => ':yeah:',
'smi_yinyang' => ':69:',
//addon 3
'smi_earth' => ':earth:',
'smi_huh' => ':huh:',
'smi_hypno' => ':hypno:',
'smi_java' => ':java:',
'smi_no' => ':no:',
'smi_rain' => ':rain:',
'smi_rose' => ':rose:',
'smi_usa' => ':usa:',
//addon 4
'smi_big_grin' => ':biggrin:',
'smi_faint' => ':faint:',
'smi_ill_content' => ':mean:',
'smi_meow' => ':cat:',
'smi_thumbs_down' => ':down:',
'smi_thumbs_up' => ':up:',
'smi_woof' => ':dog:',
'smi_beer' => ':beer:',
'smi_music' => ':music:',
'smi_reading' => ':read:',
'smi_word_bubble' => ':speak:',
'smi_female' => ':female:',
'smi_female2' => ':ms:',
'smi_male' => ':male:',
'smi_male2' => ':mr:',
'smi_admin' => ':admin:',
'smi_moderator' => ':mod:',
'smi_basketball' => ':bball:',
'smi_bowling' => ':bowl:',
'smi_cricket' => ':cricket:',
'smi_football' => ':fball:',
'smi_golf' => ':golf:',
'smi_hockey' => ':hockey:',
'smi_sailing' => ':sail:',
'smi_soccer' => ':soccer:',
'smi_tennis' => ':tennis:',
'smi_AustraliaFlag' => ':au:',
'smi_Brazil' => ':br:',
'smi_CanadaFlag' => ':ca:',
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -