Done. Thanks to Dylert for providing a test license.
Tested and developed using cometchat version 1.60 using WAMP:
Apache 2.2, PHP 5.28 MySQL: 5.1.36
Instructions:
1) Download your files from the cometchat site.
2) Download the "config.php" file for dragon fly (see download).
3) Open config.php file for DragonFly and set the server path to the "dragonfly" directory on line:7:
$dragonfly_path ='/home/domainNameUsername/public_html/';
** Don't forget the trailing slash "/":
4) Set your ADMIN & PASSWORD for your Chat Admin Interface
5 Edit your preferences, plugins, default theme etc (NOT The database settings, the config files set the DB configuration based on dragonfly DB configuration).
By default his config file uses the $prefix_session table to display a "friend list", but if you're already using the Buddys Module for dragon file you can use it to generate the friend list for your chat.
To use the Buddy list option, find the getFriendsList function ( line 207 ) and un/comment the $sql lines (see instructions on the config file).
6) Save the confg file.
7) Edit & save changes on:
/cometchat/cometchat_receive.php
find (about line 199)
| PHP: |
$link = getLink($chat['link']);
|
and change it to
| PHP: |
$link = cc_getLink($chat['link']);
|

Edit & save changes on:
/cometchat/cometchat_getid.php
find : (about line 83)
| PHP: |
$link = getLink($chat['link']);
|
and change it to:
| PHP: |
$link = cc_getLink($chat['link']);
|
9) Upload the /comechat dir and its contents
10) CHMOD the following files and folder to 777
cometchat/config.php
cometchat/plugins/filetransfer/uploads
** Thats the cometchat instructions (suggestion) but for security you should set the permissions for the config file to 644 (once installed) and 755 for the cometchat/plugins/filetransfer/uploads dir
11) Go to yoursite.com/cometchat/install enter your comet chat username and password, click & and install the chat.
12) Once installed delete the install.php file and SET permissions to 644 to the config file
13) On your Dragonfly Theme dir, open header.html && BEFORE the "</head>" tag add:
<link type="text/css" rel="stylesheet" media="all" href="/cometchat/cometchatcss.php" charset="utf-8" />
14) Open the footer.html for your theme(s) and Add just before the </body>:
if you are NOT using jquery on your site:
| Code:: |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> |
AND
| Code:: |
<!-- IF S_IS_USER -->
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
<!-- ENDIF --> |
15) Save your templates and upload the modificated files (repeat steaps 13 & 14 for each theme on your site).
16) Go to yoursite.com/cometchat/admin & log in using your COMETCHAT Admin user and password and create some chat Rooms.
17) Buy me a Beer.
18) Enjoyt it. Optional, repeat 17 for yourself!