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
.
Step 4
Step 5
Select the cometchat.zip
file provided in the package and click Upload
.
Step 6
Once CometChat is installed, CometChat Administration Panel will be displayed.
Additional Settings
Inbox Synchronization: To enable Inbox Synchronization, check Yes
option and click SAVE
.
User Group: To disable CometChat for a particular user group, provide user group id and click SAVE
.
Enable/Disable CometChat bar: To enable/disable CometChat bar, check Yes/No
option respectively and click SAVE
.
.
If you face problem while uploading
cometchat.zip
file, please unzip thecometchat.zip
that has been provided in the package. Place thecometchat
folder in the Crea8social root directory and executecometchat/install.php
fromhttp://<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.