Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  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

    Default Re: Help Center Live - Sidebox code

    Awww, I'm sorry that didn't work. I'm afraid that's the only idea I had. Being new to Zen Cart myself, my knowledge is very limited.

    Hopefully, someone who knows more than you and me will come along and answer both of our questions
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  8. #8

    help question Re: Help Center Live - Sidebox code

    Hey Eagle,

    Here's another thread that specifically addresses your issue. I don't know if this resolution will work for you or not, but it might get you pointed in the right direction.

    http://www.zen-cart.com/forum/showth...accept+sidebox

    In the meantime, is there anyone out there who can help me resolve my issues?
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  9. #9

    Default Re: Help Center Live - Sidebox code

    Addendum added to original Post:

    Quote Originally Posted by ScriptJunkie View Post
    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).

    Addendum: Re: The second issue involving the chat request not reaching the visitor: Firebug gives me this error: uncaught exception: Permission denied to get property Window.CoBrowse Line 0

    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, but all that does is either make boxes that should be invisible until a chat request is sent, visible all the time, or make the box itself about 2.5 times the size of the image.

    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

  10. #10

    application error Re: Help Center Live - Sidebox code

    I added this to my CSS.

    #livehelpsideBox {
    align:center;
    }

    #livehelpsideBoxContent {
    align:center;
    }

    It had no effect.

    So then I tried this:

    #livehelpContent {
    align:center;
    }

    No effect. I've since removed it.

    Suggestions welcome.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

 

 
Page 1 of 3 123 LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR