Configure firebase

The first step in plugin configuration consists in creating a Firebase account (skip to the next step in case you already have one)
Create a new application, so that you can get the parameters required by the plugin.

Please note – if you are already using the plugin, follow only the steps from 6 to 11.

1- Go to https://console.firebase.google.com/ and click on the “Create a project” button.

2- Now give a name to your project by entering it to the related field.

3- Activate Google Analytics for your Firebase project by enabling the option Enable Google Analytics for this project and click on Create project.

4- Wait until your project is created then click on Continue.

5- Now go to Firebase settings and select Project settings like in the image below.

6- In the tab General > Your project of Firebase settings,¬†you will find the project ID. Copy it…

7- …and paste it in the field Firebase project ID that you find in the plugin General settings.

8- Go back to the tab General > Your project where you will find the Web API key. Copy it…

9- …and paste it in the field Firebase API key that you find in the plugin general settings.

10- Now go to the section Service accounts of your project and click on Generate new private key. After downloading the file, copy its content and…

11- …paste it in the field Firebase Private key that you find in the plugin general settings.

12- From the next field, Firebase Database Rules, copy the text and…

13- …go to your project Database.

14- Click on the button Create database available in Realtime Database.

15- In the Security rules for Realtime Database, remove the text shown and paste the one you previously copied from Firebase Database Rules. Now click on Enable.

16- The last step is to publish by clicking on the button Publish that you find in the Database Rules section.

 

 

 

 

 

Chat console

If you have entered the required data correctly and if you have enabled the chat plugin in YIT Plugins -> Live Chat, all you have to do is to open the chat console: click on “YITH Live Chat” that you can find in WordPress admin panel.

Chat console

Every new connected user will be added to the list until the maximum number of simultaneous online users is reached. Moreover, in the right side of the conversation, you’ll be able to read details about the user and his/her access.

Single chat

The chat window is enabled on every page of the site by default.

To show the chat pop-up correctly, the theme installed on your site needs to use the function “wp_footer()” in its templates.¬†

Chat popup

Customize messages

In the tab “Messages”, you can find the options to customize the messages showed to users.

  • Chat Title: the title of the chat showed in the pages of your site.
  • Welcome Message: the text showed in the chat login form.
  • Starting Chat Message: the initial message showed when opening the chat.
  • Closing Message: the text showed when the chat window is closed.
  • Offline Message: the message showed when the operator is offline.
  • Busy Message: the message showed to a new user when the maximum number of active chat conversations has been reached.
    Please remember that the free version of the plugin can host no more than TWO active conversations, so the Busy message is shown to the third user. As soon as one of the active conversations ends, the login form will be available to your users again.

Messages