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

Zen Lightbox addon [Support Thread]

Views: 952,876

Results 1,601 to 1,620 of 3,722
9 Dec 2009, 6:16 PM
#1601
serovectra avatar

serovectra

New Zenner

Join Date:
Nov 2009
Posts:
21
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

DarkAngel:

@serovectra:

make sure everything is uploaded right and that you installed the sql without any errors

I guess I could revert to my backup and re-upload, and reinstall. When i installed the SQL there was no error. I changed the directory name properly for all the files as well. I'll let you know if anything changes on the reinstall.

9 Dec 2009, 6:41 PM
#1602
dre avatar

dre

New Zenner

Join Date:
Mar 2006
Location:
The Netherlands
Posts:
92
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Yes Im using 1.3.8a
Template is bought from monstertemplate.

Maybe its a idea to instal the sql again but now from admin??

Thanx
Andre

DarkAngel:

@serovectra:

@dre:

the files are for the software to be able to use the lightbox but the install sql is for it to be seen/set in admin section.

I am at a loss as to why unless it has to do with your template you are using...which is it and you are using zencart 1.38 yes?

10 Dec 2009, 8:36 AM
#1603
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

my turn to ask a question...lol

when you click the image and get the lightbox view at the bottom of the image---there should be the title of the image with the counter info like image 1 0f 3

on this site we got it to work but it does not show that...

where do i fix that to read out right.

see image

https://www.pennylanebridal.com.au

10 Dec 2009, 9:19 AM
#1604
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

well i originaly tok off the setting to show the counter and it did not work but now suddenly it is so the gremlins did it.

it fixed itself

11 Dec 2009, 12:35 AM
#1605
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Hi i just install zen light box and i m getting error on SQL when i install sql file i ghet this error

1146 Table 'sneakerf_testing.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

11 Dec 2009, 1:42 AM
#1606
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

is sneakerf_testing the prefix to your store's tables in the database?

11 Dec 2009, 9:08 AM
#1607
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

yes sneakerf_testing prefix

11 Dec 2009, 9:09 AM
#1608
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

is sneakerf_testing the prefix to your store's tables in the database?

yes sneakerf_testing prefix

11 Dec 2009, 12:52 PM
#1609
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

sneakerf is the name of the site
testing is the name of the database

I think but the tables within the testing database is more than likly either zc, zen or nothing at all but just table names.

I suggest you go to your database manager (MyPHPadmin from your c-panel), and take a screenshot of the actual tables in the database.

that way we can see which one of us is confused...thanks

12 Dec 2009, 6:37 AM
#1610
shahram avatar

shahram

Zen Follower

Join Date:
Jul 2009
Location:
New York
Posts:
122
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

sneakerf is the name of the site
testing is the name of the database

I think but the tables within the testing database is more than likly either zc, zen or nothing at all but just table names.

I suggest you go to your database manager (MyPHPadmin from your c-panel), and take a screenshot of the actual tables in the database.

that way we can see which one of us is confused...thanks

sneakerf_testing is my database name
testing_ is my prefix name

12 Dec 2009, 6:52 AM
#1611
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

then maybe you need to run the sql installer with the prefix where indicated in red...but remember to run the uninstaller first... if tester is the word just before the table name...like it should look like this tester_admin

**INSERT INTO zen_configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
UPDATE zen_configuration_group SET sort_order = LAST_INSERT_ID() WHERE configuration_group_id = LAST_INSERT_ID();

SELECT @cgi := configuration_group_id FROM zen_configuration_group WHERE configuration_group_title = 'Zen Lightbox';

INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES**

12 Dec 2009, 7:35 AM
#1612
phiblack avatar

phiblack

New Zenner

Join Date:
Jun 2009
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hopefully this will be an easy one to answer.
I have just had installed Light Box and it appears to work fine - apart from the fact that when I click an image it brings up the box but the image is the same size as the image I clicked to open the box.

Do I need to resize all my existing images, and add _LRG.jpg and place them all in the LARGE folder for light box to open a larger image of my products?

Or do I need to do something else so that the customer if they click on my existing image (say 100 x 100 pixels) they get to see a light box image that is say 600 x 600 pixels in size.

I am going around in circles trying to rectify this.

Phil
https://www.colourpatch.com/shop

12 Dec 2009, 8:20 AM
#1613
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

@philblack:

hi there and happy holiday!

about the thumbnail images...depending on what size you have them set in admin is the size you initially see...however what I do is upload the image full size via the description page---at the bottom and then the software resizes it to fit your constraints and when clicked on the customer is given the larger size.

hope that made sense

example mine are set at width=175 I think...lol I do not enter a height so the software fits to size...then I go enter all the info I need for the product and under the place to enter model you click the browse button to locate the image on your computer...select where you want it uploaded...click preview when doen then update to finalize...go to your store and click the thumbnail and it should open to the original size you uploaded.

see my store (link in signature for Fantasies Realm) rightclick the thumbnail and choose view image to see the actual size of the image...they are all uploaded full size, named as I want them to be.

the_LRG is more if you actually get the counter to go thru more than one image on your product page...mine never behaved, so i did it this way

12 Dec 2009, 9:29 AM
#1614
phiblack avatar

phiblack

New Zenner

Join Date:
Jun 2009
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel,

Perfect!!!!
It was such an easy fix.
I appreciate your help.

Happy holidays to you also..

PB

12 Dec 2009, 10:46 AM
#1615
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

phiblack:

DarkAngel,

Perfect!!!!
It was such an easy fix.
I appreciate your help.

Happy holidays to you also..

PB

happy to help when I can

14 Dec 2009, 7:05 PM
#1616
kernheimer avatar

kernheimer

Zen Follower

Join Date:
Jul 2009
Posts:
126
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

well... i'm also in the dark on the /**

  • Zen Lightbox mod.
    also with a configuration_key error.

4 statements processed.
<strong>Foutmelding</strong> ERROR: Toevoegen "configuration_key" "" niet mogelijk omdat deze al bestaat. ( not possible, because already exist)
<strong>Waarschuwing</strong> Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

i did everything here is mentioned. and i'm in the dark.
my template is a zencart template, my php is good, i'm lost...
i am not a php person, so the mysql things are lost on me..
:oops: pretty please help...

15 Dec 2009, 12:38 AM
#1617
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

What is the prefix you are adding to the beginning of your tables?

Is this the first time installing or have you run the installer more than once?

are you using the current version of zencart and the lightbox?

does it show up in your admin section under configuration?

kernheimer:

well... i'm also in the dark on the /**

  • Zen Lightbox mod.
    also with a configuration_key error.

4 statements processed.
<strong>Foutmelding</strong> ERROR: Toevoegen "configuration_key" "" niet mogelijk omdat deze al bestaat. ( not possible, because already exist)
<strong>Waarschuwing</strong> Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

i did everything here is mentioned. and i'm in the dark.
my template is a zencart template, my php is good, i'm lost...
i am not a php person, so the mysql things are lost on me..
:oops: pretty please help...

15 Dec 2009, 3:41 PM
#1618
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi
I have added the module but I get an error when I try and install the install.sql patch.

I copied the text and entered it into install sql patches - this is the error i am getting

1146 Table 'abs007_zc4.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

any help will be appreciated

thanks

15 Dec 2009, 7:22 PM
#1619
micstock avatar

micstock

New Zenner

Join Date:
Nov 2009
Location:
china
Posts:
1
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

good contribution,i have used ,it`s so cool,thanks for your sharing:laugh:

15 Dec 2009, 10:16 PM
#1620
houtanzhang avatar

houtanzhang

New Zenner

Join Date:
Dec 2009
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi DarkAngel

As I read through the thread and tried few times. I still have problems in install the light box.

  1. zencart 1.3.8a
  2. lightbox 1.5

I installled light box few times, all the way works fine.

Then later i install another new one,

  1. Insalled, works, no configuration menu....

  2. Then i tried to remove all the database file and install the database again---Got the data base does not exit issue!

Error ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
Error ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
Error ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
Warning Note: 2 statements ignored. See "upgrade_exceptions" table for additional details.

  1. I checked the path to the data base should be correct.

  2. I tried removed all from database like "zen_configuration_group" "zen_configuration" then install again. Still does not work.

and i got the below results when try installing again:

Query Results:
/** * Zen Lightbox * * @author Alex Clarke ([email protected]) * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: install.sql 2008-12-17 aclarke $ */ INSERT INTO zen_configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
UPDATE zen_configuration_group SET sort_order = LAST_INSERT_ID() WHERE configuration_group_id = LAST_INSERT_ID();
SELECT @cgi := configuration_group_id FROM zen_configuration_group WHERE configuration_group_title = 'Zen Lightbox';
INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (NULL, 'Zen Lightbox', 'ZEN_LIGHTBOX_STATUS', 'true', '
If true, all product images on the following pages will be displayed within a lightbox:

  • document_general_info
  • document_product_info
  • page (EZ-Pages)
  • product_free_shipping_info
  • product_info
  • product_music_info
  • product_reviews
  • product_reviews_info
  • product_reviews_write

Default: true', @cgi, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '
Controls the transparency of the overlay.

Default: 0.8', @cgi, 101, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'', ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '), (NULL, 'Overlay Fade Duration', 'ZEN_LIGHTBOX_OVERLAY_FADE_DURATION', '400', '
Controls the fade duration of the overlay.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 102, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '
Controls the speed of the image resizing.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 103, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '
Allows for custom control over the transition effect used to animate the lightbox.

Default: false
', @cgi, 104, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Width', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '250', '
If Enable Resize Animations is set to true, the lightbox will resize its width from this value to the current image width, when first displayed.

Note: This value is measured in pixels.

Default: 250
', @cgi, 105, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Height', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '250', '
If Enable Resize Animations is set to true, the lightbox will resize its height from this value to the current image height, when first displayed.

Note: This value is measured in pixels.

Default: 250
', @cgi, 106, NOW(), NOW(), NULL, NULL), (NULL, 'Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '
Controls the fade duration of images.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 107, NOW(), NOW(), NULL, NULL), (NULL, 'Caption Animation Duration', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '400', '
Controls the animation duration of the caption.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 108, NOW(), NOW(), NULL, NULL), (NULL, 'Display Image Counter', 'ZEN_LIGHTBOX_COUNTER', 'true', '
If true, the image counter will be displayed (below the caption of each image) within the lightbox.

Default: true', @cgi, 109, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'false', '
If true, the lightbox will close when the image being displaying is clicked.

Default: false', @cgi, 110, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '
If true, the lightbox will close when the overlay is clicked.

Default: false', @cgi, 111, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Keyboard Navigation', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '
If true, keyboard inputs will also be used to control the lightbox.

Default: true', @cgi, 200, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close Lightbox', 'ZEN_LIGHTBOX_ESCAPE_KEYS', '27,88,67', '
The lightbox will close when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 27,88,67
', @cgi, 201, NOW(), NOW(), NULL, NULL), (NULL, 'Previous Image', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '37,80', '
The lightbox will display the previous image (if available) when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 37,80
', @cgi, 202, NOW(), NOW(), NULL, NULL), (NULL, 'Next Image', 'ZEN_LIGHTBOX_NEXT_KEYS', '39,78', '
The lightbox will display the next image (if available) when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 39,78
', @cgi, 203, NOW(), NOW(), NULL, NULL), (NULL, 'Gallery Mode', 'ZEN_LIGHTBOX_GALLERY_MODE', 'true', '
If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.

Default: true', @cgi, 300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Include Main Image in Gallery', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'true', '
If true, the main product image will be included in the lightbox gallery.

Default: true', @cgi, 301, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'EZ-Pages Support', 'ZEN_LIGHTBOX_EZPAGES', 'true', '
If true, the lightbox effect will be used for linked images on all EZ-Pages.

Default: true', @cgi, 400, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'File Types', 'ZEN_LIGHTBOX_FILE_TYPES', 'jpg,png,gif', '
On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.

Default: jpg,png,gif
', @cgi, 401, NOW(), NOW(), NULL, NULL);

It is too strange! Really mad, dun know how!!!!
Can you help on this?

Regarding the scripts: 1) just try to insert some table for zenlightbox right? 2) So i can remove all the things with words like "lightbox" right? Cause i modified the uninstall scripts try to clean up my data base by change the database table in the scripts. Like "zen_configuration_group" "configuration_group"....