Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 953,224

Results 2,441 to 2,460 of 3,722
1 Mar 2011, 5:21 AM
#2441
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

DivaVocals:

Alright folks I'm tapped out.. My results are only partially satisfactory.. The LARGE additional images are NOT being pulled from the bmz_cache folder, and I haven't a CLUE as to why.. I need to eat, take a shower and come at this tomorrow.. I could use a set of eyeballs to help me figure out why.. Not sure if the issue is my test store, and I'm far too pooped to set this thing back to a vanilla state to start over..

Forgot to say...I still have a fresh install of 139 with no addons that I used as a demo to compare against my store while I was upgrading it from 138. If you need to use it to test, it's there for ya :)

1 Mar 2011, 7:36 AM
#2442
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Update: Issue Resolved

A few hours ago, I was poking the admin/config/images settings. It occurred to me that since IH2 only uses one large image that it then sizes down for various purposes, that perhaps the suffixes _MED and _LRG were unnecessary.

So I removed them to see if it made any difference to the issue. It did not. But I moved on to other things without putting them back.

Then, a few minutes ago, niestudio was doing me the courtesy of poking around in my files to find out why his solution worked for him and not for me.

While in the admin/config/images, he noticed the blank suffix fields and repopulated them. The issue is now resolved (for me). I don't know if this will also work for others, or what the trigger was for this issue is to begin with...but until we find out, perhaps a good work around is this:

After installing IH2 and configuring and saving your image settings, go back in to the settings and remove the _MED and _LRG suffixes and save. Then go back in and put them back in and save. Obviously this is a minor PITA to have to do, but it might solve the problem until a solution is found.

Thanks again niestudio! And thanks to Diva for her ongoing effort :)

1 Mar 2011, 2:12 PM
#2443
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

Okay came back at it with fresh eyes.. All is well.. It just takes some time for all the images to cache apparently.. SO last night's "issue" is a non-issue..

That said the install of both modules is very straight forward with one small caveat.. IH2 and ZLB both have this file in common includes/modules/YOUR_TEMPLATE/additional_images.php.

If you are installing ZLB you need to replace the includes/modules/YOUR_TEMPLATE/additional_images.php from the IH2 fileset with the one from ZLB versus attempting to merge these two files (which is what you would NORMALLY do when two mods share the same file).

So let me repeat this.

If you are running IH2 AND ZLB, do not MERGE the includes/modules/YOUR_TEMPLATE/additional_images.php files. REPLACE the one from IH2 with the one from ZLB.

To that end you should install and configure IH2 FIRST make sure it works, then install ZLB and install and configure it.

DivaVocals:

Alright folks I'm tapped out.. My results are only partially satisfactory.. The LARGE additional images are NOT being pulled from the bmz_cache folder, and I haven't a CLUE as to why.. I need to eat, take a shower and come at this tomorrow.. I could use a set of eyeballs to help me figure out why.. Not sure if the issue is my test store, and I'm far too pooped to set this thing back to a vanilla state to start over..

While I'm glad this all worked out for you I'm not entirely sure that this is an issue in general with ZLB/IH2, versus something that was unique to your store... Your issues were unusual, and I could NOT replicate them at all.. My conclusion was the same as niestudio's. The includes/modules/YOUR_TEMPLATE/additional_images.php was never the issue as the includes/modules/YOUR_TEMPLATE/main_product_image.php is the file that drives the main product image for IH2.

All that said I'm glad you are all sorted out now..:clap:

ScriptJunkie:

Update: Issue Resolved

A few hours ago, I was poking the admin/config/images settings. It occurred to me that since IH2 only uses one large image that it then sizes down for various purposes, that perhaps the suffixes _MED and _LRG were unnecessary.

So I removed them to see if it made any difference to the issue. It did not. But I moved on to other things without putting them back.

Then, a few minutes ago, niestudio was doing me the courtesy of poking around in my files to find out why his solution worked for him and not for me.

While in the admin/config/images, he noticed the blank suffix fields and repopulated them. The issue is now resolved (for me). I don't know if this will also work for others, or what the trigger was for this issue is to begin with...but until we find out, perhaps a good work around is this:

After installing IH2 and configuring and saving your image settings, go back in to the settings and remove the _MED and _LRG suffixes and save. Then go back in and put them back in and save. Obviously this is a minor PITA to have to do, but it might solve the problem until a solution is found.

Thanks again niestudio! And thanks to Diva for her ongoing effort :)

1 Mar 2011, 3:49 PM
#2444
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I'm glad too :) Thanks to both of you for all your help :smile:

1 Mar 2011, 4:16 PM
#2445
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

ScriptJunkie:

I'm glad too :) Thanks to both of you for all your help :smile:De nada!

I think the big lesson in all of this is that niestudio and I are gonna make sure that both the IH2 and ZLB readme files contain the same data with regards to the use of IH2 and ZLB together.. Should end (or at least minimize) the questions/concerns/confusion on both support threads.. (we hope :smile:)

I STILL have to test ZLB with the upcoming IH2 release.. The changes are minor, but I need to make sure that both ZLB and FSB continue to work with IH2..

1 Mar 2011, 4:45 PM
#2446
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

ScriptJunkie:

I'm glad too :) Thanks to both of you for all your help :smile:

glad to help

1 Mar 2011, 6:10 PM
#2447
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

yup me 2. i love both these mods and although I never had that issue at all willl either version I did have the additional immages issue tis why I mergd the files.

is the 1.6.2 version of LB in the downloads area?

While in the admin/config/images, he noticed the blank suffix fields and repopulated them. The issue is now resolved (for me). I don't know if this will also work for others, or what the trigger was for this issue is to begin with...but until we find out, perhaps a good work around is this:

do you mean the IHsmall (or medium or large) image filetype? where it says no_change

1 Mar 2011, 7:29 PM
#2448
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

is the 1.6.2 version of LB in the downloads area?
yes ZLB 1.6.2 is in the downloads area.
updates were close on image click and an always show prev/next buttons (when additional images are present) parameter

DarkAngel:

do you mean the IHsmall (or medium or large) image filetype? where it says no_change

on ScriptJunkies site I just followed the suggested settings from the IH2 readme which included:
Product Info - Image Medium Suffix = _MED
Product Info - Image Large Suffix = _LRG

This was a later cause of the problems though, the initial problem was a missing file: includes/modules/[template]/main_product_image.php

1 Mar 2011, 7:58 PM
#2449
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

yup me 2. i love both these mods and although I never had that issue at all willl either version I did have the additional immages issue tis why I mergd the files.and you don't have to do this.. In fact we are recommending that you DON'T try and merge these files.. ZLB introduced code LONG ago that will ensure that ZLB and IH2 work together.. So you should be using the ZLB version of the one common module file. (ZLB and IH only share ONE file as noted in previous posts)

1 Mar 2011, 8:23 PM
#2450
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok help...lol

i told you mine sometimes will put up a fight

I just upgraded a store from 1.5 to 1.6.2 LB--removed all the files, ran the 1.5 uninstaller

reuploaded each and every file--twice since getting this error on the image at the bottom of it:

ZEN_LIGHTBOX_COUNTER_IMAGE 1
ZEN_LIGHTBOX_COUNTER_OF 6

under the images in the lightbox instead of

Image 1 of 6

I did go into the languages/english/extradefinitions/current template/zen_lightbox.php

it is the original file from 1.6.2 no edits at all and it is sitting in the folder. I deleted it from the server, went to the store then refreshed the page there, tried the main image and the additional images and the error was still at the bottom--no shock since i did remove the file.

I then reupped the file, refreshed the server ftp files--refreshed the page at her store and the eror is still showing

then i went into google chrome to check in case the hard refresh of Firefox did not take and it too shows the error---

how can I fix this please.:shocking:

forgot the link to her store: http://www.pennylanebridal.com.au/shop/index.php?main_page=product_info&products_id=133

and you don't have to do this.. In fact we are recommending that you DON'T try and merge these files.. ZLB introduced code LONG ago that will ensure that ZLB and IH2 work together.. So you should be using the ZLB version of the one common module file. (ZLB and IH only share ONE file as noted in previous posts)

@Diva---will do so with my store and let you know if it behaves

1 Mar 2011, 8:54 PM
#2451
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok Diva, I did the upgrade to 1.6.2 in both my test store and the live store for LB and ran the sql also and the need for the edits are truly gone.

although on both of my stores the error that appears at the bridal store are not there

so I just need to find out what to do at the other store..thanks

1 Mar 2011, 9:20 PM
#2452
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

ok help...lol

i told you mine sometimes will put up a fight

I just upgraded a store from 1.5 to 1.6.2 LB--removed all the files, ran the 1.5 uninstaller

reuploaded each and every file--twice since getting this error on the image at the bottom of it:

ZEN_LIGHTBOX_COUNTER_IMAGE 1
ZEN_LIGHTBOX_COUNTER_OF 6

under the images in the lightbox instead of

Image 1 of 6

I have seen this, but only when the [includes/languages/english/extra_definitions/(template)/zen_lightbox.php] file is missing.

You said you already checked its existence, so the only other place might be:
[includes/classes/zen_lightbox/options.php]
can you copy and paste the line that is after ```php
if (ZEN_LIGHTBOX_COUNTER == 'true') {


Thats where it reads the information from the previous file.

daniel
1 Mar 2011, 10:21 PM
#2453
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

thanks daniel

I noticed that and when it is set to close on image click the next/prev show all the time but do not work. so i set it to false leaving only to click overlay to close and it behaves...just the eroor i mentioned instead of showing image 1 of 8

1 Mar 2011, 10:28 PM
#2454
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

niestudio:

I have seen this, but only when the [includes/languages/english/extra_definitions/(template)/zen_lightbox.php] file is missing.

You said you already checked its existence, so the only other place might be:
[includes/classes/zen_lightbox/options.php]
can you copy and paste the line that is after ```php
if (ZEN_LIGHTBOX_COUNTER == 'true') {

> 
> Thats where it reads the information from the previous file.
> 
> daniel

{
    echo '"' . ZEN_LIGHTBOX_COUNTER_IMAGE . ' {x} ' . ZEN_LIGHTBOX_COUNTER_OF . ' {y}"'; 
}
2 Mar 2011, 4:53 AM
#2455
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I've tried starting from scratch unistalling Zen Lightbox and reinstalling it. No matter what I do I'm still getting a double lightbox of the same picture. Any suggestions? please?

2 Mar 2011, 4:57 AM
#2456
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

scupoli:

I've tried starting from scratch unistalling Zen Lightbox and reinstalling it. No matter what I do I'm still getting a double lightbox of the same picture. Any suggestions? please?

a link is great to see what you see

2 Mar 2011, 6:07 AM
#2457
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Sent you a PM.

2 Mar 2011, 6:12 AM
#2458
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

scupoli:

Sent you a PM.

did you have any errors when installing the sql or did you happen to ave it listed twice in the admin under configuration

have you tried uninstalling all the files then reuploading each one?

is it 1.6.2

2 Mar 2011, 6:28 AM
#2459
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

scupoli:

Sent you a PM.

can you PM me too, I'll take a look

2 Mar 2011, 6:32 AM
#2460
scupoli avatar

scupoli

New Zenner

Join Date:
Mar 2006
Location:
USA
Posts:
77
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I erased all traces of "lightbox" from my database. I erased all traces of files that "Zen Lightbox" installed.

Then I started the installation from scratch.

The only thing I can think of is if there was an earlier version of "Zen Lightbox" I installed that doesnt have the file in the new readme. So there is some file that is making it activate twice.

What is even more weird is that there are no traces of lightbox before I install the module. You think I should search my database for a different name for lightbox?