Kayako logo
Modifications & Addon Releases Modification guides and addons are posted here to share with the community. Do not post requests in here!

Notices

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
B00MER Offline
New Member
 
Posts: 6
Join Date: Jan 2006
Talking Fix - 18-09-2006, 06:05 PM

Scenerio, kayako installed under subdir /support/ off public_html

Edit modules/livesupport/visitor_htmlcode.php

Locate:

PHP Code:
ob_start(); 
BEFORE this line add:

PHP Code:
$_SWIFT["swiftpath"] = "/support/"
Next locate:

PHP Code:
$proactivetmpl $template->displayTemplate("proactivechatdiv"); 
Change this line to:

PHP Code:
$proactivetmpl eregi_replace('http://www.yourdomain.com/support/',"/support/",$template->displayTemplate("proactivechatdiv")); 
Next locate:

PHP Code:
document.write("<?php echo addslashes(str_replace("\n"""str_replace("\r\n""\n",$template->displayTemplate("chatimage")))); ?>");
Change this line to:

PHP Code:
document.write("<?php echo addslashes(str_replace("\n"""str_replace("\r\n""\n",eregi_replace('http://www.yourdomain.com/support/',"/support/",$template->displayTemplate("chatimage"))))); ?>");
Also be sure you are using https within the JS include statement that you've pasted anywhere:
Code:
<!-- Begin SupportSuite Javascript Code -->
<script language="javascript" src="https://www.yourdomain.com/support/visitor/index.php?_m=livesupport&_a=htmlcode"></script>
<!-- End SupportSuite Javascript Code -->
This should cause the JS to load over HTTPS, and any subsequent image requests from within visitor_htmlcode.php that the above script src includes to be rewritten to just /support/ instead of http://www.yourdomain.com/support/ making the Mixed HTTP/HTTPS errors disappear.

NOTE, obviously your going to want to change www.yourdomain.com and support to your relative kayako installation domain and directory.

Hope this helps anyone out, until Kayako can come up with a better out of box resolution.
   
Reply With Quote
  (#2) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,660
Join Date: Jan 2006
Location: United Kingdom
14-10-2007, 02:11 PM

Post copied to a new thread, thank you boomer


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#3) Old
bear Offline
Community Moderator
 
Posts: 674
Join Date: Jan 2005
14-10-2007, 02:21 PM

Agreed, this was a great fix. Thanks Boomer!
   
Reply With Quote
Reply

Tags
make, ssl, supportsuite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Regex validation and custom fields (how to make it work?) richm SupportSuite, eSupport and LiveResponse 8 24-12-2007 11:19 PM
Make Email Work :) ScottGBlood How do I? 29 30-07-2007 01:19 PM
can't make piping work on OS X Tiger bradycreel E-mail Piping Issues 1 07-04-2006 05:04 AM



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48