Advanced search  

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]

Pages: 1 ... 6 7 8 9 [10]   Go Down

Author Topic: LightBox JS for Fullsize Popup Slideshow  (Read 262206 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #180 on: April 13, 2009, 09:53:51 am »

Please start a separate standalone thread on the plugin board with your plugin announcement. A moderator will move it accordingly. Here in this thread online the mod flavor should be discussed, as we're trying to keep mods and plugins separated.
Logged

crvh

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #181 on: June 04, 2009, 09:08:02 pm »

Woo hoo!! Thanks for the mod, I have just switched to Coppermine and REALLY wanted to figure out how to make lightbox work.  I tried some other manuel fixes but not having a lot of time to trouble shoot, this one worked FIRST TIME!yay! :D
Logged

donsenilo

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Bookmarks (Links), Grafik, Musik, Movies (Filme), DVD's, CD's, Amazon-Shop by Starmaker - Mark Tailor
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #182 on: July 05, 2009, 11:39:39 pm »

hello

some prob with slideshow and slider.

i've wrote in the slideshow-thread:
"when i click on a pic in the slider i get an database-error (Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten).
i use the slideshow-mod, not enlargeit. could this be the problem ?"

and i get this answer: "This thread is about the plugin, not the mod. Go to the mod thread."

so i would be very happy if someone could help with this and don't say, i should "go" somewhere else  :-\

thx.
Logged

donsenilo

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Bookmarks (Links), Grafik, Musik, Movies (Filme), DVD's, CD's, Amazon-Shop by Starmaker - Mark Tailor
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #183 on: July 05, 2009, 11:41:57 pm »

sorry ... i mean "slider-thread" ... it's late ...

hello

some prob with slideshow and slider.

i've wrote in the slideshow-thread:
"when i click on a pic in the slider i get an database-error (Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten).
i use the slideshow-mod, not enlargeit. could this be the problem ?"

and i get this answer: "This thread is about the plugin, not the mod. Go to the mod thread."

so i would be very happy if someone could help with this and don't say, i should "go" somewhere else  :-\

thx.
Logged

SaWey

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1119
    • SaWey.be
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #184 on: July 18, 2009, 01:11:48 pm »

I have no idea what slider you are using, can you give a link to your gallery?
Logged

donsenilo

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Bookmarks (Links), Grafik, Musik, Movies (Filme), DVD's, CD's, Amazon-Shop by Starmaker - Mark Tailor
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #185 on: July 18, 2009, 02:08:54 pm »

I have no idea what slider you are using, can you give a link to your gallery?
hello

this is the slider i use: http://forum.coppermine-gallery.net/index.php/topic,51324.0.html

and this is my site: http://www.hasnobrain.com/cpg14x/index.php

Logged

donsenilo

  • Coppermine regular visitor
  • **
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 93
    • Bookmarks (Links), Grafik, Musik, Movies (Filme), DVD's, CD's, Amazon-Shop by Starmaker - Mark Tailor
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #186 on: July 22, 2009, 01:00:42 pm »

hello again

problem solved !

it was the "old" random problem:

I found this to solve the problem and now it works:

In your file include/functions.inc.php find
Code:
$query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY RAND() $limit_random";

Change to:
Code:
$query = "SELECT $select_columns FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' $META_ALBUM_SET ORDER BY RAND() $limit";

Logged

phatair

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #187 on: August 04, 2009, 05:49:48 pm »

Hi,
first of all - thanks a lot for this great modification!!
But i have one problem - all pictures that i show with this lightbox are much more darker then the original picutre. is there any parameter where i can change this?
You can have a look here/url]

I hope somebody can help me.
best regards
Logged

phatair

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #188 on: August 04, 2009, 06:02:57 pm »

Hm...ok this problem is only with FireFox on my desktop PC. With IE on my desktop PC all is fine and on my notebook its ok on the firefox, too. So i dont know what this is ...
Logged

pie86

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 4
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #189 on: September 23, 2009, 02:47:10 pm »

Hi everybody,
I applied this mod to cpg 1.4.25 and I encountred the same old problem of random photos and last posted photos. Noone of the solution proposed worked! The solution was modifing the theme.php like this:

version proposed in the mod:

Code: [Select]
function lightbox_list($picId) {
################################################
//Set max number of images
$max = 100; //(-1 for all pics in album)
################################################
    global $lang_display_image_php, $CONFIG;
$i = 0;
$pid = $picId['pid'];
$aid = (empty($_GET['album'])) ? $picId['aid'] : $_GET['album'];


corrected versione:

Code: [Select]
function lightbox_list($picId) {
################################################
//Set max number of images
$max = 100; //(-1 for all pics in album)
################################################
    global $lang_display_image_php, $CONFIG;
$i = 0;
$pid = $picId['pid'];
$aid = (empty($_GET['album']) || $_GET['album']=='random' || $_GET['album']=='lastup') ? $picId['aid'] : $_GET['album'];

bye bye
pietro

ps: I apologize for my bad English!
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #190 on: September 23, 2009, 03:39:15 pm »

Nice work - I was just now able to apply your mod. to the LightBox plugin.

It seems to solve the same problem there too.

purplefreak3

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 36
Re: LightBox JS for Fullsize Popup Slideshow
« Reply #191 on: December 28, 2009, 07:48:33 am »

Hello I was wondering if possible could give me any help with this lightbox mod, it is very nice mod but when I use Internet explorer I can not view the flash files in the gallery all I get is a blank screen but can hear audio. If I use firefox then it works fine.

I have these mods currently installed.
Another FLV Player
LightBox JS for Fullsize Popup Slideshow

Uninstall Mods
Enlargeit

I was going to disable Enlargeit (even uninstalled it) but even when that still get a blank page when viewing flash files, images all work fine. Well after working with the code and pulling different code off I found that everything works if I do not use the Lightbox, but once I add the lightbox the flash files will no longer work (even if enlargeit is uninstalled). So I am guessing there is a conflict between the "Another FLV Player" and the "LightBox JS for Fullsize Popup Slideshow" mods.

If you need this information I am not trying to use the lightbox for the video files only the images. Does anyone know about this kind of problem? if so is there a solution like changing piece of the code?

Links to gallery

Regular user one (set up without lightbox)
http://www.beautifuljodelle.com/gallery/index.php?theme=default

One with lightbox set up
http://www.beautifuljodelle.com/gallery/index.php?theme=image_media

Besides the gallery banner and color of the site and of the course the code for lightbox the coding of the two are the same.

Please and Thank You for any help.
Logged
Pages: 1 ... 6 7 8 9 [10]   Go Up
 

Page created in 0.025 seconds with 21 queries.