FreiChat related discussions
freichat & community Builder

I have Community builder installed and i want to use Freichat to show a list off contacts for a use on the right side of the screen just like facebook does alog with their information of if they are online , Offline , their names and a chat link to chat with the on clicking from there , how do i achieve this with Freichat ?

Thanks
Pranay

I have Community builder installed and i want to use Freichat to show a list off contacts for a use on the right side of the screen just like facebook does alog with their information of if they are online , Offline , their names and a chat link to chat with the on clicking from there , how do i achieve this with Freichat ? Thanks Pranay

Hi,

and i want to use Freichat to show a list off contacts for a use on the right side of the screen just like facebook does alog with their information of if they are online , Offline , their names and a chat link to chat with the on clicking from there , how do i achieve this with Freichat ?

That is what freichat already does.

Hi, >and i want to use Freichat to show a list off contacts for a use on the right side of the screen just like facebook does alog with their information of if they are online , Offline , their names and a chat link to chat with the on clicking from there , how do i achieve this with Freichat ? That is what freichat already does.

no, It doesn't , it shows all online users not all Community builder connections .

no, It doesn't , it shows all online users not all Community builder connections .

Hi,

Did you select "Joomla with CB" as the integration driver while installing freichat ?

Hi, Did you select "Joomla with CB" as the integration driver while installing freichat ?

Hi Adesh,

Yes, I did, it shows the connections only when they are online but not when they are offline, also this list scrols as the page scrols down i need this to be fixed on the right side column such that it displaye the Community builders connections irrespective if they are online or offline.

Hi Adesh, Yes, I did, it shows the connections only when they are online but not when they are offline, also this list scrols as the page scrols down i need this to be fixed on the right side column such that it displaye the Community builders connections irrespective if they are online or offline.

Hi,

Yes, that is normal behaviour; freichat only shows online members.

To show offline members you will have to modify the query.

Do you have knowledge in sql queries ?

Hi, Yes, that is normal behaviour; freichat only shows online members. To show offline members you will have to modify the query. Do you have knowledge in sql queries ?

Hi,

Do you have knowledge in sql queries ?

Ok.

Open freichat/server/drivers/JCB.php

Around line 109,

Replace

AND f.status<>0";

with

";

Around line 130,

Delete the line

 AND f.status<>0

Around line 154, delete the line

 AND f.status!=0
Hi, &amp;gt;Do you have knowledge in sql queries ? Ok. Open freichat/server/drivers/JCB.php Around line 109, Replace ``` AND f.status&amp;lt;&amp;gt;0&quot;; ``` with ``` &quot;; ``` Around line 130, Delete the line ``` AND f.status&amp;lt;&amp;gt;0 ``` Around line 154, delete the line ``` AND f.status!=0 ```
edited Jul 17 '15 at 7:32 pm

Hi Adesh,

I did all these steps , but it remains the same and still doesn't display Offline user's.

Thanks
Pranay

Hi Adesh, I did all these steps , but it remains the same and still doesn&#039;t display Offline user&#039;s. Thanks Pranay

Hi,

Open file freichat/hardcode.php

On line 6, you should find

$driver='JCB';

Is it 'JCB' or 'Joomla', in your file ?

Hi, Open file freichat/hardcode.php On line 6, you should find ``` $driver=&#039;JCB&#039;; ``` Is it &#039;JCB&#039; or &#039;Joomla&#039;, in your file ?
edited Jul 18 '15 at 12:40 pm

Hi,

By offline users, do you mean users that are not on your website ?

If you show all users (including offline), the freichat users list will become huge if there are many users registered in your website which is not recommended.

The modification that we asked to make will only show users offline on freichat and not all users.

Hi, By offline users, do you mean users that are not on your website ? If you show all users (including offline), the freichat users list will become huge if there are many users registered in your website which is not recommended. The modification that we asked to make will only show users offline on freichat and not all users.

Hi Adesh,

actually my goal is to show a list of all community bulder connections of a user in his chatlist whether online or offline , but they are only that users connections and not all website users

Hi Adesh, actually my goal is to show a list of all community bulder connections of a user in his chatlist whether online or offline , but they are only that users connections and not all website users

Hi,

That will be a bit complicated.

What have you set in freichat backend-> client side
"Who should be on the online users list" option ?

Hi, That will be a bit complicated. What have you set in freichat backend-&amp;gt; client side &quot;Who should be on the online users list&quot; option ?
375
14
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft