Wednesday, January 19, 2011

Comet Chat Installation

Installing CometChat with IPB-----

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 15 minutes from uploading the files to viewing the CometChat bar on your site.

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.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 IPB is installed.

If you access the forums via 'http://www.domain.com/forums/', then look for the directory called 'forums' in the webroot directory.

If you access the forums 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 IPB folder. e.g. http://www.domain.com/forums/cometchat (for the first example) andhttp://www.domain.com/cometchat (for the second example)

CHMOD the following file and folder to 777

cometchat/config.php
cometchat/plugins/filetransfer/uploads



Installation

Step 1

You should now run the installer file through your web browser by entering the URL to it into your browser address bar (if you have followed our example, type inhttp://www.domain.com/forums/cometchat/install.php, naturally substituting 'domain.com' for your web address).

Click on the "Click here to see footer code" link and copy all the contents of this new page.

Step 2

Now log-in to your IPB Admin Control Panel (usually http://www.domain.com/forums/admin)

Under the Look & Feel tab, click on the skin name in which you want to add the bar. Now under Global Templates, select globalTemplate

In the textbox, immediately after the opening head tag add the following:

<head>


The above code will be replaced with:

<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>jqcc=jQuery.noConflict(true);</script>


Just before the closing body tag, paste the copied text:

</body>

http://www.cometchat.com/support/page/documentation?record=23
For example, the above code will be replaced with something like: (only change will be src)

<!-- CometChat Footer Code Start -->
<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>
<!-- CometChat Footer Code End --> 
</body>


Then click on the "Save" button on top of the textbox.

Now delete install.php file from the cometchat folder.

That's all! Now log-in to your site and you will be able to see the CometChat bar. For customizing the text, icons, plugins, theme and modules, please refer to other documents.

Thank you for purchasing CometChat!

No comments:

Post a Comment