FreiChat related discussions

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

431
3

Dear Codologic,

I did a custom installation of Freichat Platinum. It works fine. However, some of the Javascript used in my original script stopped working. When I do not load Freichat, the functions work fine. I receive the error:

“TypeError: $ is not a function”

I tried the following, with no result:

1
In main.php, changing
require_once 'jquery/js/jquery.1.8.3.js';

to

//require_once 'jquery/js/jquery.1.8.3.js';

2
Emptying both the files
freichat\client\jquery\js\jquery.1.7.1.js

and

freichat\client\jquery\js\jquery.1.8.3.js

3
In hardcode.php, set $force_load_jquery = 'YES';

I am loading jQuery (version 1.11.1) before I load Freichat:

<script type="text/javascript" src="{tplvars.baseurl}/js/jquery.js"></script>

Any ideas?

Greets,

Jeroen

140
1
ddebrich posted Sep 14 '14 at 5:56 pm

Hello,
I've already read the docu, but i doesn't understand how to integrate a custom avatar.

My avatar URL is stored in a database.
Now...How to let freichat use the avatar URL from the database?

Greetings

  • ddebrich
recent by adesh  ·  Sep 15 '14 at 2:39 pm
408
13
Lyle Jover posted Aug 31 '14 at 5:15 pm

Hi,

Is there way for me or part of the code to extract the function when you click a name and then his chat window appears?

Because I plan to remove the main chat list and just add a button on each profile that says "Chat" and indicates if the user is online or not.

When clicked, the chat window of the user will pop up as normally as it should in the current default setup.

249
3
NinXx posted Sep 4 '14 at 6:47 am

Hello,

I'm new to Freichat. And i have two problems. I use PhpFusion and this is first problem:

If i install free version of Freichat, all work perfect. Now, i buy Corporate version, install it and i don't see any Guest or members anymore.

I think, the problem is here:
If i go to the admin panel -> Moderation i get this error:

Fatal error: Call to a member function fetchAll() on a non-object in /data/t/e/**/**.com/web/freichat/administrator/admin_files/moderate_users/drivers/base.php on line 130

How can i fix this problem, please?

Problem nr. two:

Freichat don't support friend sync for PhpFusion. I now, PhpFusion don't have friend system.
But, admin on my site create for me friend system with everything (search, requests, member list etc.). What i must to do in Freichat for show my friend list in the chat?
my database look like something like this:

table_id........friend_who........friend_with
....0.....................2......................1
....1.....................1......................2

Thanx

PS: Sorry for my English smile

recent by adesh  ·  Sep 8 '14 at 11:07 am
180
3

I'm using JomSocial and I would like to use my users' avatars in the chat's avatar as it seems more logic. But I could not find how it's done in the forums, well one was explaining but I didn't understand a thing I'm not really a JavaScript expert so I would like detailed explanation on what to change.

Thanks a lot everyone.

recent by adesh  ·  Sep 8 '14 at 10:54 am
821
6

Hello,

I am integrating FreiChat in a custom social networking website... i found some bugs in version 9.6 regarding to table prefix... FreiChat is now integrated with my with user base now i want to connect it to friendship table so that chat box should show online friend friends only.. Kindly help me in this...

Edit:

here is table structure for my friendship table
id | to_id | from_id | time_sent | time_accepted | staus | relation

id = auto increment .
to_id = id of user who sent the friend request.
from_id = id of user who recieved the friend request.
time_sent = time on which the request was initiated.
time_accepted = time on which both became friends.
status = confirmed or awaiting.

Also i am unable to buy freichat due to lack of money if you can provide me a limitation free edition of FreiChat with video chat then i will include powered by codologic in footer or about page as demanded by admin or owner of frichat. If you are interested in this then kindly email me...

Regards,

Mehroz Anjum

recent by mehawk1  ·  Sep 6 '14 at 9:12 pm
165
5
M3Consult posted Aug 29 '14 at 10:00 am

Hello,

I'm new to Freichat and well, i'm testing it's possible integration with a site, for private chat only.
Now, my sole question right now, is if there's any way that when the private chat is clicked, it will send an automatic message on window open to the receiver stating an URL?

Best Regards,

Marco

recent by adesh  ·  Sep 3 '14 at 3:22 pm
103
0
David posted Sep 1 '14 at 10:09 pm

Using the paid version (latest) with SMF forum. I cannot get the upload feature to work in the chat rooms. It says the file has been uploaded but it doesn't show up in the chat rooms. I also get an error message. Here is a screen shot of the error:

http://www.davidsworldonline.com/screenshot.jpg
582
2

Here is how you change GRAVATAR avatar "monsters" to any specific image

Edit this file:
www.yourwebsitename.com/freichat/server/freichat.php

Find this code (line: 410) or just search for $avatar_url

$avatar_url = "http://www.gravatar.com/avatar/" . md5($guest) . "?s=24&d=wavatar"; //$this->url . "/client/jquery/user.jpeg";

Replace the code above to the code below:

$avatar_url = "http://png1.findicons.com/files/icons/1072/face_avatars/300/i04.png";

P.S. If you want to change the code back to GRAVATAR avatars just create a copy of original line and comment it.

187
4
walsh909 posted Aug 30 '14 at 2:45 am

Hi, I am using freichat with jomsocial, and I want to have the avatars appearing in the main chat window (where you type messages). Can you tell me where I can put that in the code?

Also I've noticed sometimes I can see 10 guests in the chat, but on google analytics there are maybe 1 or 2 people. Is this google bots or other bots? If so, where/how can I detect that in the code and ignore those?

Also, does the video chat use WebRTC. Does video chat work on mobile devices and iphone?

Thanks, Chris.

recent by walsh909  ·  Aug 31 '14 at 5:55 pm
195
1
peti446 posted Aug 30 '14 at 9:36 pm

Hi,
i installed the plugin from freichat in wordpress to get show freichat in my wordpress but i want to put the avatar to the same that in my wordpress, for that i create this function in freichatx.php (a file from the plugin) but no my question is how can i call this function in rootwherewordpressisinstalded/freichat/server/freichat.php
I already find what i need to change and what i need to change the only quiestion is how to call this function.
Thx, peti446

recent by adesh  ·  Aug 31 '14 at 5:15 pm
124
1
miju posted Aug 29 '14 at 10:48 am

Hi,

Am I doing something wrong with the configuration under the user list in the backend I can only see the option to ban. I cannot see any option to make someone an admin or chat moderator.

Thanks for the help

recent by adesh  ·  Aug 29 '14 at 2:49 pm
140
1
ralle1981 posted Aug 27 '14 at 10:57 pm

<font><font>Hallo .. Ich habe bezahlt und downloadet freichat, ich habe die "freichat" Ordner auf meine Webspace in der ersten Ebene der joomla2.5 uploadet .. </font></font>

<font><font>wenn ich geben meine Domain "www.schuler-hilft-schüler.de / freichat / Installation / index.php" es eine Fehlerseite kommt 500 </font></font>

<font><font>alle Ordner haben 755 und die Dateien 644 - es funktioniert nicht, was kann ich tun?</font></font>

recent by adesh  ·  Aug 29 '14 at 6:01 am
268
2

Hi, I installed this on my Jomsocial site (www.pattayafriendly.com), and first it was saying ERR_CONTENT_DECODING_FAILED in google dev tools. I found that was probably a bug or incorrect usage of zlib in the code, so I switched zlib/gzip OFF in the freichat backend.

Now, I have unexpected identifier errors:


Notice: Undefined index: 53fa8d07b7d69usr_name in /home/ec2-user/websites/Pattaya/joomla/freichat/server/drivers/base.php on line 67

Notice: Undefined index: 53fa8d07b7d69usr_ses_id in /home/ec2-user/websites/Pattaya/joomla/freichat/server/drivers/base.php on line 68

Notice: Undefined index: 53fa8d07b7d69is_guest in /home/ec2-user/websites/Pattaya/joomla/freichat/server/drivers/base.php on line 73

Notice: Undefined index: 53fa8d07b7d69usr_name in /home/ec2-user/websites/Pattaya/joomla/freichat/server/drivers/base.php on line 77

Notice: Undefined index: 53fa8d07b7d69usr_ses_id in /home/ec2-user/websites/Pattaya/joomla/freichat/server/drivers/base.php on line 77

Notice: Undefined index: 53fa8d07b7d69usr_name in /home/ec2-user/websites/Pattaya/joomla/freichat/server/drivers/base.php on line 102

I have tried deleting the entries in the session database, deleting all php sessions files, but have same problem. Surely the code should be checking for this and handling it? Please can you tell me how to get around this?

I really want to buy this but it just doesn't work and I am close to just giving up with it now smile. Also there are no/hardly any comments in the code, and the JS has been minified. If I buy the paid version do I get the unminified JS code? Is there any kind of documentation for developers at least giving a general overview so I can customise it for my site?

Thanks, Chris.

recent by adesh  ·  Aug 29 '14 at 5:56 am
125
3
Samail posted Aug 25 '14 at 2:41 pm

Where can I increase the size of a <div> in which the displayed smiles?
53fb3c965d23b.png

And also, chatting scrollbars appear only when you hover the cursor over the message, how to do that would be visible all the time?

recent by adesh  ·  Aug 27 '14 at 4:40 pm
139
2
annys posted Aug 20 '14 at 3:52 am

Hye, i have a problem to install freiChat v9 in my joomla.Im using joomla v3.2 and xampp. For your information there is no installation folder on my joomla because i already remove the folder when i install my joomla on my localhost. Now,i dont know how to install this freiChat. Please help me..

Thank You.

recent by annys  ·  Aug 20 '14 at 4:47 am
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