SkaDate

Product:

Installing CometChat as an SkaDate plugin

Step 1

You will find two zip files inside the ‘cometchat_UNZIP_FIRST’ folder. Unzip the ‘skadate.zip’ file and merge the extracted ‘ow_plugins’ folder with the existing ‘ow_plugins’ directory of your site.

Step 2

Log in to SkaDate administration panel, go to ‘PLUGINS > Available Plugins’.

Step 3

Find ‘CometChat’ under the list of ‘AVAILABLE PLUGINS > Plugins to Install’ and click INSTALL.

oxwall1

Step 4

Go to ‘PLUGINS > Installed Plugins’. Find and select ‘CometChat’ under ‘INSTALLED PLUGINS > Active Plugins’ and click SETTINGS.

skadate

Step 5

Select the ‘cometchat.zip’ file provided in the package and click UPLOAD.

oxwall3

Note: 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 skadate root directory and execute ‘cometchat/install.php’ from “http://<path_to_skadate>/cometchat/install.php”. Also, CHMOD the following folder to 777 (recursively):
/cometchat/writable/

Step 6

Once the CometChat is installed successfully on your site, the CometChat Administration Panel will be displayed.

oxwall4

Additional Settings:

User Group:
You can hide CometChat for specific groups by simply entering the user group’s ID in the ‘Hide CometChat from’ field and click SAVE SETTINGS.

oxwall5

Hide CometChat:
You can hide CometChat bar from your site by entering ‘all’ in the ‘Hide CometChat from’ field and click SAVE SETTINGS.

oxwall6

Inbox Synchronization:
Check “Yes” to enable Inbox Synchronization and click SAVE SETTINGS.

oxwall7

Note: The inbox synchronization will work only if SkaDate’s mailbox plugin is installed and activated. Also, ensure that message mode of that plugin is set to ‘Chats’ or ‘Mails + Chat’.

Activate / Deactivate CometChat:
To activate / deactivate CometChat on your site, go to ‘PLUGINS > Installed Plugins’. Find ‘CometChat’ under ‘INSTALLED PLUGINS > Active Plugins / Inactive Plugins’ and click DEACTIVATE / ACTIVATE respectively.

oxwall8

Step 1: Configuration

Add the following code to your site template and update the variables to output the logged in user’s information.

<script>
var chat_name = 'LOGGEDIN_USERS_NAME';
var chat_id = 'LOGGEDIN_USERS_UNIQUE_ID';
var chat_avatar = 'LOGGEDIN_PROFILE_IMAGE';
var chat_link = 'LOGGEDIN_USERS_PROFILE_LINK';
var chat_role = 'USER_ROLE';
</script>

Step 2: Add CometChat

How to add Docked Layout Or Embedded Layout?

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

  • Was this helpful?
  • Yes   No