Crea8Social

Product:

Uploading

Step 1

You will find two zip files inside the cometchat_UNZIP_FIRST folder. Unzip the crea8social.zip file and merge the extracted plugins folder with the existing plugins directory of your site.

Step 2

Log in to Crea8social Administration Panel and from the left menu, go to Plugins Manager > Manage.

Step 3

Find and select CometChat under the list of Plugins and click Activate.

![Screenshot1](https://support.cometchat.com/documentation/wp-
content/uploads/sites/2/2016/09/Screenshot1-1-1024×550.png)

Step 4

Go to Settings > CometChat.
Screenshot2

Step 5

Select the cometchat.zip file provided in the package and click Upload.
Screenshot3

Step 6

Once CometChat is installed, CometChat Administration Panel will be displayed.
Screenshot4

Additional Settings

Inbox Synchronization: To enable Inbox Synchronization, check Yes option and click SAVE.
Screenshot5

User Group: To disable CometChat for a particular user group, provide user group id and click SAVE.
screenshot7

Enable/Disable CometChat bar: To enable/disable CometChat bar, check Yes/No option respectively and click SAVE.
Screenshot6 .

If you face problem while uploading cometchat.zip file, please unzip the cometchat.zip that has been provided in the package. Place the cometchat folder in the Crea8social root directory and execute cometchat/install.php from http://<path_to_crea8social>/cometchat/install.php. Also, CHMOD the following folder to 777 (recursively): /cometchat/writable/

Step 1: Configuration

Add the following code to themes->frontend->ACTIVE_THEME->html->layouts->header.phtml just before the

<script>
  var chat_id = "<?php echo get_userid();?>";
  var chat_name = "<?php echo get_first_name();?>";
  var chat_avatar = "<?php get_avatar(75);?>";
  var chat_link = "<?php echo profile_url();?>";
</script>

Step 2: Add CometChat

Select a layout of your choice and click on “Add To Site” button to proceed.

  • Was this helpful?
  • Yes   No