Some new features added with the 1.6 release, including:
- Audio/Video Chat
- Handwrite
- Theme Changer
- Translate your site
- Social Networking
- Sharing Tool
- Chatrooms
- Two Player Games
What you will need:
-An installation of SMF 1 or 2
-Access to database(PHPmyadmin)
-SMF Mod - Global Header and Footer(not needed but makes it easier to install header and footer code)
-Cometchat zip file attached to this post
Preparation:
- Install Global Header and Footer Mod(makes the install easier)
- In SMF go to your Admin Panel>Configuration>Server Settings>Core Configuration and get your SMF cookie name as it will be needed later
ow we move on to the install
Step 1 - Upload the cometchat folder for your version of smf (1 or 2) to your forum directory, ex. /forum/cometchat
Step 2 - Open cometchat/config.php
Find:
define( 'DB_USERNAME', 'CHANGE_ME' );
define( 'DB_PASSWORD', 'CHANGE_ME');
define( 'DB_NAME', 'CHANGE_ME' );
define( 'TABLE_PREFIX', 'CHANGE_ME' );
Change the values on the right to match to your smf database configuration.
Find:
list ($ID_MEMBER, $password) = @unserialize(stripslashes($_COOKIE['SMFCookietdr']));
Change "SMFCookietdr" to the name of your smf cookie that you retrieved earlier.
Step 3 - add any buttons you may want within the config.php to link to pages such as facebook or myspace, the buttom images have been included in the images/icons folder
Step 4 - Using a browser navigate to hxxp://yoursitehere/cometchat/install.php
Step 5 - Copy the footer code it gives you after the install (if you get errors here you did something wrong in your config.php)
Step 6 - Now go to your admin panel and then to your global header and footer section. Here you will paste the footer code that was given to you after the install.
Step 7 - Delete install.php
You should now have succesfully integrated cometchat(originally coded for vbul) into SMF
Cometchat file can be downloaded here
http://forum.tdrgg.net/index.php?action=tpmod;dl=item69