General discussion
open close freichat from code

Hello,

I would like to manage FreiChat directly with my buttons and actions.

I would Iike to do two thinks :
- have a button to open and close the chat.
- have a button to start a discussion directly with a user passed in parameters.

Could you help me to find the method I need to use please ?

Hello, I would like to manage FreiChat directly with my buttons and actions. I would Iike to do two thinks : - have a button to open and close the chat. - have a button to start a discussion directly with a user passed in parameters. Could you help me to find the method I need to use please ?
- have a button to open and close the chat.

Do you want button to close the chatwindow or the chatbox or completely hide all visible elements of the chat ?

- have a button to start a discussion directly with a user passed in parameters.

Can you read this post http://codologic.com/page/node/1171 . It is similar , if you want any more details let us know .
<blockquote>- have a button to open and close the chat. </blockquote> Do you want button to close the chatwindow or the chatbox or completely hide all visible elements of the chat ? <blockquote> - have a button to start a discussion directly with a user passed in parameters. </blockquote> Can you read this post http://codologic.com/page/node/1171 . It is similar , if you want any more details let us know .
Necessity is the mother of all inventions!

- have a button to open and close the chat.
--- Do you want button to close the chatwindow or the chatbox or completely hide all visible elements of the chat ?
I prefer to close the chat completely to stop the scripts

- have a button to start a discussion directly with a user passed in parameters.
Yes it's similar ! thanks

- have a button to open and close the chat. --- Do you want button to close the chatwindow or the chatbox or completely hide all visible elements of the chat ? I prefer to close the chat completely to stop the scripts - have a button to start a discussion directly with a user passed in parameters. Yes it's similar ! thanks
I prefer to close the chat completely to stop the scripts


We recommend you to do the following way.
Make the chat go offline . you can do this by running the function
FreiChat.freichatopt("goOffline");
<blockquote> I prefer to close the chat completely to stop the scripts </blockquote> We recommend you to do the following way. Make the chat go offline . you can do this by running the function <code>FreiChat.freichatopt("goOffline");</code>
Necessity is the mother of all inventions!

Ok, thank you !

One last question.
How can i start the chat directly going Offline ?

Ok, thank you ! One last question. How can i start the chat directly going Offline ?
How can i start the chat directly going Offline ?


Can you please ellaborate ? Do you mean you want to reinitiate chat after going offline ?
<blockquote>How can i start the chat directly going Offline ?</blockquote> Can you please ellaborate ? Do you mean you want to reinitiate chat after going offline ?
Necessity is the mother of all inventions!

Hello,

In fact I would like to open the chat when an user log in in my website, but I would like this user "Offline" with the small offline image.

Hello, In fact I would like to open the chat when an user log in in my website, but I would like this user "Offline" with the small offline image.

We already gave you the answer in our last post

FreiChat.freichatopt("goOffline");

This will force freichat to go offline .

Do you want something else or are we misinterpreting your question ?

We already gave you the answer in our last post <code>FreiChat.freichatopt("goOffline");</code> This will force freichat to go offline . Do you want something else or are we misinterpreting your question ?
Necessity is the mother of all inventions!
112
7
0
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