Zen Cart Logo
Forums / Addon Sideboxes / craftysyntax Live Help module HELP!

craftysyntax Live Help module HELP!

Views: 26,988

Results 1 to 20 of 44
17 May 2008, 12:55 PM
#1
pantsman avatar

pantsman

New Zenner

Join Date:
Apr 2008
Location:
UK
Posts:
5
Plugin Contributions:
0

craftysyntax Live Help module HELP!

I have installed craftysyntax live help and installed the appropriate module sidebox (which may be out of date as its quite old!). I am running v1.3.7.

However I'm now stuck!

I have generated the HTML code from craftysyntax but am totally lost as to where abouts to place it in "\includes\templates\template_default\sideboxes\tpl_craftysyntax_sidebox.php"

Have tried filling in the details from the readme file that comes with the sidebox mod but that just gives me a sidebox called Live Help with nothing there!

Can anyone offer any assistance?

17 Jun 2008, 4:13 PM
#2
cebu4u avatar

cebu4u

New Zenner

Join Date:
Jun 2008
Posts:
2
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

Find the help_sidebox_defines.php page and replace the text with your Crafty Syntax code

1 Nov 2008, 6:21 PM
#3
gtalwar avatar

gtalwar

New Zenner

Join Date:
May 2008
Posts:
7
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

Even i am facing the same issue, can some one help, I just get a blank side box without anything, I have followed the installation instructions, nothing seems wrong

15 Dec 2008, 7:52 PM
#4
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

No Go: Cannot get the code into the right place within ZenCart. When I insert it pages go blank or cannot display cart information.

Where doe the code go once we load the Cragty Sidebox which is Blank after uplaoding files. Thanks.

16 Dec 2008, 4:11 AM
#5
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

I can run the client from a separate html page created by the Generate HTML, but on my site under the sidebox it doesn't show.

the html that Zen Cart generates is

<div class="rightBoxContainer" id="craftysyntaxsidebox" style="width: 125px;">
<h3 class="rightBoxHeading" id="craftysyntaxsideboxHeading">Live Help</h3>
<div id="craftysyntaxsideboxContent" class="sideBoxContent centeredContent"><script type="text/javascript" src="/http://www.nahidfashions.com/livehelp/livehelp_js.php?department=2&pingtimes=15&username=Guest"></script></div></div>
```This should work because the html file that I'm using to test is

**[Live Help](http://www.nahidfashions.com/livehelp.html)

**Can anyone tell me what's wrong with the Zen Cart generated code.
16 Dec 2008, 4:18 AM
#6
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

MagicMan:

No Go: Cannot get the code into the right place within ZenCart. When I insert it pages go blank or cannot display cart information.

Where doe the code go once we load the Cragty Sidebox which is Blank after uplaoding files. Thanks.

My sidebox is still blank, but just so that you are correctly installed, you must edit the
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_craftysyntax_sidebox.php

see the readme file that comes with CSLH for the edits that are needed.

16 Dec 2008, 9:21 AM
#7
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

I got it to work and it is pretty cool for a free app. This is what I did.

Forget the Crafty Syntax Sidebox. Too confusing.

I installed the blank sidebox located in the mods section. In the Zen downloads area do a search for Blank Sidebox. Upload files to correct directories. Make sure you are using your custom template.

Install the Blank Sidebox and look at it on your web site first so that you can get a good understanding of the changes that you will make and how it affects the side box.

Generate the code from Crafty Syntax program and insert it into this Blank SideBox File by replacing this text: "You can include text, links, images, HTML markup and even PHP code" I removed the <P></P> make sure to leave the ' '.

I also removed this entire line from same file:

$content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';

Once I did this, the Crafty Chat image was perfectly centered and all extra space was gone. Works great!

Here is the file to edit and place the code:

 >>>includes/templates/YOURTEMPLATE/sideboxes/tpl_blank_sidebox.php

You will also have to edit this file as well. These are the changes that I made:

includes/languages/english/extra_definitions/YOURTEMPLATE/blank_sidebox_defines.php

define('BOX_HEADING_BLANK_SIDEBOX', 'Live Chat Help');
define('TEXT_BLANK_SIDEBOX', 'Status:');

Good luck and hope this helps.

Merry Christmas!:clap:

16 Dec 2008, 11:35 AM
#8
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

MagicMan:

I got it to work and it is pretty cool for a free app. This is what I did.

Forget the Crafty Syntax Sidebox. Too confusing.

I installed the blank sidebox located in the mods section. In the Zen downloads area do a search for Blank Sidebox. Upload files to correct directories. Make sure you are using your custom template.

Install the Blank Sidebox and look at it on your web site first so that you can get a good understanding of the changes that you will make and how it affects the side box.

Generate the code from Crafty Syntax program and insert it into this Blank SideBox File by replacing this text: "You can include text, links, images, HTML markup and even PHP code" I removed the <P></P> make sure to leave the ' '.

I also removed this entire line from same file:

$content .= '<p>' . TEXT_BLANK_SIDEBOX . '</p>';

Once I did this, the Crafty Chat image was perfectly centered and all extra space was gone. Works great!

Here is the file to edit and place the code:

 >>>includes/templates/YOURTEMPLATE/sideboxes/tpl_blank_sidebox.php

You will also have to edit this file as well. These are the changes that I made:

includes/languages/english/extra_definitions/YOURTEMPLATE/blank_sidebox_defines.php

define('BOX_HEADING_BLANK_SIDEBOX', 'Live Chat Help');
define('TEXT_BLANK_SIDEBOX', 'Status:');

Good luck and hope this helps.

I thought about doing this, or just gutting the tpl_craftysyntax_sidebox.php and replacing it with the generated html, but I'm going to play around with the current code to figure out why it doesn't work.

Anyway thanks for letting us know this works as an alternative.

16 Dec 2008, 1:28 PM
#9
grace38 avatar

grace38

New Zenner

Join Date:
Dec 2008
Posts:
41
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

If your host has Fantastico just install Crafty Syntax and use EZ pages in your Zencart to activate as a sidebox - Pretty simple to do that rather than alter any html files and thats what i did as all you need to do is insert some code into the EZ pages box then activate it as a sidebox.

I uninstalled Crafty though because it seems every 3 months or so it gets hacked and i decided i can live without a Help module.

16 Dec 2008, 2:36 PM
#10
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

What happens when it gets hacked? Does it screw up your Zen Cart Also?

17 Dec 2008, 12:57 AM
#11
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

Grace38:

If your host has Fantastico just install Crafty Syntax and use EZ pages in your Zencart to activate as a sidebox - Pretty simple to do that rather than alter any html files and thats what i did as all you need to do is insert some code into the EZ pages box then activate it as a sidebox.

I uninstalled Crafty though because it seems every 3 months or so it gets hacked and i decided i can live without a Help module.

What version are you using?
There are security issues with the version 2.14.6 that's downloaded from the Zen Cart add on section.

The newer version 2.15 can be downloaded from their website and fixes SQL injection and Cross Site Scripting vulnerabilities.

17 Dec 2008, 1:16 AM
#12
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

I am using Version 2.15.0.

I installed it vis Fantastico and it was quite simple to do. The sidebox took a bit but that worked out great too.

17 Dec 2008, 1:22 AM
#13
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

gtalwar:

Even i am facing the same issue, can some one help, I just get a blank side box without anything, I have followed the installation instructions, nothing seems wrong

MagicMan:

No Go: Cannot get the code into the right place within ZenCart. When I insert it pages go blank or cannot display cart information.

Where doe the code go once we load the Cragty Sidebox which is Blank after uplaoding files. Thanks.

There are some code syntax error in the tpl_craftysyntax_sidebox.php file that's in the download.

There are two lines that need to be edited. the line numbers I give are not exact.

around line 57 should be

$cs_link = $cs_dir . '/' . 'livehelp_js.php?department=' . $cs_dept . '&pingtimes=' . $cs_pingtimes . '&username=' . $cs_full_name;
```around line 60 should be

$cs_link = $cs_dir . '/' . 'livehelp_js.php?department=' . $cs_dept . '&pingtimes=' . $cs_pingtimes;

<script type="text/javascript" src="/http://www.nahidfashions.com/livehelp/livehelp_js.php.... ```will not work because of the **/** before the **http:// **I'm still working configuring and tweaking, but after making this change the Crafty Syntax shows in its side box. I hope this is clear and helps all.
17 Dec 2008, 1:24 AM
#14
shocker avatar

shocker

Zen Follower

Join Date:
Jul 2007
Location:
Jakarta
Posts:
346
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

MagicMan:

I am using Version 2.15.0.

I installed it vis Fantastico and it was quite simple to do. The sidebox took a bit but that worked out great too.

Grace38:

If your host has Fantastico just install Crafty Syntax and use EZ pages in your Zencart to activate as a sidebox - Pretty simple to do that rather than alter any html files and thats what i did as all you need to do is insert some code into the EZ pages box then activate it as a sidebox.

I uninstalled Crafty though because it seems every 3 months or so it gets hacked and i decided i can live without a Help module.

I curious as to what version Grace38 is using.

21 Dec 2008, 12:19 AM
#15
vwebworld avatar

vwebworld

New Zenner

Join Date:
Mar 2005
Location:
South coast of MA, USA
Posts:
72
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

I have crafty syntax installed on another domain.
I have gotten it to work on the zencart site BUT, I get a secure / unsecure message when I go to
the ssl side of the site.

Any thoughts on how to eliminate this error message.

~Roalnd

21 Dec 2008, 12:48 AM
#16
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

I know the answer...I was getting the same message with my SSL certificate and My Trustwave Logo. The only thing that is insecure is the image. Try putting the "s" after the http for the image tag.

Or, if you ar running the crafty syntax code form the https, try loading your image into the https folder.

Hope this helps. Play around with this because I am sure that this is the fix.

21 Dec 2008, 6:25 AM
#17
vwebworld avatar

vwebworld

New Zenner

Join Date:
Mar 2005
Location:
South coast of MA, USA
Posts:
72
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

I'm running crafty syntax from a different domain and it does not have an SSL.

My Zencart does have an SSL... but the link in the Znecart sidebox for live help goes to a non-SSL domain.

21 Dec 2008, 11:58 AM
#18
magicman avatar

magicman

Zen Follower

Join Date:
Oct 2007
Location:
MA, USA
Posts:
385
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

I am no expert because I just installed this less than a week ago for myself. However, under the "Department" tab there is a link to generate the HTML. In this section there is a boz that reads "Does the site use secure SSL? " Have you checked the appropriate box for non SSL? If so, try them both and see what happens.

What site is it for? Let me take a look.

21 Dec 2008, 7:03 PM
#19
vwebworld avatar

vwebworld

New Zenner

Join Date:
Mar 2005
Location:
South coast of MA, USA
Posts:
72
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

Hi Kevin,

Yeah, I tried both with and without SSL.

I ended up just making a link to the live help and used that in my ZenCart sidebox.

houseofjerky.net/store

~Roland

6 Apr 2009, 1:30 AM
#20
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: craftysyntax Live Help module HELP!

shocker:

There are some code syntax error in the tpl_craftysyntax_sidebox.php file that's in the download.

There are two lines that need to be edited. the line numbers I give are not exact.

around line 57 should be

$cs_link = $cs_dir . '/' . 'livehelp_js.php?department=' . $cs_dept . '&pingtimes=' . $cs_pingtimes . '&username=' . $cs_full_name;

> ```
$cs_link = $cs_dir . '/' . 'livehelp_js.php?department=' . $cs_dept . '&pingtimes=' . $cs_pingtimes;
```If you notice, the original two lines have a **'/' .** after the **= **symbol. This causes the source string to the **livehelp_js.php **to be incorrect. For instance: 
> ```
<script type="text/javascript" src="/http://www.nahidfashions.com/livehelp/livehelp_js.php....
```will not work because of the **/** before the **http://
> **

Thank you, Thank you, Thank you. I installed the Crafty Syntax sidebox mod and NOW it is working ALMOST perfectly on my site. Since I have spent most of the day scouring both the zencart and craft syntax forums and found only bits and pieces of answers, yet many people all with similar issues I decided to take a few minutes and post the solutions I found in one place.

*I realize this is NOT a Crafty Syntax forum, however, having received so much benefit from Zencart and open-source software I thought it might help a fellow zenner someday that may really need live-chat software and feel like they'll need to PAY for live-chat out or find an alternate e-commerce solution out of desperation... *

So here are the steps I took and issues and fixes I encountered:

1. Downloaded and Installed the CS Sidebox mod
2. Upgraded CS to Version 2.15.0 (via CS website download)


**
1st ISSUE: the Live Help sidebox was empty** 
FIX: made an adjustment to the \includes\templates\template_default\sideboxes\tpl_craftysyntax_sidebox.php file

the instructions in the README.TXT in the  the instructions read:

// Directory where Crafty Syntax Live Help is installed
$cs_dir = "[B]help[/B]";

'help' should actually be the name of the folder you uploaded Crafty Syntax to (in my case /livehelp). *I had originally put 'help' in this space trying to follow instructions :blush:  I found this solution on another thread on zen forums.*

**2nd ISSUE: online/offline images were not appearing in the sidebox **
FIX: went into the Crafty Syntax Admin>Departments>Edit and entered the correct URL to the images (about half way down the page) and uploaded the images I want to the corresponding /livehelp/images folder


**3rd ISSUE: Chat invites (both pop-up and layer) were not working on the customer side (worked in admin but not when sent to website customers)**

FIX:  in the tpl_craftysyntax_sidebox.php file I followed the  instructions quoted above and removed the two "/" symbols


Now the popups and layers invites are working and I have a FREE working live chat on my zencart store! 
*I do still have an issue with the layer invite layout alignment (it lands at the very bottom of the page and then jumps to the top if you stay on the page long enough!) but I'll deal with that when I have time. At least the pop-up invite is working correctly now and I'll just use the pop-up chat invites instead of layers.*

I'm running zen version 1.3.8a and a  working Crafty Syntax live chat sidebox module can be seen at [www.CraftMagick.com](https://www.CraftMagick.com)  

Zencart ROCKS :clap:

P.S. I just have to add a HUGE KUDOS to the Zencart Team and the entire Zencart community. I have become VERY spoiled with the fabulous support here and when I went to the Crafty Syntax forums it felt like I was literally :frusty:  So thanks to everyone that makes this wonderful open source project such a huge success and possible for the non-programmer small business owner (like me :smile:)

Ya, you guys ROCK !!!