New Zenner
- Join Date:
- Mar 2007
- Posts:
- 7
- Plugin Contributions:
- 0
how to add msn messenger into live help 1.1?
I'm installing live help 1.1 sidebox and make it works.
now I'm going to add msn messenger into the live help.
I had edited the livehelp.sql and inserted theses value:
(NULL, 'Enable MSN?', 'LIVE_HELP_MSN', 'Disable', 'Do you want to enable MSN in Live Help?', @t5, 13, now(), now(), NULL, 'zen_cfg_select_option(array(''Enable'', ''Disable''),'),
(NULL, 'MSN Username', 'LIVE_HELP_MSN_USERNAME', 'Please enter your MSN username', 'Enter your MSN username', @t5, 14, now(), now(), NULL, NULL),
(NULL, 'MSN Style', 'LIVE_HELP_MSN_STYLE', '3', 'Choose your MSN Style', @t5, 15, now(), now(), NULL, 'zen_cfg_select_option(array(''1'', ''2'', ''3'', ''4'', ''5'', ''6''),'),
now at the live help configuration page, there are these items we can config:
Enable MSN?Enable[IMG]http://jeansage.com/admin/images/icon_info.gif[/IMG] MSN Usernameabc AT hotmail DOT com[IMG]http://jeansage.com/admin/images/icon_info.gif[/IMG] MSN Style
I have **http://www.funnyweb.dk/osi/index.php** to get the MSN messenger status and get these code for my MSN ID:
HTML code to put on your web page:
<!-- Begin Online Status Indicator code -->
now I'm going to add these code into tpl_live_help.php file, but I'm losing here.
I want to make these code like below but it doesn't work:
if (LIVE_HELP_MSN == 'Enable') {
$content .= '<A HREF="msnim:chat?contact='.LIVE_HELP_MSN_USERNAME. '>
<IMG border=0 SRC="**http://www.funnyweb.dk:8080/msn/'...SERNAME.'/**
onurl=www.funnyweb.dk/osi/iconset'.LIVE_HELP_MSN_STYLE.'/msnonline.gif/
offurl=www.funnyweb.dk/osi/iconset'.LIVE_HELP_MSN_STYLE.'/msnoffline.gif/
unknownurl=www.funnyweb.dk/osi/iconset'.LIVE_HELP_MSN_STYLE.'/msnunknown.gif"'
align="absmiddle" border="0" width="48" height="25"
'alt="'.BOX_MSN_TITLE .'"
'onerror="this.onerror=null;
this.src=''http://www.funnyweb.dk/osi/iconset'.LIVE_HELP_MSN_STYLE.'/msnunknown.gif';'"' /></A>
}
can anybody help me plz, thanks.
[IMG]http://www.zen-cart.com/forum/images/ZCgreen/buttons/report.gif[/IMG]