Tarih: 2006-07-09, 16:10:40 Mesaj konusu: FlashChat'de Theme Yönetimi
Arkadaslar benim kendi belirlediğim temayı ve şeffaflığı tüm kullanıcılar için geçerli yapmak istiyorum ama olmuyor.... yardımcı olursanız sevinirim...
Kayıt: Nov 18, 2005 Mesajlar: 943 Konum: Trabzon/izmir 61-35
Tarih: 2006-07-09, 22:09:55 Mesaj konusu:
chat dosyasının ismini degiştir yeni üyeler görür fakat eski üyeler görmesz görmeleri için chat dosyasının ismini degiştir ve mocintosh yazan yeri degişitir mesela metallic yap ve images klasoruna metallicc isminde bir jpeg dosyası at chatin boyutuna uygun bir resim koy ondan sonra chat dosyasının ismini degiş
ben daha onceden macintosh un yerine bir jpg attıydım fakat yerini almadı... zaten sitede toplam 5 üye var daha acmadım sitemi de simdi machintosh yazan yeri değistirdim
chat/inc/config.php dosyası:
Kod:
<?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.4.2', //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' => true,//set to true to enable error reports
'enableBots' => false, //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'
'mods' => 'addbot,removebot,startbot,killbot', //Moderators Restrictions (which IRC commands are disabled for Moderators)
'modsAdminRestrictions'=> 'bots,uninstall,connections,users', //Moderators Restrictions in admin section (admin.php), like 'bots,uninstall,connections,users'
'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
//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 administrator - stateless CMS mode only
'moderatorPassword' => 'modpass', //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
//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'
),
// for standard users (& customers, if using support mode)
'user' => array(
'male' => array(
'mainchat' => array(
'default_value' => 'smi_male', // a smilie code
'default_state' => false, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
'room' => array(
'default_value' => 'smi_male', // a smilie code
'default_state' => true, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
),
'female' => array(
'mainchat' => array(
'default_value' => 'smi_female', // a smilie code
'default_state' => false, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
'room' => array(
'default_value' => 'smi_female', // a smilie code
'default_state' => true, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
),
),
// for administrators
'admin' => array(
'male' => array(
'mainchat' => array(
'default_value' => 'smi_admin', // a smilie code
'default_state' => false, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
'room' => array(
'default_value' => 'smi_admin', // a smilie code
'default_state' => true, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
),
'female' => array(
'mainchat' => array(
'default_value' => 'smi_admin', // a smilie code
'default_state' => false, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
'room' => array(
'default_value' => 'smi_admin', // a smilie code
'default_state' => true, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
),
),
// for moderators
'moderator' => array(
'male' => array(
'mainchat' => array(
'default_value' => 'smi_moderator', // a smilie code
'default_state' => false, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
'room' => array(
'default_value' => 'smi_moderator', // a smilie code
'default_state' => true, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
),
'female' => array(
'mainchat' => array(
'default_value' => 'smi_moderator', // a smilie code
'default_state' => false, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
'room' => array(
'default_value' => 'smi_moderator', // a smilie code
'default_state' => true, // true = checked/on by default
'allow_override' => true, // if false, cannot be changed (combo box is disabled)
),
),
),
),
//Message processing
'msgRequestInterval' => 3, //chat refresh time, seconds
'msgRequestIntervalAway' => 15, //chat refresh time in away state, seconds
//NOTE: it should not be bigger than a half of autologoutAfter
//otherwise your users risk being disconnected in away mode
'msgRemoveAfter' => 24*3600, //messages removed after this time, seconds
//Connection processing
'autologoutAfter' => 60, //time of pooling inactivity after which user is considered logged off, seconds
'autocloseAfter' => 3600,//time of pooling inactivity after which connection is removed from database, seconds
'helpUrl' => 'http://tufat.com/docs/flashchat/index.html', //you can use also help.php
//Ban processing
'autounbanAfter' => 36000, //time after user is un-banned, seconds
//Language options
'languages' => array(), //do not change this
'defaultLanguage' => 'en', //two-letter code of the default language (see below)
'allowLanguage' => true, //allow user to choose another language
'base' => '',
//Chat server options
'ChatOwner' => array(
1, // replace with your own values for user names
//2, // look in users table for these values
//3, // add extra lines if required, delete if you need less than 3 users in table
),
'commands' => array(
'showIP' => true, // show user IP and host at /who if set to true
'userPM' => true, // set to true to output list of user commands to a PM window, false to chat window
'adminPM' => true, // set to true to output list of moderator commands to a PM window, false to chat window
'maxRooms' => 8, // max number of Public Rooms
),
//external sound options
'sound_options' => array(
'RingBell' => 'sounds/tin_can.mp3',
'LeaveRoom' => 'sounds/door_shut.mp3',
'OtherUserEnters' => 'sounds/jetsons.mp3',
'ReceiveMessage' => 'sounds/aol_receive_message.mp3',
'SubmitMessage' => 'sounds/aol_send_message.mp3',
'RoomOpenClose' => 'sounds/_default.mp3',
'InitialLogin' => 'sounds/harp_cord.mp3',
'Logout' => 'sounds/high_low_chord.mp3',
'ComboListOpenClose' => 'sounds/mouse_over_6.mp3',
'UserBannedBooted' => 'sounds/chime.mp3',
'InvitationReceived' => 'sounds/three_notes.mp3',
'PrivateMessageReceived' => 'sounds/aol_receive_message.mp3',
'UserMenuMouseOver' => 'sounds/mouse_over_1.mp3',
'PopupWindowOpen' => 'sounds/air_swoosh_2.mp3',
'PopupWindowCloseMin' => 'sounds/mouse_over_2.mp3',
'EnterRoom' => 'sounds/ta_da.mp3',
'PressButton' => 'sounds/activate_button.mp3'
),
//---
//File sharing options
// to disable file sharing, go to /inc/layouts/user.php and set allowFileShare to 'false'
'filesharing' => array(
'allowShareRoom' => false,//moderators can always share with all users in a room - this option is only for non-moderators
'allowShareChat' => false,//moderators can always share with all users in a chat - this option is only for non-moderators
'allowFileExt' => 'zip,rar,jpg,gif,sit,pdf',// allowed file extensions, comma separated (to allow all extensions set to '')
'maxFileSize' => 0.5*1024*1024,//max file size in bytes (2*1024*1024 equals 2 Mb)
'maxFileHoursLife' => 0.5, // time in hours to store the file on the server (file will be deleted after this time)
),
'avatarbgloading' => array(
'allowFileExt' => 'jpg,swf',// allowed file extensions, comma separated (to allow all extensions set to '')
'maxFileSize' => 0.5*1024*1024,//max file size in bytes (2*1024*1024 equals 2 Mb)
'maxFileHoursLife' => 24*31, // time in hours to store the file on the server (file will be deleted after this time)
),
//---
//Logout behavior
'logout' => array(
'close' => false, // if true, then FlashChat window is closed upon logout
'redirect' => false, // redirectURL must be a valid URL
'url' => 'http://www.tufat.com/chat.php', // 'redirect' must be set to true for this to work
'window' => '_blank', // the window to open into. possible values: _blank, _self, _parent, or a named window
),
//---
//module settings (anchored SWF/JPG file)
//banner.swf is a simple Flash banner ad, moduleText.swf is an advanced module with bi-directional communication between FlashChat and the module
'module' => array(
'anchor' => 0,//the anchor point: -1,0,1,2,3 or 4 (0=centered,1-4=corners of space below roomlist) + 5-12 points
//anchor of -1 means that module will occupy a floating window (not anchored with flashchat template)
'path' => '',//set to '' to disable. To see how this works, use 'banner.swf' or 'moduleTest.swf'
'stretch' => false,// if true, anchored SWF is stretched horizontally & vertically to fill all available space
'float_x' => 300, // the default "x" position of the floating window (when anchor = -1)
'float_y' => 200, // the default "y" position of the floating window (when anchor = -1)
'float_w' => 100, // the default width of the floating window (when anchor = -1)
'float_h' => 100, // the default height of the floating window (when anchor = -1)
),
);
burda bir 'defaultTheme' => 'macintosh', diye bir kod var işte oradaki macintosh u değistirdim ama yine aynı bu arada chat dosyasının ismini niçin değistireyim onu anlayamadım?
Kayıt: Nov 18, 2005 Mesajlar: 943 Konum: Trabzon/izmir 61-35
Tarih: 2006-07-09, 22:30:59 Mesaj konusu:
chat dosyasının ismini degişmezsen chate daha önce girenler temanı göremzler o yüzden degişmelisin macibtosh yazan yere metallic yaz ve images klasorune metallic isminde eklemek istedigin resimi ekle
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız