Sub Menu
Links Menu
Online Users

In total there are 316 users online :: 3 registered, 0 hidden and 313 guests

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

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

Flash Chat

Support for IntegraMOD 140

Moderator: Integra Moderator

Flash Chat

PostAuthor: ayasha » Sun May 28, 2006 6:40 am

i was wondering if anyone has every installed Flash Chat on their IM board, or if anyone could help me with this.

i have repeatedly tried to get this working, and it worked for all of 2 days, and then it seems all it does now is load a background for the chat.

i have the following 2 links you can read about Flash Chat with.

http://www.tufat.com/script2.htm

http://www.tufat.com/docs/flashchat/integration.html

thanks in advance

cleo
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: found it » Sun May 28, 2006 8:54 am

Hi

I have installed it for another members integramod site what is the problem you have...

As I believe his is still going well after 6 months....

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

PostAuthor: ayasha » Sun May 28, 2006 6:06 pm

well, when i click on the link in the nav bar at the top, which goes to flashchat.php it either loads like this or blank

[flash=,:d7yeyi52]http://i6.photobucket.com/albums/y248/ayashazoelle/flashchatbk.jpg[/flash:d7yeyi52]

and when i click to go the the flash chat admin, i get this

[flash=,:d7yeyi52]http://i6.photobucket.com/albums/y248/ayashazoelle/flashchatadmin.jpg[/flash:d7yeyi52]
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: found it » Mon May 29, 2006 5:14 am

Hi

Sorry for the late reply, I need to search back on some install notes I made and then I can see what is going on....

I know thereare certain code changes to be done...I had a whole guide I wrote but for the life of me I cannot find it on my comp...

I will be back though....

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

PostAuthor: ayasha » Mon May 29, 2006 5:39 am

thanks Mike i appreciate it <img>
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

PostAuthor: ayasha » Sat Jun 03, 2006 5:03 am

bumping this, does anyone know how i can get this to work?
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 » Sat Jun 03, 2006 8:01 am

I was able to get it working by following the instructions below:
[url=http]FlashChat + IntegraMOD[/url]

The autologin function did not work for me. I am not certain if the code above has address this yet.
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 » Sat Jun 03, 2006 8:28 am

where do i find these files? and do i delete phpBB2cms? and what is defaultUsrExtCMS.php where is that file located? do i replace either of these files with the code that is given?
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

PostAuthor: ayasha » Sat Jun 03, 2006 8:38 am

ok, i found phpBB2cms and defaultuserextcme.php in chat/inc/cmses, now do i delete one of them? do i put the code that is given on those instructions in these files replacing what is there? and what do i actually have to do to my config.php and it that my root/config.php or chat/inc/config.php>
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 » Sat Jun 03, 2006 11:33 am

Do not delete either of these files.

OPEN chat/inc/config.php

FIND
Code: Select all
        //your CMS system

REPLACE next line with]         'CMSsystem' => 'defaultUsrExtCMS',// defaultCMS - default CMS, blank - stateless CMS[/code]
OPEN chat/inc/defaultUsrExtCMS.php

REPLACE entire content with:
Code: Select all
<php>constArr = array(                       'users'       =>'phpbb_users',                       'login'       =>'username',                       'id'          =>'user_id',                       'password'    =>'user_password',                       'roles'       =>'user_id',                       'encode_type' =>'md5',                       'spy_fld'     =>'user_id',                       'spy_value'   =>'100',                       'profile_path'=>'http]} WHERE username=? AND user_password=md5(?) AND user_active<0>constArr['sessions']} WHERE session_id=?");             $this->configStmt = new Statement("SELECT * FROM {$GLOBALS['table_prefix']}config WHERE config_name='cookie_name'");             $this->getUserStmt  = new Statement("SELECT * FROM {$this->constArr['users']} WHERE {$this->constArr['id']}=? LIMIT 1");                         $this->getUsersStmt = new Statement("SELECT * FROM {$this->constArr['users']} ORDER BY {$this->constArr['login']}");             $this->delStmt      = new Statement("DELETE FROM {$this->constArr['users']} WHERE {$this->constArr['login']}=?");                         $encode_type = $this->constArr['encode_type'];                                   switch( $encode_type )             {                 case 'md5' : $this->loginStmt    = new Statement("SELECT * FROM {$this->constArr['users']} WHERE {$this->constArr['login']}=? AND {$this->constArr['password']}=MD5(?) LIMIT 1");                              $this->addUserStmt  = new Statement("INSERT   INTO {$this->constArr['users']} ({$this->constArr['login']}, {$this->constArr['password']}) VALUES(?, MD5(?))");                              break;                 case 'mysql_pass' :                              $this->loginStmt    = new Statement("SELECT * FROM {$this->constArr['users']} WHERE {$this->constArr['login']}=? AND {$this->constArr['password']}=PASSWORD(?) LIMIT 1");                              $this->addUserStmt  = new Statement("INSERT   INTO {$this->constArr['users']} ({$this->constArr['login']}, {$this->constArr['password']}) VALUES(?, PASSWORD(?))");                              break;                 default    : $this->loginStmt    = new Statement("SELECT * FROM {$this->constArr['users']} WHERE {$this->constArr['login']}=? AND {$this->constArr['password']}=? LIMIT 1");                              $this->addUserStmt  = new Statement("INSERT   INTO {$this->constArr['users']} ({$this->constArr['login']}, {$this->constArr['password']}) VALUES(?, ?)");                                break;             }                           }         //-----------------------------------------------------------------------------------------         function isLoggedIn()         {             return $this->userid;         }         //-----------------------------------------------------------------------------------------         function login($login, $password)         {             $this->userid = null;               if($login && $password)             {                 $encode_type = $this->constArr['encode_type'];                 $pass = $password;                 /*                 switch( $encode_type )                 {                     case 'md5' : $pass = md5($password); break;                     default    : $pass = $password; break;                 }*/                                                 //Try to find user using provided login                 if(($rs = $this->loginStmt->process($login,$pass)) && ($rec = $rs->next()))                 {                                       //if($rec[$this->constArr['password']] == $pass)                     $this->userid = $rec[$this->constArr['id']];                 }                 else                 {                     //If not - autocreate user with such login and password                     if($this->autocreateUsers)                     {                         //$roles = ($password == $GLOBALS['fc_config']['adminPassword'])?ROLE_ADMIN:($GLOBALS['fc_config']['liveSupportMode']?ROLE_CUSTOMER:ROLE_USER);                         $ins = $this->addUserStmt->process($login, $pass);                                                 if( $ins != null && $ins == 0 )                         {   //we not know if id field is autoincrement                             $this->userid = login($login, $password);                         }                         elseif($ins != null)                         {                             $this->userid = $ins;                         }                     }                 }             }               return $this->userid;         }         //-----------------------------------------------------------------------------------------         function logout()         {             if($this->constArr['logoff'] == 'true') $this->user = null;         }         //-----------------------------------------------------------------------------------------           function getUser($userid)         {             if($userid)             {                 $rs = $this->getUserStmt->process($userid);                 $usr = $rs->next();                 $usr['login'] = $usr[$this->constArr['login']];//important!                 $usr['roles'] = $usr[$this->constArr['moderator_fld']] == $this->constArr['moderator_value'] ? ROLE_ADMIN : ($usr[$this->constArr['spy_fld']] == $this->constArr['spy_value'] ? ROLE_SPY : ROLE_USER);                                 return $usr;             }             else             {                 return null;             }         }         //-----------------------------------------------------------------------------------------         function getUsers()         {             $users = $this->getUsersStmt->process();             if( is_array($users) )             if( sizeof($users) > 0)             foreach( $users as $k=>$v )             {                 $users['login'] = $users[$this->constArr['login']];//important!                 $users['roles'] = $users[$this->constArr['moderator_fld']] == $this->constArr['moderator_value'] ? ROLE_ADMIN : ($users[$this->constArr['spy_fld']] == $this->constArr['spy_value'] ? ROLE_SPY : ROLE_USER);             }                         return  $users;         }         //-----------------------------------------------------------------------------------------         function getUserProfile($userid)         {             $spy_fld = $this->constArr['spy_fld'];             $spy_val = $this->constArr['spy_value'];                         $user = $this->getUser($userid);                         if( $spy_fld != '' )             {                               if( $user[$spy_fld] == $spy_val ) return null;             }                         extract($user);                         return "{$this->constArr['profile_path']}?mode=viewprofile&u={$user_id}";         }         //-----------------------------------------------------------------------------------------         function userInRole($userid, $role)         {             if($user = $this->getUser($userid))             {                 if($role == ROLE_ADMIN)                 {                     if( $user[$this->constArr['moderator_fld']] == $this->constArr['moderator_value']) return true;                     else return false;                 }                                 if($role == ROLE_SPY)                 {                     if( $user[$this->constArr['spy_fld']] == $this->constArr['spy_value']) return true;                     else return false;                 }                                 if($role == ROLE_USER)                 {                     return true;//???                 }                           }             return false;         }                 function getGender($userid) {             // 'M' for Male, 'F' for Female, NULL for undefined             return NULL;                 }                 function addUser($login, $password, $roles)         {             $user = $this->loginStmt->process($login);             if(($rec = $user->next()) != null) return $rec['id'];                         /*             $encode_type = $this->constArr['encode_type'];             $pass = $password;                             switch( $encode_type )             {                 case 'md5' : $pass = md5($password); break;                 default    : $pass = $password; break;             }               */             return $this->addUserStmt->process($login, $password);                     }                 function deleteUser($login){             $this->delUserStmt->process($login);         }     }         $GLOBALS['fc_config']['cms'] = new DefaultCMS();       //clear 'if moderator' message     foreach($GLOBALS['fc_config']['languages'] as $k => $v)     {         $GLOBALS['fc_config']['languages'][$k]['dialog']['login']['moderator'] = '';     }?>
Be sure to change the line 'profile_path'=>'http://www.dgmaforum.com/profile.php', to match the path of your own IntegraMOD root directry. Save and upload both of these files to the chat/inc directory. You will need to login utilizing the chat/index.php method. The autologin does not work, but FlashChat will recognize all IntegraMOD members and even link back to profiles, etc. You can copy this file and modify the look to match your site, as I have.
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 » Sat Jun 03, 2006 1:19 pm

thanks, got it to working, and the auto login does not work for me either. but if you go to chat/index.php and click on the auto login from there, it works.

and i cannot log in as admin, when i go to FlashChat Admin Panel i get

Could not grant admin role for this login and password.

any ideas how i can get in there and set up the chat rooms etc?

i found this

http://www.tufat.com/docs/flashchat/admin.html

but i don't see where it tells you what file to edit, or where exactly to put the edit. sorry i am no good at this guys <img>
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

PostAuthor: Dr. Bantham » Sat Jun 03, 2006 4:25 pm

"cleo";p="8357" wrote:thanks, got it to working, and the auto login does not work for me either. but if you go to chat/index.php and click on the auto login from there, it works.
Do you mean that you can login without entering your username and password, or are you referring to the manual entry?
and i cannot log in as admin, when i go to FlashChat Admin Panel i get

Could not grant admin role for this login and password.

any ideas how i can get in there and set up the chat rooms etc?
This password is not necessarily the same as your IM password. It is defined in config.php, somewhere around line 65:
Code: Select all
'adminPassword' => 'adminpass', //allows any user to login as a moderator - stateless CMS mode only
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: found it » Sun Jun 04, 2006 1:49 am

My apologise for not responding to this post...had a few personal things to sort out....

:mrgreen:
Last edited by found it on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http]themes.[/url]
http://www.founditforum.com :: [url=http]Joining people together[/url]

[url=http][img=left]http://www.bbful.com/bbful_banner2.png[/img][/url]
User avatar
found it
Dev Team
Dev Team
 
Posts: 792
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:29 am
Cash on hand: 0.00

PostAuthor: Dr. Bantham » Sun Jun 04, 2006 2:13 am

"Dr. Bantham";p="8365" wrote:This password is not necessarily the same as your IM password. It is defined in config.php, somewhere around line 65.
I am going to retract this statement. I think that password only applied to a stateless CMS. Go ahead and try it to be sure, but it does not work on mine.

  • When you said that autologin worked from index.php, did you mean that you can login without entering your username and password, or are you referring to the manual entry?
  • Are you designated as an IM admin and entering this IM username and password at the FlashChat admin interface?
  • When you log into FlashChat with this username, does an "A" appear next to your name in the online list?
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 04, 2006 5:29 am

on, if you to to .../chat/index.php and am signed into my forum i cannot auto login where indicated and can auto login where indicated

[flash=,:3t0jclti]http://i6.photobucket.com/albums/y248/ayashazoelle/autologin.jpg[/flash:3t0jclti]

now when i login, there is not A beside my name, and i cannot log into the chat admin, but when my other admin logins, there is an A beside her name, and she can get into the chat admin.

i hope all this helps :lol: no worries <img>
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

Next

Return to IntegraMOD 140

Who is online

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

cron