Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
 

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

Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin

Started by GarryS, October 15, 2012, 06:27:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GarryS

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.

Jeff Bailey

Did you adjust this line so 12000 would fit in the form?
<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
<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']}
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

GarryS

Yes, thanks. I did spot that and set it from "4" to "6". Might that extra space there cause any grief?

Joe Carver

For all current and future readers, to save time and electrons...

Please:

  • Post in an appropriate thread. In this case it would start with plugins
  • Search around a bit.
  • Most plugins are user-contributed and are updated on occasion. Check the threads.
(With hopes that the extra bit will save the next persons some time)

Quote from: GarryS on October 15, 2012, 06:27:02 PM
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

Moving to Plugins