Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2012-11-21 19:33:15

Please help...donations forthcoming
Member
Registered: 2012-11-21
Posts: 8

Please help!

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

https://groups.google.com/forum/#!topic … EoD3MDfTmw

Offline

#2 2012-11-21 19:51:24

Please help...donations forthcoming
Member
Registered: 2012-11-21
Posts: 8

Re: Please help!

Is it the getstatus.tpl file? How do you modify it for images?

Offline

#3 2012-11-21 20:10:04

Please help...donations forthcoming
Member
Registered: 2012-11-21
Posts: 8

Re: Please help!

Ok, so it is...how do you modify it for images?

Offline

#4 2012-11-21 20:41:37

Please help...donations forthcoming
Member
Registered: 2012-11-21
Posts: 8

Re: Please help!

http://markwellco.com/online.gifhtttp://markwellco.com/offline.gif

Offline

#5 2012-11-21 21:03:13

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Please help!

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

#6 2012-11-21 21:17:48

Please help...donations forthcoming
Member
Registered: 2012-11-21
Posts: 8

Re: Please help!

Thank you!

Offline

Board footer