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]   Go Down

Author Topic: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin  (Read 4389 times)

0 Members and 1 Guest are viewing this topic.

GarryS

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
« 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.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
« Reply #1 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']}
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

GarryS

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
« Reply #2 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?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1510
  • aka 'i-imagine'
    • Home Page
Re: Increasing Slide Time in LightBox(NotesFor.Net)Slideshow Plugin
« Reply #3 on: October 15, 2012, 10:55:50 pm »

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)

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
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.