1. Joomla version 3.2 and higher
2. Joomla version lower than 3.2
JomSocial with Joomla version 3.2 and higher
Introduction
This guide will help you through the installation process and get CometChat running on your site.
Installation is very straight forward, only taking about 5 minutes from uploading the files to viewing the CometChat bar on your site.
You do not need programming knowledge to install CometChat.
This guide assumes that you have successfully downloaded the latest release of CometChat and have the zip file “unzipped” and ready to go. If not, you can download the package from your client area.
The instructions will term the zip file you downloaded as cometchat_UNZIP_FIRST.zip. Extract this zip to a local folder.
Installation
Step 1
Log in to JomSocial administration panel and navigate to Extension Manager.
Step 2
Install CometChat extension by browsing and choosing jomsocial.zip from cometchat_UNZIP_FIRST.zip.
Step 3
Click on Upload and Install button.
Step 4
After successful installation of extension, you will find CometChat under component menu. Click CometChat component.
Step 5
It will ask you to browse the cometchat.zip. Browse cometchat.zip and click install.
This will install CometChat successfully.
Additional Settings
On clicking the CometChat component in the Component menu, you will be asked to click on “Access CometChat Admin Panel”.
Over here you will find the additional settings.
With the help of additional settings, you can synchronize your inbox messages with JomSocial and you can show CometChat for a specific usergroup.
Upgrading CometChat
To upgrade CometChat to its latest version on your site, download CometChat package from ‘https://my.cometchat.com/’. Unzip the cometchat_UNZIP_FIRST.zip and upload the new ‘cometchat.zip’ and click Install.
JomSocial with Joomla version lower than 3.2
Introduction
Before you begin, you will need an FTP client, if you do not have one, some popular solutions include FileZilla (free) or CuteFTP (trial).
You do not need programming knowledge to install CometChat, but a working knowledge of FTP functions is a plus.
This guide assumes that you have successfully downloaded the latest release of CometChat and have the zip file “unzipped” and ready to go. If not, you can download the package from your client area.
The instructions will term the zip file you downloaded as cometchat_UNZIP_FIRST.zip. Extract this zip to a local folder. You should now have a file named cometchat.zip.
Uploading
At this point, you should have the zip archive cometchat.zip and find a single folder- “cometchat”.
If you don’t know already, find out the folder in which JomSocial is installed.
If you access your JomSocial site via ‘http://www.domain.com’, then look for the webroot directory.
The “webroot” directory is usually ‘public_html’ or ‘www’, but this varies from server to server so if you’re unsure, contact your hosting provider.
Using your FTP client, copy the cometchat folder inside your JomSocial folder. e.g. http://www.domain.com/cometchat
Installation
Step 1
Login to your Joomla Administration (usually http://www.domain.com/administrator)
Step 2
Under the Extensions tab, select the Template Manager option.
Step 3
Now select the template which has a star next to it i.e. the template in which you want to add CometChat.
Step 4
Click on the Edit HTML button (top-right corner)
Step 5
Immediately after the opening head tag add the copied code:
<head>
<link type="text/css" rel="stylesheet" media="all" href="/cometchat/cometchatcss.php" charset="utf-8" />
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
If you are unable to find
<head>
tag, then please add the code manually using this guide.