forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: GarryS on October 15, 2012, 06:27:02 pm

Title: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
Post by: GarryS on October 15, 2012, 06:27:02 pm
My site URL is http://www.victoriacameraclub.org/vcccompetitions

Our camera club has successfully implementede Coppermine to mange our monthly competitions. September results are now open to public browsing.

We use the above plugin to present entered images and placed images on Competition Night. The default maximum time an image can be shown in the slideshow is 9.999 seconds. Our desire is to increase that time to something like 12 seconds.  I've found a default maximum in admin.php and the admin.js files. Changing those values to 12000 from 9999 and then trying to change the timer value using the plugin confuration page results in an error message and changes not saved.

Help with where to find the appropritae spot in the code to make that change would be appreciated.

Thank you.
Title: Re: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
Post by: Jeff Bailey on October 15, 2012, 09:08:05 pm
Did you adjust this line so 12000 would fit in the form?
Code: [Select]
<input type="text" name="plugin_lightbox_nfn_slidetime" id="plugin_lightbox_nfn_slidetime" class="textinput" size="4" maxlength="4" value="{$CONFIG['plugin_lightbox_nfn_slidetime']}" style="text-align:right;" /> {$lang_plugin_lightbox_notes_for_net['milliseconds']}to
Code: [Select]
<input type="text" name="plugin_lightbox_nfn_slidetime" id="plugin_lightbox_nfn_slidetime" class="textinput" size="5" maxlength="5" value="{$CONFIG['plugin_lightbox_nfn_slidetime']}" style="text-align:right;" /> {$lang_plugin_lightbox_notes_for_net['milliseconds']}
Title: Re: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
Post by: GarryS on October 15, 2012, 10:43:06 pm
Yes, thanks. I did spot that and set it from "4" to "6". Might that extra space there cause any grief?
Title: Re: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
Post by: Joe Carver on October 15, 2012, 10:55:50 pm
For all current and future readers, to save time and electrons...

Please:
(With hopes that the extra bit will save the next persons some time)

Help with where to find the appropritae spot in the code to make that change would be appreciated.

The short answer is: upgrade to LightBox version 3.2 (http://forum.coppermine-gallery.net/index.php/topic,62905.msg355753.html#msg355753)

Moving to Plugins