FreiChat related discussions

Got any problems? Then this is the best place for all your questions regarding FreiChat

78
0
kalyantudy posted Feb 13 '15 at 10:31 am

Please Address my issue its been two days since i gabe my cpanel details and there are three issues

the back end moderation page is not working fine
its blank
2.the file sharing is not working properly
sometimes the option does not even appear

3.the chat window is not shown at first instance when user logins

4.the chat not working in mobile

I have replied to avinash email please do the needful

244
7
kalyantudy posted Feb 4 '15 at 8:15 am

Please Address my issue its been two days since i gabe my cpanel details and there are three issues

  1. the back end moderation page is not working fine its blank

2.the file sharing is not working properly
sometimes the option does not even appear

3.the chat window is not shown at first instance when user logins

4.the chat not working in mobile

594
26
thaGH05T posted Dec 3 '14 at 1:52 am

Group chat doesn't seem to work. I click on it and all I get is a line to the right of the icon and that's about it. Tried with three logged in users. Also in Firefox there is no icon its a just the word group chat.

recent by thaGH05T  ·  Feb 13 '15 at 12:10 am
156
1
Leif Lynch posted Feb 5 '15 at 1:21 pm

I purchased you platinum freichat about two weeks ago and have not gotten the video chat to work at all...everything else is working properly accept the video chat...i have emailed you all several times with no response about helping me to get it to work...Can someone please help me...The only thing i get is connecting to peer and it never connects.....

169
3

Hi there,

I had a question about the videochat resource usage. Before the upgrade (from 9.6 to 10.0) it was still working (now it is not anymore, I will make a new Topic for that later) and I received an error saying that my website was down due to high resource usage. This was when I had a videochat connection for 2 minutes.

When I checked my resource usage in cPanel, I saw the following:

54bf81fc082fa.jpg

Is this supposed to happen? I saw that the IO(KB/s) was 2048, at its maximum. If there are more users at the same time, will this input/output multiply as well? What is the function of the server, in using peer-to-peer WebRTC?

When I now try to make a video connection, the page shows 'Connecting...'. If I leave this for ten seconds and then close the window (for both users), the resource usage shows the following:

54bf84cd2aaea.jpg

Is the resource usage due to the servers activities in establishing the connection, or also due to the videostream? Also, is it so that the system falls back on a 'classical' video connection (using the server, not peer-to-peer webrtc) when the webrtc connection fails?

Greets,

Jeroen

78
0
kalyantudy posted Jan 22 '15 at 12:01 pm

We have integrated the platinum version of the chat in our website its not loading at first instance when user login and its not showing his friends properly when they come online

The file sharing option and the rtl are not visibile

The file sharing in chat room works for firefox not chrome

The file sharing is not working properly sometimes the icon is show and sometimes its not

In chrome file sharing not works some times while in firefox it works and vice versa

sometimes the files sharing form is blank it does not work in both browsers

The moderation page in the back end is blank

I kindly ask to please check it on our website your self by registering and let me know

www.socioplanet.com

150
1
Beany posted Jan 21 '15 at 7:32 pm

Is there a demo site available where we can test the Freichat video?
currently we have the Corporate version and are thinking of possibly adding video.
However, we would like to test the video quality, features, speed and server load prior to purchasing the upgrade

recent by thaGH05T  ·  Jan 22 '15 at 2:52 am
797
1

Trying to do custom installation on our website and seems documentation is lacking. Looking at http://codologic.com/docs/doku.php?id=wiki:freichat:user-login-integration it seems there's a need to specify the user table BUT I don't want Freichat to access our own database but rather manage its business aside from it.

How can I simply add the chat / chatrooms features and specify the user_id and avatars in code (or via callbacks) rather than give access to our own database?

Is there a way to have some trial time of the platinum version? We'd like to install it and, provided our users enjoy approve of it, we'll be happy to purchase it.

Our website is available in dozens of languages so we could also help you by providing translations to many languages you're missing. Are you handling RTL properly?

Thanks

recent by adesh  ·  Jan 21 '15 at 5:32 pm
233
3

I have the same error. My code is:

//cookie ile giriş
if(!$_SESSION['id'] and ssCookie::Exists($sozlukscripti["enisim"])) {
$cookie = explode("-", ssCookie::Get($sozlukscripti["enisim"]));
$giris = ssDB::getRow("SELECT * FROM user WHERE nick = ? LIMIT 1", array($cookie[0]));

$cooks = explode("-", $giris->cookie);
if(in_array($cookie[1], $cooks)) {


   if($giris->yasak) {
       if($giris->yasak > time())
       $info = _e2("şu zamana kadar yasaklısınız: %s", date("d/m/Y H:i:s", $giris->yasak));
       else
       ssDB::exec("UPDATE user SET yasak='0' WHERE `id`=?", array($giris->id));
   }    
   else {
       $_SESSION['id']=$giris->id;
       $_SESSION['nick']=$giris->nick;
       $_SESSION['email']=$giris->email;
       $_SESSION['yetki']=$giris->yetki;
       $_SESSION['durum']=$giris->durum;    
       $_SESSION['cop']=$giris->cop;
       $_SESSION['duyuru']=$giris->duyuru;
       if($giris->tematik)
       $_SESSION['tematik']=$giris->tematik;    

       ssDB::exec("UPDATE user SET karma=? WHERE `id`=?", array(karmapuan($giris->nick, $sozlukscripti), $giris->id));

       if($giris->tema) {
           $temalar = ssDB::get("SELECT * FROM temalar where id = '".$giris->tema."'");
           foreach ($temalar as $tema) {    
               $_SESSION['tema'] = $tema->tema;
               $_SESSION['logo'] = $tema->logo;
               $_SESSION['arkaplan'] = $tema->arkaplan;
               $_SESSION['css'] = $tema->css;
           }
       }
       $_SESSION['songiris'] = time();
   }

}
else
ssCookie::Delete($sozlukscripti["enisim"]);
//cookie ile giriş
}



id;

if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){

      if(is_file("/home/muhalifsozlukcom/public_html/freichat/hardcode.php")){

              require "/home/muhalifsozlukcom/public_html/freichat/hardcode.php";

              $temp_id =  $ses . $uid;

              return md5($temp_id);

      }
      else
      {
              echo "alert('module freichatx says: hardcode.php file not
found!');";
      }

      return 0;
}
}
?>

eror:

smile Could not authenticate user . Please verify your edited copy-paste code and make any required changes

recent by adesh  ·  Jan 21 '15 at 4:54 pm
174
1

Installed v10.0 today on a Joomla + CB CMS.

Selecting Joomla CB went fine and after installing the Joomla plugin, chat started working without any code changes.

I have since noticed in the apache log, the following PHP warning

PHP Warning:  Illegal string offset 'avatar' in doc_root/freichat/server/drivers/JCB.php on line 63

This is running on:

Linux fed21www 3.17.7-300.fc21.x86_64 #1 SMP
Apache 2.4.10 (Fedora)
PHP 5.6.3
MariaDB 10.0.14

I know it's only a warning but on a busy site, that's an error log filling up fast and no I do not want to turn off warnings.

Thanks

recent by admin  ·  Jan 18 '15 at 11:27 am
362
3

I have applied the following code applied to script:
if(!isset($_SESSION['SESS_MEMBER_ID']))
{
$ses = $_SESSION['SESS_MEMBER_ID']; //tell freichat the userid of the current user

setcookie("freichat_user", "LOGGED_IN", time()+3600, "/"); // *do not change -> freichat code
}

I have put my code so but it is giving me the error :( Could not authenticate user . Please verify your edited copy-paste code and make any required changes.

Even if i hard code it to

$ses = 1; //tell freichat the userid of the current user

setcookie("freichat_user", "LOGGED_IN", time()+3600, "/"); // *do not change -> freichat code
}
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){

if(is_file("/home/priva134/public_html/chat/hardcode.php")){

require "/home/priva134/public_html/chat/hardcode.php";

$temp_id = $ses . $uid;

return md5($temp_id);
.
.
.

}

return 0;
}
}

I still get the same error.

In order to verify that $_SESSION['SESS_MEMBER_ID'] has the member id in it. I printed it in my website using echo $_SESSION['SESS_MEMBER_ID'];
It gave the member id i.e. 1 as the output.

I dont know why this is giving me such error.

recent by oldjack  ·  Jan 16 '15 at 1:35 am
91
1
Ajay posted Jan 8 '15 at 9:10 pm

I have two types of users, the user type is saved in session
in hardcode.php i have set the user table deatails as follows

/ Custom driver /
if($_SESSION['user_type']=='shop'smile
{
$usertable='shop'; //specifies the name of the table in which your user information is stored.
$row_username='name'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='usr_id'; //specifies the name of the field in which the user's id is stored (usually id or userid)
}
else
{
$usertable='users'; //specifies the name of the table in which your user information is stored.
$row_username='fullname'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='id'; //specifies the name of the field in which the user's id is stored (usually id or userid)
}

but custom.php always takes the else option always

i tried to customize the custom.php but there i cant get the session variable

Help me please....

recent by avinash  ·  Jan 14 '15 at 3:04 pm
1.31k
6.08k
20
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft