Topic: Chat room integration
First of all download this chat script from link give below
download link : http://adf.ly/AYWb
How to install:
Create an empty database using PhpMyAdmin or a similar program depending on the database engine you are about to use.
Unzip the files from the TAR.GZ archive in an empty directory keeping the directory structure. You can use 7-ZIP, WinZip, WinRar or any other archive extractor.
Open config.php by a text editor and set the following variables: $dbss['user'] - database user, $dbss['pass'] - database password and $dbss['name'] - database name.
Upload the whole directory (and all files/subdirectories in it) to your server with an FTP program.
Load install.php in your web browser:
http://yoursite.com/blab_im/install.php and follow the instructions.
Remove install.php, go to http://yoursite.com/blab_im/ and you should be able to see BlaB! IM which indicates that you completed the install successfully.How to embed it in sharetronix site
Make sure that in blab_im/config.php you've set properly $site_to_bim and $bim_to_site:
$site_to_bim='./blab_im/'; // URL or relative path from your main site to BLAB!IM, default: $site_to_bim='./blab_im/'; [must end with a trailing slash]
$bim_to_site='../'; // URL or relative path from BLAB!IM to your main site, default: $bim_to_site='../'; [must end with a trailing slash]After making sure go to themes/your theme/html/footer.php
find
<div id="subfooter">and after that place this code
<script type="text/javascript" src="[color=#cc0000]./blab_im/bar.php[/color]"></script>where ./blab_im/bar.php can be either full URL: http://yoursite.com/blab_im/bar.php
For Facebook like look:
1) Go to ADMIN CP -> Look & Feel -> Bar Style copy/paste in the textarea and SAVE:
font-size:10px;
font-family:tahoma,sans-serif;
color:#000;
background-color:#E5E5E5;
margin:0px;
padding:0px;
font-weight:bold;
text-transform:uppercase;
width:auto;
height:auto;
position:fixed;
float:left;
top:auto;
bottom:2px;
left:auto;
right:2px;
border:1px solid #B5B5B5;
z-index:1;2) Go to ADMIN CP -> Look & Feel -> Bar Elements copy/paste in both textareas and SAVE:
1st textarea:
<div style="border:1px solid #fff;padding:5px;padding-top:2px">
<img src="[color=#aa0000][b]XXXXXXX[/b][/color]/skin_tower/images/menu_users.png" style="border-width:0px;position:relative;top:3px" />
{ONLINE_LINK}{ONLINE_LANG}: {ONLINE_NUM}{CLOSE_LINK}
<span style="color:#aaa">|</span>
<img src="[color=#aa0000][b]XXXXXXX[/b][/color]/skin_tower/images/menu_settings.png" style="border-width:0px;position:relative;top:3px" />
{SETTINGS_LINK}{SETTINGS_LANG}{CLOSE_LINK}
<span style="color:#aaa">|</span>
<img src="[color=#aa0000][b]XXXXXXX[/b][/color]/skin_tower/images/menu_help.png" style="border-width:0px;position:relative;top:3px" />
{HELP_LINK}{HELP_LANG}{CLOSE_LINK}
</div>2nd textarea:
<div style="border:1px solid #fff;padding:5px;padding-top:2px">
<img src="[color=#aa0000][b]XXXXXXX[/b][/color]/skin_tower/images/menu_chats.png" style="border-width:0px;position:relative;top:3px" />
{CHATS_LINK}{CHATS_LANG}: {CHATS_NUM}{CLOSE_LINK}
</div>Do not forget to replace XXXXXXX with a full URL of the folder where BlaB! IM is installed, e.g. http://yoursite.com/blab_im
All you have done.
