LightBox Slideshow Plugin - Page 5 LightBox Slideshow Plugin - Page 5
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

LightBox Slideshow Plugin

Started by jeepguy_1980, April 13, 2009, 06:40:40 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.


jeepguy_1980

Have you verified that you only have one version of the plugin installed on the plugin manager page?

danielco


danielco


dan_organ

Quote from: gismoat on September 01, 2009, 02:19:25 AM
Hi all,
i have the same problem. Is it posible to check the conflict?

My gallery: http://arbeiter4ever.com

i have the same problem, anyone know how to fix it?

Joachim Müller

Then the same advice is for you as well:
Quote from: Joachim Müller on September 22, 2009, 08:36:53 AM
Why don't you post a link to your gallery as suggested per board rules - that's much more helpfull than this guessing game.

dan_organ


SjoerdSmeets

Hello, i just installed this plugin on 2 of my gallery's. On the first one it didn't work. The overlay is visible but it didn't show any images nor controls. This site is using a bridge with Joomla 1.5. Maybe this could be a problem??

On another site without a Joomla bridge, this plugin works excellent.

Do you have any suggestions to get this working with a joomla-bridge?

Joachim Müller

#88
Quote from: SjoerdSmeets on October 01, 2009, 07:49:29 PM
Do you have any suggestions to get this working with a joomla-bridge?
Yes, as above:
Quote from: Joachim Müller on September 22, 2009, 08:36:53 AM
Why don't you post a link to your gallery as suggested per board rules - that's much more helpfull than this guessing game.

Quote from: dan_organ on October 01, 2009, 06:29:51 PM
here it is http://sok.webatu.com/cpg14x/index.php
you have the Imageflow plugin installed as well as far as I can see. I'm not an expert on those two plugins, but I think I have read somewhere (either on this thread or the Imageflow thread as far as I remember out of the back of my head) that the two are not compatible because their JavaScript bits collide. Temporarily disable the Imageflow plugin to see if that's the case.

danielco

I already posted the link of my gallery. In the debug i saw no errors regarding this.

Joe Carver

danielco,

From the the outside your gallery installation looks ok.

So, based on some of my own experiences (and my talent for mistakes), try these.

1) Run versioncheck - login>>>admin tools>>>check versions - make sure all is good

2) Unzip the lightbox plugin on your computer. Then upload the complete light_box folder
to your gallery plugin folder. Login + install.

good luck

SjoerdSmeets

Quote from: Joachim Müller on October 02, 2009, 07:30:07 AM
Why don't you post a link to your gallery as suggested per board rules - that's much more helpfull than this guessing game.

I've removed this plugin as it is not working in this setup so there is nothing to be seen. I can install it on another setup where this might be the same, but in this LIVE setup i want a working gallery not a broken one ;)

jeepguy_1980

Quote from: SjoerdSmeets on October 01, 2009, 07:49:29 PM
Hello, i just installed this plugin on 2 of my gallery's. On the first one it didn't work. The overlay is visible but it didn't show any images nor controls. This site is using a bridge with Joomla 1.5. Maybe this could be a problem??

On another site without a Joomla bridge, this plugin works excellent.

Do you have any suggestions to get this working with a joomla-bridge?

Since I made this plugin, I have switched to a Joomla bridge as well.  I have the exact same problem that you describe.  The problem is not the bridge. It's the visual integration.  The plugin works just fine when it's bridged but not visually integrated.  I can't really figure out what's causing it.  I think it's a javascript conflict, b/c the visual integration loads the Joomla header and all of the Joomla javascript.

Joachim Müller

The Joomla stuff from Mehdi is not just a bridge file. As jeepguy suggested, it interferes with the visual representation as well, which is something a bridge file as we understand it should not do. That's one of the reasons why we (the coppermine dev team) are not that fond of the Joomla bridge and why we don't recommend it. However, as suggested by jeepguy as well, that's not the fault of this plugin, but the implementation of the Joomla hack. Hence this issue should not be discussed in detail in this thread imo.

jeepguy_1980

One last comment on the Joomla integration.  The bridge can be used without visual integration if you rename or delete the joomla15.integ.php file.  Doing so will allow the bridge to function as a bridge only and allow for the LightBox plugin to work as it should.

gfxyer

I am just installed coopermine ver. 1.4.25 (stable) and I would like to install the lightbox plugin on it.
My problem is that when I copied the files to the plugin directory and istalled it on the admin page,
then when I open the pictures, the lightbox plugin does not work. It is just throw the picture, without lightbox effect.
(But for example, the forum plugin works for me.)

QuoteAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Message: 'style' -  is null or not an object
Line: 201
Char: 6
Code: 0
URI-êîä: http://foto.bratska.ru/plugins/light_box/slideshow/js/lightbox_s.js

Why does not this plugin work?
URL-gallery: http://foto.bratska.ru

Thank you for your help in advance.
Regards,
NIck

GGPhilipp

#96
Hey Folks,

I am using Coppermine 1.4.25 in combination with the Light Box 1.2 Plugin. The plugin is very very nice, thanks for the great work! Everything works fine, except when clicking on random thumbnails. In this case I only get the message: "There was an error while processing a database query". The same problem was already reported for an older version of Coppermine in the following thread: http://forum.coppermine-gallery.net/index.php/topic,52160.0.html. But the solution posted in the mentioned thread doesn't fix the problem. The solution mentioned in the thread refers to an error in Coppermine, but imho it is caused by the plugin.
When the plugin tries to build its internal picture list, it uses the result of $_GET['album'] as album identifier. This is fine in most cases, but when clicking on one of the random thumbnails, "random" is passed as album identifier. Because the plugin doesn't change the album identifier to the random pictures actual album ID, it tries to build its internal picture list based on the random album, instead of the actual album related to the picture. This leads to an error when the plugin calls the get_pic_data function, as the parameters don't match for the random album.

In order to fix the bug, just one line in the codebase.php of the plugin file has to be changed.

Line 155:
   Original:
$aid = empty($_GET['album']) ? $picId['aid'] : $_GET['album'];

   Corrected:
$aid = (empty($_GET['album']) || ($_GET['album'] == 'random')) ? $picId['aid'] : $_GET['album'];


Thanks for your attention. If you want to do more investigations let me know, I will set an testgallery so you can check the scenario.

Take Care,
Philipp

GGPhilipp

Hey Guys,
I think I found the solution to the above mentioned problem ("There was an error while processing a database query") when clicking on random thumbnails. For details see:
http://forum.coppermine-gallery.net/index.php/topic,62228.0.html

Take care,
Philipp

Joachim Müller

Merged your separate thread back into this thread. Thanks for your readiness to help.

gismoat

Quote from: gismoat on September 01, 2009, 02:19:25 AM
Hi all,
i have the same problem. Is it posible to check the conflict?

My gallery: http://arbeiter4ever.com

Hi all,
more people have the same problem with ligthbox and forum plugin.
Have any one people a idea to fix the problem?

My gallery: http://arbeiter4ever.com

Many thanks
gismo