FreiChat related discussions

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

72
1
soool posted Nov 11 '13 at 3:53 pm

Hello, i installed Freichat recently and it looks awesome.
Am trying to RTL the chat. so i need to do some changes using theme maker.
only problem is, whenever i do any change and save, all changes are reversed like i didnt save at all. when i check the design again, all changes are gone and am back to zero.
Please advice.

76
1
songofmylife posted Nov 10 '13 at 12:59 pm

when a user is banned, he still can upload posts in the chat. Only after the user has refreshed the website, banning works.

When i look at the Database frei_banned_users, i see the banned users correctly.

I´ve tested the process in joomla as well as in a custom installation. (I use V. 9.4)

Banned user shouldn´t be able to post. How can I fix this problem?

115
3
HHelminen posted Nov 9 '13 at 10:37 am

https://github.com/JoomJunk/shoutbox/issues/52

Tried the search to find threads about this, but apparently there are none. Just thought I'd ask around if anyone has had this problem and solved it somehow. All I can tell you is that when I have Freichat on my site with JJShoutbox (a Joomla 2.5 module), the shoutbox stops working in that while you can type in it, and click the submit input, nothing gets submitted. JJShoutbox isn't ajax.

I get no javascript errors in the Chrome developer console, so I'm not sure it's that. I know a fair bit about PHP, but I'm at a bit of a loss here. Obviously it's got something to do with the page not running the JJShoutbox form submit correctly, but I'm seriously not sure how to fix it.

The chat is awesome, and a definite keeper for my site, but sometimes you just want to throw a line in a shoutbox instead. I've not switched to other shoutbox modules yet to see if they work, as I'd first rather want to see if there's a solution to this (ton of CSS on the shoutbox and so on, rather not build a new appearance for a new module if this can be fixed.)

Anyways, thanks for any replies in advance.

97
1

i have jomsocial community based site where so many user are working, and i used freichat free version for testing, its working but dont show proper user or guest, if 30 guest are on site but it shows only 4-5 and if 4-5 registered users online its show only 2-3 ..why it is not showing total users.. plz help i am interested in it but i need proper solution, thanks

143
4
GAngZta posted Nov 7 '13 at 9:43 am

Hello @all
I've added freichat to my backend. All is ok. But I can't see the names of the user. I only see the name guest-....
I have tried to configure that. But it won't run.

$ses = $_SESSION[SESS_NAME]['user_id'];

function freichatx_get_hash($ses){
global $APR;

if(is_file("$APR/freichat/hardcode.php")) {
require "$APR/freichat/hardcode.php";

$temp_id = $ses . $uid;

return md5($temp_id);
}
else {
echo "<script>alert('module freichatx says: hardcode.php file not found!');</script>";
}

return 0;
}

$freichat_hash = freichatx_get_hash($ses);
$freichat_ses = $ses;

.....

<script type="text/javascript" language="javascipt" src="%7B%24APH%7D/freichat/client/main.php?id=%7B%24freichat_ses%7D&xhash=%7B%24freichat_hash%7D"></script>

hardcode.php:
$dsn='mysql:host=localhost;dbname=nk'; //DSN
$db_user='nk'; //DB username
$db_pass='...'; //DB password
$driver='Custom'; //Integration driver
$db_prefix='frei_'; //prefix used for tables in database
$uid='51d6b0722476a'; //Any random unique number

$PATH = 'freichat/'; // Use this only if you have placed the freichat folder somewhere else
$installed=false; //make it false if you want to reinstall freichat
$admin_pswd='testing'; //backend password

$debug = false;
$custom_error_handling='NO'; // used during custom installation

$use_cookie=true;

/* email plugin */
$smtp_username = '';
$smtp_password = '';

$force_load_jquery = 'YES';

/* Custom driver */
$usertable='cms_session'; //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='user_id'; //specifies the name of the field in which the user's id is stored (usually id or userid)
$avatar_field_name = 'avatar';


in the table cms_session are all users stored who are logged in. After login I can see the chatwindow but everybody has the name 'guest-...'
$ses is initiated with a integrer and is the correct user_id. Also the values of $usertable, $row_username, $row_userid are correct
can anyone help??
thanks a lot!
121
2
Sombra_21 posted Nov 5 '13 at 5:14 pm

hola compañeros tengo un error en la nueva instalacion de freichat no me deja ingresar a la pagina no se a que puede ser debido espero que me sepan dar soporte ya que quisiera probarlo y así ver si compro la versión completa

mi foro es www.xda-developers.es

189
6

Greetings!!!

I have an issue on my Chat administration; every time I try to save options at "Client Side" always send me that page with the message " 403 Forbidden
Access to this resource on the server is denied!" so I had no chances to close the chat.

My installation is over Simple Machine Forum 2.0.5. Freichat Version: 9.4 Installed with "freichat integrator module zip"

Other options work fine, some little problems, like no sound, or not avatars, but OK.

Please anybody, knows how to solve this; thanks in advance.

A cap: http://fotos.subefotos.com/a79ffde6a521bbb683e9c81a5bb48ae8o.jpg

97
1
grastinion posted Nov 1 '13 at 8:14 pm

Is there a variable I can set to direct a person to a specific room instead of the lobby? I would like to dynamically set links that will link straight to a specific room, eg www.sitename.com/index.php?room=XXX.

90
2

Hi there,
The chat window and chat rooms tag are not showing on the webpage when browsing from SAFARI on iPAD device.
Is that a known issue?
It will load if I switch to Chrome on the device, however, the user is not seen online after a little while by the other chat users being online.
Please advise!
thanks, E

107
1
Harlekin posted Oct 28 '13 at 1:28 am

I have some problems with the freichat on internet explorer 8+9. I am using Freichat 9.4.

- in the theme basic is in the IE no blue head on the onlinelist and on the one 2 one chat
- i can become messages, but i do not can sent messages
- the chatroom slider do not work

In internet explorer 8 i become the following error:
Details zum Fehler auf der Webseite

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; .NET CLR 2.0.50727)
Zeitstempel: Mon, 28 Oct 2013 01:20:39 UTC

Meldung: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
Zeile: 1036
Zeichen: 5
Code: 0
URI: http://.../freichat/client/main.php?id=0&xhash=24cc4cfcd9b0558af4c1376082363206

In Firefox and Chrome all is fine

An now one question by the way. For what is the .htaccess file? .htaccess files do not work on windows server.

99
3

My Login Code:

<?php $seitentitel = 'Login';
require_once('includes/zugang.php');

$fehlermldg = "";

if (!isset($_SESSION['id'])) {
if (isset($_POST['submit'])) {

$db = mysqli_connect(DB_HOST, DB_BENUTZER, DB_PASSWORT, DB_NAME);
mysqli_set_charset($db, "utf8");

$nutzername = mysqli_real_escape_string($db, trim($_POST['nutzername']));
$passwort = mysqli_real_escape_string($db, trim($_POST['passwort']));

if (!empty($nutzername) & !empty($passwort)) {

$sql = "SELECT id, nutzername FROM nutzer WHERE nutzername = '$nutzername' AND passwort = SHA('$passwort')";
$daten = mysqli_query($db, $sql);
$zeile = mysqli_fetch_array($daten);

if (mysqli_num_rows($daten) == 1) {

// Login erfolgreich, also die Cookies setzen und den Benutzer zur Hauptseite umleiten
$_SESSION['id'] = $zeile['id'];
$_SESSION['nutzername'] = $zeile['nutzername'];
setcookie('id', $zeile['id'], time() + (60 * 60 * 24 * 30)); // Verf&auml;llt in 30 Tagen
setcookie('nutzername', $zeile['nutzername'], time() + (60 * 60 * 24 * 30)); // Verf&auml;llt in 30 Tagen
$hauptseite = 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/memberarea.php';
header('Location: ' . $hauptseite);

mysqli_close($db);
}
else {
$fehlermldg = 'Sie m&uuml;ssen g&uuml;ltige Zugangsdaten eingeben, um sich einzuloggen.';
}
}
else {
$fehlermldg = 'Sie m&uuml;ssen Ihre Zugangsdaten eingeben, um sich einzuloggen.';
}
}
}
?><div id="wrapper">

<?php require_once('includes/header.php');
require_once('includes/menu.php');

if($fehlermldg != "") {
echo '<p class="fail">' . $fehlermldg . '';
}
?>

<h2>Login</h2>

<form method="post" action="login.php">

<label for="nutzername">Benutzername:</label>
<input type="text" name="nutzername"><label for="passwort">Passwort:</label>
<input type="password" name="passwort"><input type="submit" value="Login" name="submit"></form>


</div><!-- #wrapper -->


Please Help!
317
8
dnf911tt posted Oct 22 '13 at 5:51 am

Hi, I completed an installation of Freichat, and it has worked in Guest Mode for weeks no problem, I then completed the Custom Login Integration with my custom website, worked fine and it ran for about a week, then it suddenly stopped working for no apparent reason. Doesnt work in Guest mode either now. No other problems with the website or PHP, and the PHP logs only show 1 warning that has been happening since it was installed several weeks ago (output handler 'ob_gzhandler' conflicts with 'zlib output compression' ). The session is valid and session variable for userid are correct when Friechat is called. No files have changed from what I can see. Friechat seems to hang immediately when it is called now. Any ideas what might cause this?

93
1
Harlekin posted Oct 21 '13 at 10:16 am

I test Freichat 9.3 and i have a problem with the button admin in the admminmenue. The button admin is by me out of function. No drop down or anything. I have testet it on Firefox 23 and with Google Chrome.

76
2
CSDK posted Oct 16 '13 at 9:39 pm

Installation does not start after I press enter, in my EI browser?

I write this address: http://danmark-eu.dk/freichat/installation/index.php

All files and directories are set to 755

/Simon Dk

62
1
pratap1990 posted Oct 13 '13 at 1:45 pm

Hello Dear Readers ,

i installed the FreiChat properly with Joomla CB also installed Module for it and activated. moreover ,

it jist shows the name only FriChat instead of Chat tool box . furthermore i am using neq3.com free hosting (For my Project only )

also my site name is gscc.neq3.com. please help me to solve this problem


Thanks

101
1
pheckmann posted Oct 12 '13 at 2:51 pm

Dear all,

I found a bug in the chatroom part of freechat:

The symbol for changing the color theme has no tooltip, it shows nothing by moving the mouse over it. But this never minds.
The smiley symbol shows something like "insert smily" and by clicking on it, I can insert a smily.
But the symbol on the right from the part where you can insert the message (picture of a little wheel) shows the same message too: "insert smily", but clicking on it, all symbols for mailing and saving chat history, changing color or sending files are dissapearing then.

I would like to correct it. Can you help me?

Thanks a lot.

regrets
Patty

103
3
Ankit singh posted Oct 8 '13 at 7:57 am

Hey hi i have integrated Freichat into a social networing website developed in PHP. I want to show only friends of the users . I also changed the function get_buddies() placed into /freichat/server/drivers/custom.php but it is showing " Loading Friends ".

I also changed from freichat Backend " EveryOne to Only your buddies".

can you please tell me how can i get only the friends of user.

please reply soon as possible......

77
1
Grindabit posted Oct 6 '13 at 10:39 pm

When you click the chat room tab and join a room, it does not show the users in the room. also, when a user creates a room, nobody can join it with or without password.

my installation is at http://grindabit.net/forums





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