FreiChat related discussions

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

76
4

i change the chatroom name from the freichat back end
in the hadline when i press and enter the room on the front end i see the had line in hebrew' but on the room loist on the right side when i open the chatroom insted of the room name for the 1 i change i get
1513;עמם לי

how do i fix it ?

89
3

Hello...

I would like to know, where can I find the part of code that belongs to the freichat userlist? I am not talking about the css file and I don't mean the list in to the chat rooms window!!! It should be somewhere in to the freichat.js file, but I can't find it!!! Please help me!!! I'm close to brake my PC!!!

Please take a look here to see what I mean!!!

PS: I have make a Greek language file. How can I send it to you???

Thank you in advance!!!

96
1
sahar posted Jan 3 '12 at 1:11 pm

i've installed frei-Chart on our website and its work great but recently got problem with some of the registered user (through LDAP) become offline so that we can't see them but they can see us.

How to overcome this problem?.

TQ.

90
4
ibrouwer posted Jan 1 '12 at 1:10 pm

First of all I must say that this is a great product and it worked right out of the box.

One issue: I have a joomla 1.7 installation with the latest version of JomSocial installed. Avatars from Jomsocial do not show up in the online user list. It only shows the placeholder for a picture, but not the picture itself.

Thanks,
Idso Brouwer.

PS: I have not found a search feature in the forum. Perhaps I am not looking in the right place, but it would be nice to search the forum topics.

53
1
Patrik posted Dec 29 '11 at 3:15 am

Hello,
I just have one change to make and for the life of me cant find it in the css or graphic..
see this image I am trying to change the color of the small window that shows the online users just the top part...as you can see I was able to change the normal chat one.
http://www.widowmakers.com/temp/chat.png

thanks

66
1
frendznetworks posted Dec 28 '11 at 1:13 pm

i have installed successfully

in index.php

the code of that is

<?php // This file is here solely to protect your Themes directory.

// Look for Settings.php....
if (file_exists(dirname(dirname(__FILE__)) . '/Settings.php'))
{
// Found it!
require(dirname(dirname(__FILE__)) . '/Settings.php');
header('Location: ' . $boardurl);
}
// Can't find it... just forget it.
else
exit;

?>





after installing i got this to place in my index.php

message: Manual installation **NOT Recommended



Add the following lines in your
Index.php between the start head tag and close head tagin the header(before head tag)







<!--==========================FreiChatX====VERSIONS====5.X====START========================-->
<!-- For uninstalling ME , first remove/comment all FreiChatX related code i.e below code
Then remove FreiChatX tables frei_session & frei_chat if necessary
The best/recommended way is using the module for installation -->

<?php $ses=null;

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

if(is_file("/home/a4447497/public_html/freichat/arg.php")){

require "/home/a4447497/public_html/freichat/arg.php";

$temp_id = $ses . $uid;

return md5($temp_id);

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

return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="http://www.frendznetworks.in/freichat/client/main.php?id=&lt;?php%20echo%20%24ses;?&gt;&amp;xhash=&lt;?php%20echo%20freichatx_get_hash(%24ses);%20?&gt;"></script><script type="text/javascript" language="javascipt" src="http://evnix-dot-com.appspot.com/?time=&lt;?php%20echo%20time();%20?&gt;"></script><link rel="stylesheet" href="http://www.frendznetworks.in/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><!-- NOTE:: The copypaste code differs from 4.X to 5.X and may differ for further versions--><!-- So to be at a safer side always replace the entire FreiChatX code during installation--><!--===========================FreiChatX====VERSIONS====5.X====END=========================-->






help where to put it

no chat window in my forum

help dude plzzzz

i have donw same in both kinly help :)

needed

im uploading screenshot some where will add soon

u can mail us at admin@frendznetworks.in



48
3
Patrik posted Dec 28 '11 at 1:34 am

Hello,
THANK YOU for this awesome Chat app!

I am trying to change some of the graphics, what is the name of the topbar that shows the online users?

I had to disable file send because it acts as if the file gets sent but when you click on the link its telling me there is no file. The upload folder has full permissions.

In the Dark backend Theme maker, I get a bunch of errors when I select either the default or other theme I am working on.


Warning: mkdir() [function.mkdir]: No such file or directory in /home/stele/wm.widowmakers.com/hq/freichat/server/admin_files/theme_maker/index.php on line 46

Warning: chmod() [function.chmod]: No such file or directory in /home/stele/wm.widowmakers.com/hq/freichat/server/admin_files/theme_maker/index.php on line 47
It goes on like that then states
an error occured (check permissions for ~freichat/client/jquery/freichat_themes/)!!
I gave that folder 777 permissions and still getting the issue.

63
2

from custom.php :




// 4. Insert user data in FreiChatX Table Or Recreate Him if necessary
$this->createFreiChatXdb();
// 5. Update user data in FreiChatX Table
$this->updateFreiChatXdb($first, $custom_mesg);


found createFreiChatXdb() in base.php but did not find

updateFreiChatXdb($first, $custom_mesg);

Where is it defined please?

77
3
fc_user posted Dec 27 '11 at 12:40 pm

Approximate line number 62 in main.php:

$sessions = new $this->driver($this->db);


1) Is driver() any method? where is it defined?

2)new $this->driver -- i cannot make anything out of it . What is the explanation from the programming view ?



I am using custom installation

Thanks in advance

48
1
meteris posted Dec 26 '11 at 10:01 pm

I am using facebook plugin and when users connect with facebook account i can NOT see them on chat. What can i do for this ?

Joomla 1.7.3
NO CB
NO JOMSOCIAL

137
17

these are the functions in custom.php:




public function get_users() {

$query = "SELECT DISTINCT status_mesg,username,session_id,status,guest
FROM frei_session
WHERE time>" . $this->online_time2 . "
AND session_id!=" . $_SESSION[$this->uid . 'usr_ses_id'] . "
AND guest=0
AND status!=2
AND status!=0";

$list = $this->db->query($query)->fetchAll();
return $list;
}

//------------------------------------------------------------------------------
public function get_buddies() {

$query = "SELECT DISTINCT status_mesg,username,session_id,status,guest
FROM frei_session
WHERE time>" . $this->online_time2 . "
AND session_id!=" . $_SESSION[$this->uid . 'usr_ses_id'] . "
AND guest=0
AND status!=2
AND status!=0";

$list = $this->db->query($query)->fetchAll();
return $list;
}



1) So what is the difference between get_users() and get_buddies() function ?

2) How is a buddy defined in the default db?

3) which part of the code constantly watches whether any new buddy appears online>

4) What are the meaning of the values 0,1,2 for the variable 'status'



71
4

I downloaded the chat script and pointed the browser to the directory , followed instructions one after another , edited params from admin backend.


Suppose i create a page in the directory. That is my whole website.
Which code snippet should i use there to integrate the freichat in it?


I went through the readme file but in vain.

I need it asap.

Thanks in advance

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