Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 250
Total: 250

Author Topic: Slide Show Intervals  (Read 4754 times)

0 Members and 1 Guest are viewing this topic.

Offline Dustieann

  • Member
  • *
  • Posts: 32
    • View Profile
Slide Show Intervals
« on: November 21, 2009, 02:57:42 am »
HI,

I would like to know if it's possible to change the Slideshow intervals. 5 sec is to long for most people.  I would like to change them to 3, 5, 10 and 15 sec.

Where can I change this and what other files need to be changed?

Thank you for your help


Offline Dustieann

  • Member
  • *
  • Posts: 32
    • View Profile
Re: Slide Show Intervals
« Reply #1 on: November 23, 2009, 11:54:35 am »
okay, maybe I should have added that I am using:

SMF Version: 1.1.10  Gallery Pro version: 2.5.6

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
Re: Slide Show Intervals
« Reply #2 on: November 23, 2009, 12:12:32 pm »
Hi Ann,

I'm using SMF2 (as you already know  ;) ) and I see the possibility to change the time interval 5-10-15-30 seconds.

You see it when you click on slideshow when you are viewing an cart. In the left upper corner there's the dropdown box. See attachment. I don't know if the SMF1 version also has this future? Maybe mr SMFHacks can confirm that?

Vincent

Offline Dustieann

  • Member
  • *
  • Posts: 32
    • View Profile
Re: Slide Show Intervals
« Reply #3 on: November 23, 2009, 12:17:58 pm »
Hi Vincent ....

Yes, I have the standard intervals of 5-10-15-30 seconds as well, including the dropdown box, but I would like to make them shorter....more like 3-5-10-15 secs. 

I even made the changes in the translations (yep, yours too  :D ) but if I got to the gallery slideshow, the default times still show.

Guess the change has to be made somewhere else....


Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 519
  • SMF 2.0.17
    • View Profile
    • Digiscrap.nl
Re: Slide Show Intervals
« Reply #4 on: November 23, 2009, 12:30:48 pm »
In Themes/default/Gallery.template.php

find
Code: [Select]
<select name="interval">
<option value="5000">' . $txt['gallery_txt_slideshow_interval_5'] . '</option>
<option value="10000">' . $txt['gallery_txt_slideshow_interval_10'] . '</option>
<option value="15000">' . $txt['gallery_txt_slideshow_interval_15'] . '</option>
<option value="30000">' . $txt['gallery_txt_slideshow_interval_30']  .'</option>
</select>

replace with:
Code: [Select]
<select name="interval">
<option value="3000">' . $txt['gallery_txt_slideshow_interval_5'] . '</option>
<option value="5000">' . $txt['gallery_txt_slideshow_interval_10'] . '</option>
<option value="10000">' . $txt['gallery_txt_slideshow_interval_15'] . '</option>
<option value="15000">' . $txt['gallery_txt_slideshow_interval_30']  .'</option>
</select>

And change the text:

Code: [Select]
$txt['gallery_txt_slideshow_interval_5'] = '3 sec';
$txt['gallery_txt_slideshow_interval_10'] = '5 sec';
$txt['gallery_txt_slideshow_interval_15'] = '10 sec';
$txt['gallery_txt_slideshow_interval_30'] = '15 sec';

It's not the best way but it should work. After installing an update you have to do this again.

Vincent

Offline Dustieann

  • Member
  • *
  • Posts: 32
    • View Profile
Re: Slide Show Intervals
« Reply #5 on: November 23, 2009, 12:49:34 pm »
THANK YOU!  :)

This I can even do myself :)

Will remember about the update, thanks for the tip :)


 

Related Topics

  Subject / Started by Replies Last post
5 Replies
5141 Views
Last post October 20, 2008, 10:21:12 pm
by TroyG
4 Replies
4704 Views
Last post March 02, 2009, 07:41:35 pm
by SMFHacks
2 Replies
3138 Views
Last post April 06, 2010, 11:04:08 pm
by jstop
8 Replies
5703 Views
Last post September 28, 2010, 03:18:15 pm
by kizer
9 Replies
3232 Views
Last post February 17, 2019, 06:04:54 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal