Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
The installion was nice. Config was easy. And I plan on donating to your cause ($50)!! I love the chat app. The status seems to change slowly...which is fine.
What file do you modify to change it from a link to images? And what images to you change out for online status and offline status?
Please, help! Great program. Need to finish install ASAP. Then donating soon!
Thanks again.
Nik
Offline
Is it the getstatus.tpl file? How do you modify it for images?
Offline
Ok, so it is...how do you modify it for images?
Offline
http://markwellco.com/online.gifhtttp://markwellco.com/offline.gif
Offline
Try this getstatus.tpl content. I have used your images as source.
function lh_openchatWindow(url,windowname){ window.open(url+'?URLReferer='+escape(document.location),windowname,"menubar=1,resizable=1,width=450,height=420"); return false;}var urlopen= "http://<?=$_SERVER['HTTP_HOST'].erLhcoreClassDesign::baseurl('chat/startchat')?>";var windowname = "startchatwindow";
<?php if (erLhcoreClassChat::isOnline() === true) { ?>document.write('<p><a href="javascript:void()" onclick="lh_openchatWindow(urlopen,windowname)"><img src="http://markwellco.com/online.gif" title="Online"/></a></p>');<? } else { ?>document.write('<p><a href="javascript:void()" onclick="lh_openchatWindow(urlopen,windowname)"><img src="http://markwellco.com/offline.gif" title="Offline"/></a></p>');<? } exit; ?>
Offline
Thank you!
Offline
Pages: 1