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 MSN Usernameabc AT hotmail DOT com 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:
[FONT=Times New Roman]Line #:
1
2
3
4
5[/FONT][FONT=Times New Roman]HTML code to put on your web page:
<!-- Begin Online Status Indicator code -->
<!-- http://www.onlinestatus.org/ -->
<A HREF="http://www.funnyweb.dk:8080/message/msn/abc##########################">
<IMG SRC="http://www.funnyweb.dk:8080/msn/abc##########################/
onurl=www.funnyweb.dk/osi/iconset2/msnonline.gif/
offurl=www.funnyweb.dk/osi/iconset2/msnoffline.gif/
unknownurl=www.funnyweb.dk/osi/iconset2/msnunknown.gif"
align="absmiddle" border="0" width="48" height="25"
alt="MSN Online Status Indicator"
onerror="this.onerror=null;
this.src='http://www.funnyweb.dk/osi/iconset2/msnunknown.gif';"></A>
<!-- End Online Status Indicator code -->[/FONT]
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/'.LI...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, after I finish this job, I will release this update to download area.thanks.
Bookmarks