FreiChat related discussions
I could'nt change the chat room position

hi,
I have install the frichat on joomla but i dont want to do chat room on sliding. I want change position to content page. how wiil i fixed it????

hi, I have install the frichat on joomla but i dont want to do chat room on sliding. I want change position to content page. how wiil i fixed it????

It is possible by copy pasting the html of the chatroom in your custom page .

You will need a few customizations to do this .

It is possible by copy pasting the html of the chatroom in your custom page . You will need a few customizations to do this .
Necessity is the mother of all inventions!

If you know javascript and want the easiest way to do this , you can :

Suppose you want the chatroom to load in a page inside the div with id myChatroom

Run the following code , after freichat has been loaded ,

var chatroom = jQuery('.frei_chatroom-content').clone();  
jQuery('#myChatroom').append(chatroom); // your DIV here  
chatroom.show();  
jQuery('#dc-slick-9').remove();

That's it . Let us know if you have any problems .

If you know javascript and want the easiest way to do this , you can : Suppose you want the chatroom to load in a page inside the div with id `myChatroom` Run the following code , after freichat has been loaded , ``` var chatroom = jQuery('.frei_chatroom-content').clone(); jQuery('#myChatroom').append(chatroom); // your DIV here chatroom.show(); jQuery('#dc-slick-9').remove(); ``` That's it . Let us know if you have any problems .
Necessity is the mother of all inventions!

I have use these code on Joomla pain page template's file. But this is not running.
Please navigate me where should i use this code?

I have use these code on Joomla pain page template's file. But this is not running. Please navigate me where should i use this code?

Open file ~/freichat/client/chatroom.js

At the end of the function FreiChat.init_chatrooms() , i.e around line 167

Open file ~/freichat/client/chatroom.js At the end of the function FreiChat.init_chatrooms() , i.e around line 167
Necessity is the mother of all inventions!

Thank You so much!!
But all function is not working in chat room like rooms button and settings button.

Thank You so much!! But all function is not working in chat room like rooms button and settings button.

Are you getting any errors in your browser console ?

Are you getting any errors in your browser console ?
Necessity is the mother of all inventions!

Can you make the following change in your code:

Replace

var chatroom = jQuery('.frei_chatroom-content').clone();

with

var chatroom = jQuery('.frei_chatroom-content').clone(true, true);
Can you make the following change in your code: Replace ``` var chatroom = jQuery('.frei_chatroom-content').clone(); ``` with ``` var chatroom = jQuery('.frei_chatroom-content').clone(true, true); ```
Necessity is the mother of all inventions!

Thankuu very much. smile it's working but there are some small error when i click to settings icon of chat room, there are nothing to show. Its not working.

Thankuu very much. (blush) it's working but there are some small error when i click to settings icon of chat room, there are nothing to show. Its not working.

May be the click event for the wrench icon is not being triggered since we have duplicated the chatroom .

There are two solutions i can think of:

  1. Instead of duplicating the chatroom embed it directly [difficult]
  2. Redefine the event for the wrench icon [easy]
May be the click event for the wrench icon is not being triggered since we have duplicated the chatroom . There are two solutions i can think of: 1. Instead of duplicating the chatroom embed it directly [difficult] 2. Redefine the event for the wrench icon [easy]
Necessity is the mother of all inventions!

How do you do either 1 or 2? Please reply in the language of the mortals. I am not a developer.

I got the chat to display within a kunena block, the div "#kprofilebox" but I ran into the same issue as Satish with the setting button not working. The chat is also not responsive even though the forum is. I am assuming it is a css issue. Please, advise.

How do you do either 1 or 2? Please reply in the language of the mortals. I am not a developer. I got the chat to display within a kunena block, the div "#kprofilebox" but I ran into the same issue as Satish with the setting button not working. The chat is also not responsive even though the forum is. I am assuming it is a css issue. Please, advise.

Hi I have been trying to follow this I am currently using the freichat free version for testing before purchasing but when going into the client folder I am unable to find the chatroom.js I only have the freichat.js I am using v10.0. Is this only available in the paid versions? As above I would like to have the chatrooms display only on a page (joomla) and just have the friends chat showing on every page.
Thanks in advance for any help.

Hi I have been trying to follow this I am currently using the freichat free version for testing before purchasing but when going into the client folder I am unable to find the chatroom.js I only have the freichat.js I am using v10.0. Is this only available in the paid versions? As above I would like to have the chatrooms display only on a page (joomla) and just have the friends chat showing on every page. Thanks in advance for any help.
571
13
1
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