Sub Menu
Links Menu
Online Users

In total there are 303 users online :: 4 registered, 0 hidden and 299 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot] based on users active over the past 60 minutes

Flash Chat

Support for IntegraMOD 140

Moderator: Integra Moderator

Re: Flash Chat

PostAuthor: Dr. Bantham » Sat Jun 10, 2006 1:37 am

No, I did not get it working, but it is the weekend and I can try again. I thought I might try installing FlashChat from scratch, as I have 4.5.6, though I doubt this matters. I can try out the new file as well.
Last edited by Dr. Bantham on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sat Jun 10, 2006 9:10 am

here a new version of phpBB2CMS.php

it works on my board
IntegraMod 140 with flashchat 4.5.7

int his version also guests can chat with a virtual id
note virtual user id's are now someting like Guest98745 when your members id's gets to 10000 you will need to edit:

Code: Select all
 if( $userid >= 90000 )  


and

Code: Select all
 if($userid<90000) {  


change in these codes the 90000 to 900000

and
Code: Select all
              $num = mt_rand(0, 50000);             $userid=90000+$num;  


here replace the 90000and 50000 by 900000 and 500000

now open phpBB2CMS.php and replace entire code by
Code: Select all
 <php>loginStmt = new Statement("SELECT user_id FROM {$GLOBALS['table_prefix']}users WHERE username=? AND user_password=md5(?) AND user_active<>0 LIMIT 1");         $this->loggedinStmt = new Statement("SELECT session_user_id as id FROM {$GLOBALS['table_prefix']}sessions WHERE session_id=?");         $this->configStmt = new Statement("SELECT config_value FROM {$GLOBALS['table_prefix']}config WHERE config_name='cookie_name'");         $this->getUserStmt = new Statement("SELECT user_id as id, username as login, user_level FROM {$GLOBALS['table_prefix']}users WHERE user_id=? AND user_active<>0 LIMIT 1");         $this->getUsersStmt = new Statement("SELECT user_id as id, username as login FROM {$GLOBALS['table_prefix']}users ORDER BY login");         $this->getPhotoStmt = new Statement("SELECT user_avatar FROM {$GLOBALS['table_prefix']}users WHERE user_id=? AND user_active<>0 LIMIT 1");     }       function isLoggedIn() {         $userdata = session_pagestart($GLOBALS['user_ip'], PAGE_FAQ);         init_userprefs($userdata);if( $userdata['user_id'] == -1 )         {             mt_srand((double)microtime() * 1000000);             $num = mt_rand(0, 50000);             $userid=90000+$num;             //return array('id' => $userid, 'login' => 'Guest'+$num, 'roles' => ROLE_CUSTOMER);             $userdata['user_id']=$userid;                             $userdata['user_level']=ROLE_USER;             $userdata['roles']=ROLE_USER;         }         return ($userdata['user_id'] > 0) ? $userdata['user_id'] ], $GLOBALS['user_ip'], PAGE_INDEX, FALSE, FALSE);             return $rec['user_id'];         }           return null;     }       function logout()     {         /*             $userdata = session_pagestart($GLOBALS['user_ip'], PAGE_FAQ);             session_end($userdata['session_id'], $userdata['user_id']);         */     }       function getUser($userid)     {     if( $userid >= 90000 )         {             //mt_srand((double)microtime() * 1000000);             //$num = mt_rand(0, 50000);             //$userid=90000+$num;             $logname='Chatter'.$userid;             return array('id' => $userid, 'login' => $logname, 'roles' => ROLE_USER);         }           if($userid == SPY_USERID) return null;           //fwrite($GLOBALS['fp'], "llada a getuser:".print_r($userid, true)."n");           if($userid && ($rs = $this->getUserStmt->process($userid)) && ($rec = $rs->next())) {             if ($rec['user_level'] >= 1) {                              if ($rec['user_level'] == 1) {                             $rec['roles'] = ROLE_ADMIN;                 $rec['user_level'] = ROLE_ADMIN;                            }else{                             $rec['roles'] = ROLE_MODERATOR;                 $rec['user_level'] = ROLE_MODERATOR;                           }                          }               elseif ($GLOBALS['fc_config']['liveSupportMode']) {                 $rec['roles'] = ROLE_CUSTOMER;                 $rec['user_level'] = ROLE_CUSTOMER;             }             else {                 $rec['roles'] = ROLE_USER;                 $rec['user_level'] = ROLE_USER;             }             //fwrite($GLOBALS['fp'], "rec:".print_r($rec, true)."n");             //$rec['login'] = utf8_encode( $rec['login'] );//umlavta characters fix             return $rec;         } else {             return null;         }     }       function getUsers() {         return  $this->getUsersStmt->process();     }       function getUserProfile($userid) {         if($user = $this->getUser($userid)) {             return (($id = $this->isLoggedIn()) && ($id == $userid))?"../profile.php?mode=editprofile":"../profile.php?mode=viewprofile&u=$userid";         } else {             return null;         }     }         function getPhoto($userid)     {         $rs = $this->getPhotoStmt->process($userid);         if(($rec = $rs->next()) == null) return '';           $fileExt = explode(',', $GLOBALS['fc_config']['photoloading']['allowFileExt']);           $oldFile = './nick_image/' . $userid . '.';         $fs = reset($fileExt);           while($fs) {             if(file_exists($oldFile . $fs)) return $oldFile . $fs;             $fs = next($fileExt);         }           return '../images/avatars/'.$rec['user_avatar'];     }  //   function userInRole($userid, $role) {//       if($user = $this->getUser($userid)) {//           return ($user['roles'] == $role);//       }//       return false;//   }       function userInRole($userid, $role) {         if($userid<90000>getUser($userid)) {             return ($user['roles'] == $role);         }         return false;         }     }       function getGender($userid) {         // 'M' for Male, 'F' for Female, NULL for undefined         return NULL;     }}  $GLOBALS['fc_config']['db'] = array(     'host' => $dbhost,     'user' => (isset($dbuser) ? $dbuser : $dbuname),     'pass' => $dbpasswd,     'base' => $dbname,     'pref' => $table_prefix . "fc_",     );  $GLOBALS['fc_config']['cms'] = new PhpBB2CMS();  //fwrite($GLOBALS['fp'], print_r($GLOBALS['fc_config'], true));  //clear 'if moderator' messageforeach($GLOBALS['fc_config']['languages'] as $k => $v) {         $GLOBALS['fc_config']['languages'][$k]['dialog']['login']['moderator'] = '';     }?>


if you user another prefix then "yourboardprefix_fc_"
you need to edit
Code: Select all
    'pref' => $table_prefix . "fc_",

to your prefix to make this CMS file work
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Dr. Bantham » Sat Jun 10, 2006 10:03 am

"Skywalker";p="9159" wrote:if you user another prefix then "yourboardprefix_fc_"
you need to edit
Code: Select all
    'pref' => $table_prefix . "fc_",

to your prefix to make this CMS file work
I have not tried this one yet. However, perhaps it is worth pointing out that my flashchat table is based with "flashchat_" and has no prefix otherwise. In other words, it is not "phpbb_flashchat_" or "phpbb_fc". Perhaps this is my problem, or am I misunderstanding the intent of this statement?
Last edited by Dr. Bantham on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sat Jun 10, 2006 10:18 am

"Dr. Bantham";p="9163" wrote:
"Skywalker";p="9159" wrote:if you user another prefix then "yourboardprefix_fc_"
you need to edit
Code: Select all
    'pref' => $table_prefix . "fc_",

to your prefix to make this CMS file work
I have not tried this one yet. However, perhaps it is worth pointing out that my flashchat table is based with "flashchat_" and has no prefix otherwise. In other words, it is not "phpbb_flashchat_" or "phpbb_fc". Perhaps this is my problem, or am I misunderstanding the intent of this statement?


if you installed the flashchat right as integrated with phpbb it should have those prefix... i think you installed it as stand alone or something... you can delete your excisting flashchat db and reupload the install files then just click the integration checkbox and select phpbb "2.1.0 or above" and reinstall you can upload this CMS before you do the new install so it uses the right prefix. you also van change the 'fc_" to "flashchat_" before you reinstall...

as you want te integrate i alwas recomend to install as integration also...
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Dr. Bantham » Sat Jun 10, 2006 10:25 am

That may very well be my problem. My previous installation was integrated via defaultUsrExtCMS which did not involve a phpBB installation, though it did install tables in the same database. I will re-install FlashChat to a new directory using the phpBB installation routine and see if it works. Thanks again.
Last edited by Dr. Bantham on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sat Jun 10, 2006 10:31 am

"Dr. Bantham";p="9165" wrote:That may very well be my problem. My previous installation was integrated via defaultUsrExtCMS which did not involve a phpBB installation, though it did install tables in the same database. I will re-install FlashChat to a new directory using the phpBB installation routine and see if it works. Thanks again.


np glad to help.
note: make sure to delete any spaces before <php> before uploading the CMS
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Dr. Bantham » Sun Jun 11, 2006 4:05 am

I installed the latest version of FlashChat and utilized the phpBB installation option, to no avail. I am still getting a freeze. I have tried both the manual and autostart login methods. Here is a copy of my config.php, which was generated upon installation:
Code: Select all
<php> 0, //set to non-zero value to force loading previous messages since XXX minutes ago, upon login         'backtimeMax'     => 5, //sets the maximum number of minutes the backtime command will serve up, use 0 to have no max.         'backMax'         => 30, //sets the maximum number of lines the back command will serve up, use 0 to have no max.         '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.5.7', //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'         '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           //your CMS system         'CMSsystem' => 'phpBB2CMS',// 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 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           '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' => ':) <s><img><s>',             'smi_sad' => ':( <s><img><s>',             'smi_wink' => ';) <s><img><s>',             'smi_laugh' => ':D <s><img><s>',             'smi_red' => ':red:',             'smi_tongue' => ':p :-p',             'smi_ask' => ':? <s><img><s>',             'smi_awe' => ':awe:',             'smi_baby' => ':baby:',             'smi_cool' => '8) <s8><img><s8>',             '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:',             'smi_China' => ':cn:',             'smi_Spain' => ':es:',             'smi_European_Union' => ':eu:',             'smi_France' => ':fr:',             'smi_Germany' => ':de:',             'smi_Greece' => ':gr:',             'smi_IndianFlag' => ':in:',             'smi_Italy' => ':it:',             'smi_Japan' => ':jp:',             'smi_MexicoFlag' => ':mx:',             'smi_PolandFlag' => ':pl:',             'smi_PortugalFlag' => ':pt:',             'smi_Russia' => ':ru:',             'smi_Sweeden' => ':se:',             'smi_UkraineFlag' => ':ua:',             'smi_UK' => ':uk:',             'smi_US_Map' => ':us:',         ),           //Avatar settings         'avatars' => array(             'mod_only' => 'smi_admin,smi_moderator',               // 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 (1024*1024 equals 1 Mb)             'maxFileHoursLife' => 24*31, // time in hours to store the file on the server (file will be deleted after this time)         ),           'photoloading' => array(             'allowFileExt'     => 'jpg,gif,png,swf',// allowed file extensions, comma separated (to allow all extensions set to '')             'maxFileSize'      => 0.1*1024*1024,//max file size in bytes (1024*1024 equals 1 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' => 'true',// 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' => '200', // the default width of the floating window (when anchor = -1)               'float_h' => '300', // the default height of the floating window (when anchor = -1)          ),            // This 'module' block demonstrates how to load two modules simultaneously          /*         'module' => array(              'anchor'  => '0,-1',//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'    => 'modules/mp3_player/mp3player.swf,modules/mp3_player/mp3player.swf',//set to '' to disable. To see how this works, use 'banner.swf' or 'moduleTest.swf'              'stretch' => 'true,true',// if true, anchored SWF is stretched horizontally & vertically to fill all available space             'float_x' => '300,300', // the default "x" position of the floating window (when anchor = -1)               'float_y' => '200,200', // the default "y" position of the floating window (when anchor = -1)               'float_w' => '300,300', // the default width of the floating window (when anchor = -1)               'float_h' => '300,300', // the default height of the floating window (when anchor = -1)          ),          */ );  if(!$GLOBALS['fc_config_stop']) {     require_once(INC_DIR . 'flashChatTag.php');       require_once(INC_DIR . 'layouts/admin.php');     require_once(INC_DIR . 'layouts/moderator.php');     require_once(INC_DIR . 'layouts/spy.php');     require_once(INC_DIR . 'layouts/user.php');     require_once(INC_DIR . 'layouts/customer.php');       //SKINS: To disable a skin, comment or delete the appropriate line       require_once(INC_DIR . 'skins/default_skin.php');     require_once(INC_DIR . 'skins/xp_skin.php');     require_once(INC_DIR . 'skins/aqua_skin.php');     require_once(INC_DIR . 'skins/gradient_skin.php');       //THEMES: To disable a color theme, comment or delete the appropriate line       require_once(INC_DIR . 'themes/xp.php');     require_once(INC_DIR . 'themes/macintosh.php');     require_once(INC_DIR . 'themes/gradient.php');     require_once(INC_DIR . 'themes/navy.php');     require_once(INC_DIR . 'themes/metallic.php');     require_once(INC_DIR . 'themes/tropical.php');     require_once(INC_DIR . 'themes/aqua.php');     require_once(INC_DIR . 'themes/olive.php');     require_once(INC_DIR . 'themes/pink.php');     require_once(INC_DIR . 'themes/oak.php');     require_once(INC_DIR . 'themes/black.php');       //LANGUAGES: To disable a language, comment or delete the appropriate line     require_once(INC_DIR . 'langs/en.php'); //English     require_once(INC_DIR . 'langs/gm.php');  //German     require_once(INC_DIR . 'langs/si.php'); //Spanish - Informal     require_once(INC_DIR . 'langs/sf.php'); //Spanish - Formal     require_once(INC_DIR . 'langs/du.php'); //Dutch     require_once(INC_DIR . 'langs/it.php'); //Italian     //require_once(INC_DIR . 'langs/sv.php');    //Sweedish     require_once(INC_DIR . 'langs/gr.php');  //Greek     require_once(INC_DIR . 'langs/ru.php'); //Russian     require_once(INC_DIR . 'langs/ua.php'); //Ukrainian     require_once(INC_DIR . 'langs/he.php'); //Hebrew     require_once(INC_DIR . 'langs/ar.php');  //Arabic     require_once(INC_DIR . 'langs/tr.php'); //Turkish     require_once(INC_DIR . 'langs/ro.php'); //Romanian     //require_once(INC_DIR . 'langs/bg.php'); //Bulgarian     require_once(INC_DIR . 'langs/pt.php');  //Portugal Portuguese     require_once(INC_DIR . 'langs/br.php');  //Brazilian Portuguese       require_once(INC_DIR . 'langs/fr.php'); //French     require_once(INC_DIR . 'langs/lt.php');  //Lithuanian     require_once(INC_DIR . 'langs/pl.php'); //Polish     require_once(INC_DIR . 'langs/no.php'); //Norweigan     require_once(INC_DIR . 'langs/da.php'); //Danish     require_once(INC_DIR . 'langs/hu.php'); //Hungarian     require_once(INC_DIR . 'langs/fi.php'); //Finnish     require_once(INC_DIR . 'langs/sk.php'); //Slovak     require_once(INC_DIR . 'langs/cz.php'); //Czech     require_once(INC_DIR . 'langs/hr.php'); //Croatian       require_once(INC_DIR . 'langs/th.php'); //Thai     require_once(INC_DIR . 'langs/jp.php'); //Japanese     require_once(INC_DIR . 'langs/tw.php'); //Chinese (BIG-5)     require_once(INC_DIR . 'langs/cn.php'); //Chinese (GB)     require_once(INC_DIR . 'langs/hi.php'); //Hindi       require_once(INC_DIR . 'langs/kl.php'); //Klingon (fictional language)     require_once(INC_DIR . 'langs/pg.php'); //Pig Latin (fictional language) } ?>
The database prefix is the standard phpbb_fc which was defined upon installation. I have installated to a subdirectory "flashchat" in lieu of "chat", but beyond this everything is vanilla. I am working with a fresh installation at this point, therefore I would imagine that this CMS will not work for other folks either.

I also noticed that your last version of the CMS was not included in your post. Were there any other revisions other than the guest chat function? I do not wish to allow guests to chat.
Last edited by Dr. Bantham on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:25 pm
Cash on hand: 0.00

PostAuthor: ayasha » Sun Jun 11, 2006 4:55 am

i hate to be a pain, but can one of you guys get all this together with the right info, which files to mod for the chat, which files to mod for the block and put it together in an install file for this? i have gotten so totally lost in all these post, and the links that Found It gave, so lost i am at the point of uninstalling flash chat.
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Dr. Bantham » Sun Jun 11, 2006 5:17 am

The solution that Found It referred to is an entirely different installation approach. I had this one working with the exception of automatic login. Skywalker's solution is a different one which I can not get to function on my installation at all. I am anxious to get his approach to function as he appears to have it integrated - including the automatic login. If I recall correctly, you had FlashChat working just as I did - without the login. Correct? I did not write either integration, therefore it would not be appropriate for me to provide installation instructions, especially for the latter since it is not working for me.
Last edited by Dr. Bantham on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sun Jun 11, 2006 8:03 am

"Dr. Bantham";p="9203" wrote:The solution that Found It referred to is an entirely different installation approach. I had this one working with the exception of automatic login. Skywalker's solution is a different one which I can not get to function on my installation at all. I am anxious to get his approach to function as he appears to have it integrated - including the automatic login. If I recall correctly, you had FlashChat working just as I did - without the login. Correct? I did not write either integration, therefore it would not be appropriate for me to provide installation instructions, especially for the latter since it is not working for me.

we have been working with 3 people on the tufat flash chat forums on this cms file and functions 2 of us use phpbb2 i use integra the other a plain version and the 3th person uses ipb iff i'm correct now i've tested on my board and it worked for me with a small edit of the one for plain phpbb2...

so i thought is share it with the rest...

now i have a heavely modded integramod board so maybe its working true all the addons i have...
i don't know but is it working for me
sorry if this don't works for the rest
i will now stop posting here about flashchat en keep al extra option wich i have now for these cms file for myself and the future edits also.
on this moment i also have the addon to create new usergroups for chat moderators and chat admins and only those users in it have moderator or admin rights in the chat.
i would have shared that also here but after this i'm done sticking my time in making it work for the others integramod users also

i have written mods myself that are posted here and does work..
if my version of the integration posted here wassen't working for me i would not have posted it here...

i will not longer put al the other stuff i'm working on on hold to share it with the rest and then get this attitude...
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sun Jun 11, 2006 8:19 am

"Dr. Bantham";p="9199" wrote:I installed the latest version of FlashChat and utilized the phpBB installation option, to no avail. I am still getting a freeze. I have tried both the manual and autostart login methods. Here is a copy of my config.php, which was generated upon installation:
Code: Select all
<php> 0, //set to non-zero value to force loading previous messages since XXX minutes ago, upon login         'backtimeMax'     => 5, //sets the maximum number of minutes the backtime command will serve up, use 0 to have no max.         'backMax'         => 30, //sets the maximum number of lines the back command will serve up, use 0 to have no max.         '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.5.7', //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'         '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           //your CMS system         'CMSsystem' => 'phpBB2CMS',// 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 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           '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' => ':) <s><img><s>',             'smi_sad' => ':( <s><img><s>',             'smi_wink' => ';) <s><img><s>',             'smi_laugh' => ':D <s><img><s>',             'smi_red' => ':red:',             'smi_tongue' => ':p :-p',             'smi_ask' => ':? <s><img><s>',             'smi_awe' => ':awe:',             'smi_baby' => ':baby:',             'smi_cool' => '8) <s8><img><s8>',             '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:',             'smi_China' => ':cn:',             'smi_Spain' => ':es:',             'smi_European_Union' => ':eu:',             'smi_France' => ':fr:',             'smi_Germany' => ':de:',             'smi_Greece' => ':gr:',             'smi_IndianFlag' => ':in:',             'smi_Italy' => ':it:',             'smi_Japan' => ':jp:',             'smi_MexicoFlag' => ':mx:',             'smi_PolandFlag' => ':pl:',             'smi_PortugalFlag' => ':pt:',             'smi_Russia' => ':ru:',             'smi_Sweeden' => ':se:',             'smi_UkraineFlag' => ':ua:',             'smi_UK' => ':uk:',             'smi_US_Map' => ':us:',         ),           //Avatar settings         'avatars' => array(             'mod_only' => 'smi_admin,smi_moderator',               // 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 (1024*1024 equals 1 Mb)             'maxFileHoursLife' => 24*31, // time in hours to store the file on the server (file will be deleted after this time)         ),           'photoloading' => array(             'allowFileExt'     => 'jpg,gif,png,swf',// allowed file extensions, comma separated (to allow all extensions set to '')             'maxFileSize'      => 0.1*1024*1024,//max file size in bytes (1024*1024 equals 1 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' => 'true',// 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' => '200', // the default width of the floating window (when anchor = -1)               'float_h' => '300', // the default height of the floating window (when anchor = -1)          ),            // This 'module' block demonstrates how to load two modules simultaneously          /*         'module' => array(              'anchor'  => '0,-1',//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'    => 'modules/mp3_player/mp3player.swf,modules/mp3_player/mp3player.swf',//set to '' to disable. To see how this works, use 'banner.swf' or 'moduleTest.swf'              'stretch' => 'true,true',// if true, anchored SWF is stretched horizontally & vertically to fill all available space             'float_x' => '300,300', // the default "x" position of the floating window (when anchor = -1)               'float_y' => '200,200', // the default "y" position of the floating window (when anchor = -1)               'float_w' => '300,300', // the default width of the floating window (when anchor = -1)               'float_h' => '300,300', // the default height of the floating window (when anchor = -1)          ),          */ );  if(!$GLOBALS['fc_config_stop']) {     require_once(INC_DIR . 'flashChatTag.php');       require_once(INC_DIR . 'layouts/admin.php');     require_once(INC_DIR . 'layouts/moderator.php');     require_once(INC_DIR . 'layouts/spy.php');     require_once(INC_DIR . 'layouts/user.php');     require_once(INC_DIR . 'layouts/customer.php');       //SKINS: To disable a skin, comment or delete the appropriate line       require_once(INC_DIR . 'skins/default_skin.php');     require_once(INC_DIR . 'skins/xp_skin.php');     require_once(INC_DIR . 'skins/aqua_skin.php');     require_once(INC_DIR . 'skins/gradient_skin.php');       //THEMES: To disable a color theme, comment or delete the appropriate line       require_once(INC_DIR . 'themes/xp.php');     require_once(INC_DIR . 'themes/macintosh.php');     require_once(INC_DIR . 'themes/gradient.php');     require_once(INC_DIR . 'themes/navy.php');     require_once(INC_DIR . 'themes/metallic.php');     require_once(INC_DIR . 'themes/tropical.php');     require_once(INC_DIR . 'themes/aqua.php');     require_once(INC_DIR . 'themes/olive.php');     require_once(INC_DIR . 'themes/pink.php');     require_once(INC_DIR . 'themes/oak.php');     require_once(INC_DIR . 'themes/black.php');       //LANGUAGES: To disable a language, comment or delete the appropriate line     require_once(INC_DIR . 'langs/en.php'); //English     require_once(INC_DIR . 'langs/gm.php');  //German     require_once(INC_DIR . 'langs/si.php'); //Spanish - Informal     require_once(INC_DIR . 'langs/sf.php'); //Spanish - Formal     require_once(INC_DIR . 'langs/du.php'); //Dutch     require_once(INC_DIR . 'langs/it.php'); //Italian     //require_once(INC_DIR . 'langs/sv.php');    //Sweedish     require_once(INC_DIR . 'langs/gr.php');  //Greek     require_once(INC_DIR . 'langs/ru.php'); //Russian     require_once(INC_DIR . 'langs/ua.php'); //Ukrainian     require_once(INC_DIR . 'langs/he.php'); //Hebrew     require_once(INC_DIR . 'langs/ar.php');  //Arabic     require_once(INC_DIR . 'langs/tr.php'); //Turkish     require_once(INC_DIR . 'langs/ro.php'); //Romanian     //require_once(INC_DIR . 'langs/bg.php'); //Bulgarian     require_once(INC_DIR . 'langs/pt.php');  //Portugal Portuguese     require_once(INC_DIR . 'langs/br.php');  //Brazilian Portuguese       require_once(INC_DIR . 'langs/fr.php'); //French     require_once(INC_DIR . 'langs/lt.php');  //Lithuanian     require_once(INC_DIR . 'langs/pl.php'); //Polish     require_once(INC_DIR . 'langs/no.php'); //Norweigan     require_once(INC_DIR . 'langs/da.php'); //Danish     require_once(INC_DIR . 'langs/hu.php'); //Hungarian     require_once(INC_DIR . 'langs/fi.php'); //Finnish     require_once(INC_DIR . 'langs/sk.php'); //Slovak     require_once(INC_DIR . 'langs/cz.php'); //Czech     require_once(INC_DIR . 'langs/hr.php'); //Croatian       require_once(INC_DIR . 'langs/th.php'); //Thai     require_once(INC_DIR . 'langs/jp.php'); //Japanese     require_once(INC_DIR . 'langs/tw.php'); //Chinese (BIG-5)     require_once(INC_DIR . 'langs/cn.php'); //Chinese (GB)     require_once(INC_DIR . 'langs/hi.php'); //Hindi       require_once(INC_DIR . 'langs/kl.php'); //Klingon (fictional language)     require_once(INC_DIR . 'langs/pg.php'); //Pig Latin (fictional language) } ?>
The database prefix is the standard phpbb_fc which was defined upon installation. I have installated to a subdirectory "flashchat" in lieu of "chat", but beyond this everything is vanilla. I am working with a fresh installation at this point, therefore I would imagine that this CMS will not work for other folks either.

I also noticed that your last version of the CMS was not included in your post. Were there any other revisions other than the guest chat function? I do not wish to allow guests to chat.


to quickly answer this question the CMS file was posted by me take a good look and yes the only difference with the previous version was guest logins
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sun Jun 11, 2006 8:33 am

latest contribution about this topic or the im integration of flashchat...

if you would display the users in flashchat but don't want to use iframes? use this mod: http://www.phpbb.de/viewtopic.php?t=66725
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Dr. Bantham » Sun Jun 11, 2006 8:44 am

Skywalker,

I did miss the new CMS file in your post for some reason - sorry about that. I also apologize if I had offended or annoyed you in some manner - that was certainly not my intent. My last post was an attempt to explain to Cleo the process that was unfolding. I can understand your reaction otherwise, and thank you for your efforts in troubleshooting my attempts.

Having said that, has anyone else here managed to integrate Skywalker's FlashChat integration? Any clues as to why my attempts have fallen short?
Last edited by Dr. Bantham on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Dr. Bantham
Integra Member
Integra Member
 
Posts: 152
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 5:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sun Jun 11, 2006 8:52 am

"Dr. Bantham";p="9217" wrote:Skywalker,

I did miss the new CMS file in your post for some reason - sorry about that. I also apologize if I had offended or annoyed you in some manner - that was certainly not my intent. My last post was an attempt to explain to Cleo the process that was unfolding. I can understand your reaction otherwise, and thank you for your efforts in troubleshooting my attempts.

Having said that, has anyone else here managed to integrate Skywalker's FlashChat integration? Any clues as to why my attempts have fallen short?


i don't know either why they dont work with your chat i'm using multiple boards on one set off files and the chat is working on all off them but when the flaschchat loads and then you get the macintosh background and it freeses its 99% certain its a database connection problem iff the chat loads all the chat files are ok if they are wrong or corrupt or there are bugs in it the chat will not load at all....

i'm putting much energie, time, etc in this so please even if its not working don't use that kind of attitude to me i'm just trying to HELP you and the others and wil continu this if i gets some respect for al the time and energie i put in it its summer i can go swimming also or do other stuff then staying behind my laptop finding solutions for you guys...
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

Re: Flash Chat

PostAuthor: Skywalker » Sun Jun 11, 2006 9:01 am

i'm gonna set up a new integramod test board with no extra addons and install flashchat on it like i have it now.
if it works on that one it should work on all the others to...
just make sure you do all the things i posted and make the edits right....
its happens so much that people are complaining this or that dussen't work butt they have installed it wrong
Last edited by Skywalker on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 4:25 pm
Cash on hand: 0.00

PreviousNext

Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot]