Guide FloatChat

Floatchat- User Guid

Installation with Floatchat

To install the PHP version of Floatchat on your server follow the steps below:

  • Open the archive Floatchat X.X.X.zip and extract the folder in a server location of your choice.
  • Navigate to the link http://[your-site]/https://app.floatchat.ai/account/?login and complete the installation. Replace [your-site] with with your website URL. If you change the directory name, replace Floatchat with the new directory name.
  • Once the installation is complete, log in with the email and password you created in the previous step and you’re done!

Display the chat #

To display the chat on your website include the following scripts into the <head></head> or <footer></footer> area of each page where the chat is shown.

<!-- Not required if jQuery is already loaded -->
<script src="[FLOATCHAT-URL]/js/min/jquery.min.js"></script>
<script id="sbinit" src="[FLOATCHAT-URL]/js/main.js"></script>

Replace [Floatchat-URL] with the URL of your Floatchat installation, get it from Settings > Miscellaneous > Floatchat URL. E.g. https://example.com/Floatchat/js/main.js.

URL parameters #

  • lang=LANGUAGE-CODE See the multilingual docs for more details.
  • url=APP-URL Use this parameter if your application directory URL / folder has been changed. Replace APP-URL with the FULL URL of the application folder. You can also define the URL via JavaScript: var Floatchat_INIT_URL = “APP-URL”.

Site migration #

If you migrate the chat to a new domain / URL you need to edit the config.php file (it’s in the Floatchat folder) and update the Floatchat_URL constant with the new URL.

Minify JS #

For performance reasons, you may want to load the minified main.js file: [floatchat_URL]/js/min/main.min.js. Please note that if you contact us for support you will need to load again the non-minified version.


Requirements #

  • Your web project must support HTML and PHP, and pages containing the chat must be opened via a web browser.
  • You cannot display the chat on a HTML page opened directly on a local computer. Use a local server like Xampp instead.
  • Your server must allow the access of the following file: floatchat/include/ajax.php
  • If you’re using the WordPress version of Floatchat and you have any security plugins installed, please make sure that they don’t block the Floatchat/include/ajax.php file.
  • JQuery 1.1+
  • PHP 7.4+
  • In your server settings, CURLZIP ARCHIVE, must be enabled and working correctly.
  • Read and write file permissions must be granted for the Floatchat Board uploadsresources/language and apps folders. Floatchat must be able to save and read the files in these folders.
  • MySQL 5.5+
  • MySQL – The SQL mode “ONLY_FULL_GROUP_BY”, and the setting “ANSI_QUOTES”, must be disabled.
  • All Floatchat folders should have 755 permissions, all Floatchat files should have 644 permissions.

Once the installation is completed you can check the system requirements from Settings > Miscellaneous > System requirements.

What are your feelings
Scroll to Top