Results 1 to 10 of 28

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    460
    Plugin Contributions
    0

    Default Help Center Live - Sidebox code

    After installing this mod. which works well for me! I had problems with the sidebox, so this is the code to use to make it work properly...

    File : \includes\templates\template_default\sideboxes\tpl_livehelp.php
    Replace
    PHP Code:
    <?php

      $content 
    'PUT HERE YOUR JAVASCRIPT FOR HELP CENTER LIVE';
    ?>
    with

    PHP Code:
    <?php
     $content 
    '';
     
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent centeredContent">';
     
    $content .= "\n";
     
     
    $content '<!-- BEGIN Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved -->
                PUT HERE YOUR JAVASCRIPT FOR HELP CENTER LIVE
            <!-- END Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved --><br></center>'
    ;

     
    $content .= '<div style="clear: left;">&nbsp;</div>' "\n";
     
    $content .= "\n";
     
    $content .= '</div>';
    ?>

  2. #2
    Join Date
    Feb 2008
    Posts
    61
    Plugin Contributions
    0

    Default Re: Help Center Live - Sidebox code

    Quote Originally Posted by Scrat View Post
    After installing this mod. which works well for me! I had problems with the sidebox, so this is the code to use to make it work properly...

    File : \includes\templates\template_default\sideboxes\tpl_livehelp.php
    Replace
    PHP Code:
    <?php

      $content 
    'PUT HERE YOUR JAVASCRIPT FOR HELP CENTER LIVE';
    ?>
    with

    PHP Code:
    <?php
     $content 
    '';
     
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent centeredContent">';
     
    $content .= "\n";
     
     
    $content '<!-- BEGIN Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved -->
                PUT HERE YOUR JAVASCRIPT FOR HELP CENTER LIVE
            <!-- END Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved --><br></center>'
    ;

     
    $content .= '<div style="clear: left;">&nbsp;</div>' "\n";
     
    $content .= "\n";
     
    $content .= '</div>';
    ?>

    thanks for the info...

  3. #3

    help question Re: Help Center Live - Sidebox code

    I LOVE this mod!! I need help with a couple issues.

    • First, my image simply refuses to center vertically & horizontally inside the box. (code below)
    • Second, HCL allows operators to initiate a chat with visitors. I've tested my HCL extensively and it works fine outside of ZC. But within ZC, the pop up box notifying visitors that an operator is requesting a chat doesn't appear on the page.

    I know this functionality is working on the HCL side of things, because HCL shows the visitor as "chatting". (This is the status given whether a visitor is actually chatting, or has merely been invited to chat. It's a basic "this person's line is busy" response, to prevent other operators from approaching a visitor once any other operator has already done so).

    Can anyone help with this? Here's my site to view the centering issue: www.empowermentsanctuary.com/marketplace/

    Here is the code controlling both appearance & functionality:

    <?php
    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent centeredContent">';
    $content .= "\n";

    $content = '<!-- BEGIN Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved -->
    <div id="div_initiate" style="position:absolute; z-index:1; top: 40%; left:40%; visibility: hidden;"><a href="javascript:Live.initiate_accept();"><img src="http://www.empowermentsanctuary.com/hcl/templates/Bliss/images/initiate.gif" border="0"></a><br><a href="javascript:Live.initiate_decline();"><img src="http://www.empowermentsanctuary.com/hcl/templates/Bliss/images/initiate_close.gif" border="0"></a></div>
    <script type="text/javascript" language="javascript" src="http://www.empowermentsanctuary.com/hcl/class/js/include.php?live&cobrowse"></script>
    <!-- END Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved --><br>';

    $content .= '<div style="clear: left;">&nbsp;</div>' . "\n";
    $content .= "\n";
    $content .= '</div>';
    ?>
    The code in red controls the Operator Initiate Chat function, whereas the code in blue controls which image shows on the page (either customer service is online, or customer service is offline).

    I've tried changing the style code (in red), but all that does it make boxes that should be invisible until a chat request is sent, visible all the time.

    Any help is greatly appreciated. Thanks in advance
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  4. #4
    Join Date
    May 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Help Center Live - Sidebox code

    I also have the HCL Sidebox working but have another small annoying problem, only on this sidebox i am now missing the bottom border graphic .. pulling my hair out to find out why it is only in this sidebox.

    any help please

    http://store.backituponline.com.au.s...ridserver.com/

  5. #5

    Default Re: Help Center Live - Sidebox code

    Quote Originally Posted by Eagle75au View Post
    I also have the HCL Sidebox working but have another small annoying problem, only on this sidebox i am now missing the bottom border graphic .. pulling my hair out to find out why it is only in this sidebox.

    any help please

    http://store.backituponline.com.au.s...ridserver.com/
    In your stylesheet, find this: (line 570)

    .leftBoxContainer, .rightBoxContainer {
    background-image:url(../images/box001.gif);
    background-repeat:repeat-y;
    margin-top:0px;

    and add a border to change it to this:

    .leftBoxContainer, .rightBoxContainer {
    background-image:url(../images/box001.gif);
    background-repeat:repeat-y;
    margin-top:0px;
    border:2px solid #FF9900;
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  6. #6
    Join Date
    May 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Help Center Live - Sidebox code

    thanx for your help but that didnt work, all it did was put an extra border around the existing border ... any other ideas?

  7. #7
    Join Date
    Sep 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: Help Center Live - Sidebox code

    Quote Originally Posted by Scrat View Post
    File : \includes\templates\template_default\sideboxes\tpl_livehelp.php
    Replace
    PHP Code:
    <?php

      $content 
    'PUT HERE YOUR JAVASCRIPT FOR HELP CENTER LIVE';
    ?>
    with

    PHP Code:
    <?php
     $content 
    '';
     
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent centeredContent">';
     
    $content .= "\n";
     
     
    $content '<!-- BEGIN Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved -->
                PUT HERE YOUR JAVASCRIPT FOR HELP CENTER LIVE
            <!-- END Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved --><br></center>'
    ;

     
    $content .= '<div style="clear: left;">&nbsp;</div>' "\n";
     
    $content .= "\n";
     
    $content .= '</div>';
    ?>
    I am trying to use this as stated. The script file I am trying to add is as inserted below.

    PHP Code:
    <?php
     $content 
    '';
     
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent centeredContent">';
     
    $content .= "\n";
     
     
    $content '<!-- BEGIN Help Center Live Code, Copyright (c) 2005 Help Center Live. All Rights Reserved -->

    <div id="zazacontainer" style="display: none;text-align:center;">
    <script type="text/javascript">
    document.write(unescape("%3Cscript src='
    http://zazachat.zazasoftware.com/livechatclient/scripts/zazamagic.aspx?div=&zimg=11&zazac=13890&iv=&iwidth=109&iheight=53&zzwindow=0&d=0&custom1=&custom2=&custom3=' type='text/javascript'%3E%3C/script%3E"));</script>
        
    <div style="display:block;padding-left:26px;"><a href="http://www.livechatsoftware.com/" title="Live Chat Software" style="text-decoration:none; font-size:9px; color:#000"><b>Live Chat Software</b></a></div>


            <!-- 
    END Help Center Live CodeCopyright (c2005 Help Center LiveAll Rights Reserved --><br></center>';

     $content .= '
    <div style="clear: left;">&nbsp;</div>' . "\n";
     $content .= "\n";
     $content .= '
    </div>';
    ?>
    But it does not work. I have the box active on right. It does not show and I am thinking it is due to the // in this part

    http://zazachat.zazasoftware.com/livechatclient/scripts

    I am using 1.38 zencart

    Any ideas?

 

 

Similar Threads

  1. Help Center Live on checkout pages without sidebox
    By Makoshark in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 28 Apr 2010, 02:55 AM
  2. Help Center Live sidebox image
    By kajunto in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 Jan 2009, 10:01 PM
  3. Center Logo Sidebox, Live Help?
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Dec 2008, 07:46 PM
  4. Help Center Live Sidebox Functionality Issue
    By ScriptJunkie in forum Addon Sideboxes
    Replies: 3
    Last Post: 13 Sep 2008, 08:27 AM
  5. How do I center the Live Help logo in sidebox?
    By vivaraquel in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Jul 2007, 09:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg