Jump to content

Live Chat Integration - new header.tpl does not work!


CCSupport

Recommended Posts

Hello all,

 

I have just purchased live chat. I have installed it (via the install dir), however I am having difficulty with the 'new' Header.tpl that came with the installation folder....in a few words...it kills my CSS for the client area!

 

If I use the standard header.tpl the header looks fine, however as soon as I upload the replacement header.tpl all of the header in the client area turns to just text with the logo at the top. I am guessing the header.tpl is from a different version of WHMCS?? I am running 5.1.2.

 

Has anyone had this problem?

 

Any help would be really appreciated right now otherwise I might as well use a different product!

 

Cheers

 

G

Link to comment
Share on other sites

To add to my post above, I have a sneaking suspicion that the installation notes are out of date! If they are, this boy isn't happy! I would expect up to date installation notes after payment at least.

 

Firstly, it says to add the livechat js line into the header...however as default it already is there. Secondly, I have copied the exact text from the external integration ('Outside WHMCS) section of this page changing the server and it dies a good old death on my test page. I mist be not getting this right!

Link to comment
Share on other sites

Thanks for the reply. I will look at the article for the integration. Cheers

 

If there is anyone that can answer the header.tpl issue it would be appreciated. Someone must have downloaded the installation 'upload_me' files and found that the header.tpl broke their client area!

Link to comment
Share on other sites

Yup, definitely breaks it. I have had that confirmed by WHMCS Support. Even though it's not documented the header.tpl which is included in the installation upload is only for older WHMCS versions! If only there was a 'read me' file that contained that little bit of information I wouldn't be grey right now!

 

I am waiting back about a related Live Chat issue but still not getting anywhere......

 

I am trying to integrate the Live Chat into my main website. The main website is actually on a different server. So I have portal.domain.com for my WHMCS installation and domain.com on an entirely different hosting space. This is so I can put the main site on my main dedicated server.

 

Anyway, my issue is that even though I have put the correct code into the <head> and added the code within the <body> for some reason when I click on the Live Chat link/button if goes nowhere. Now I know that the link has an 'href' which actually just has a '#' as the reference....now usually I would put a link in there, however it looks like that's not what is needed here.

 

Anyone take a look at this code and tell me what could be going wrong?

 

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>This web site is under construction</title>
<style type="text/css">
BODY { color: #444444; background-color: #E5F2FF; font-family: verdana; margin: 0px; }
#PageOutline { text-align: center; margin-top: 300px; }
A { color: #0153A4; }
H1 { font-size: 16pt; margin-bottom: 4px; }
H2 { font-size: 14pt; margin-bottom: 4px; font-weight: normal; }
</style>
<script type="text/JavaScript" src="https://portal.domain.com/modules/livehelp/scripts/jquery-latest.js"></script>
<script type="text/javascript">
<!--
var LiveHelpSettings = {};
LiveHelpSettings.server = 'portal.domain.com/';
LiveHelpSettings.embedded = true;

(function(d, $, undefined) { 
	$(window).ready(function() {
		var LiveHelp = d.createElement('script'); LiveHelp.type = 'text/javascript'; LiveHelp.async = true;
		LiveHelp.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + LiveHelpSettings.server + '/livehelp/scripts/jquery.livehelp.js';
		var s = d.getElementsByTagName('script')[0];
		s.parentNode.insertBefore(LiveHelp, s);
	});
})(document, jQuery);
-->
</script>
</head>
<body>
<div id="PageOutline">
<h1>This website is still under construction.</h1>
<h2>Hosted by <a href="http://www.domain.com">Company Name</a>.</h2>
   <a href="#" class="LiveHelpButton default"><img src="https://portal.domain.com/modules/livehelp/include/status.php" id="LiveHelpStatusDefault" name="LiveHelpStatusDefault" border="0" alt="Live Help" class="LiveHelpStatus"/></a>
</div>
   <a href="#" class="LiveHelpButton">Chat With Us Live</a>
</body>
</html>

 

Any help would be great!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated