Previous Thread
Next Thread
Print Thread
Hop To
How can I make gallery island update each day?
#242153 03/12/2011 7:16 AM
Joined: Jun 2010
Posts: 58
rivet Offline OP
journeyman
OP Offline
journeyman
Joined: Jun 2010
Posts: 58
I have made a galley forum, and a gallery island that pulls photos from there to use as "photo of the day". I find that I cannot upload any new photos, until the current day has passed, otherwise, the newest one will appear in the island. Is there an easy way for me to be able to upload all the photos, say for a month or two, into a folder, and then have them update day to day?

Re: How can I make gallery island update each day?
rivet #242157 03/12/2011 12:16 PM
Joined: Jan 2005
Posts: 186
member
Offline
member
Joined: Jan 2005
Posts: 186
Here is a post that tells how to do at least close to what I think you are asking for:
https://www.ubbcentral.com/forums/ubbthreads.php/topics/229631/photo_gallery_widget.html

This doesn't go through the list but will pick one randomly. Add the code provided by Rick in that thread and then change your cache time to however long you want it to be between updates.

Re: How can I make gallery island update each day?
rivet #242159 03/12/2011 2:38 PM
Joined: Jun 2010
Posts: 58
rivet Offline OP
journeyman
OP Offline
journeyman
Joined: Jun 2010
Posts: 58
Yeah, that's neat but not quite was I was looking for. I want my photos of the day to change once every 24 hours.

Re: How can I make gallery island update each day?
rivet #242164 03/12/2011 4:12 PM
Joined: Jun 2006
Posts: 15,938
Likes: 27
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,938
Likes: 27
I'm pretty sure what you want would probably be a modification (as what I'm thinking would be a new field in the database that'd call the current day)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, I Find Rocks, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: How can I make gallery island update each day?
rivet #242169 03/12/2011 7:18 PM
Joined: Dec 2003
Posts: 6,144
Likes: 21
Online Yawn
Joined: Dec 2003
Posts: 6,144
Likes: 21
Why not just use the custom island chosen suggested and set the cache time to 1440. That would be every 24 hours.
The island would be like what is here on the bottom right called random image.
Or just use the gallery island you have and still change the cache time to 1440.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: How can I make gallery island update each day?
rivet #242171 03/12/2011 9:36 PM
Joined: Jun 2010
Posts: 58
rivet Offline OP
journeyman
OP Offline
journeyman
Joined: Jun 2010
Posts: 58
@Gizmo...yes I think that's correct

@Ruben...That won't quite work as I need the photos to refresh in calendar date order, not randomly.


Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
[NOTABUG] Report Post bug..
by Morgan - 07/05/2020 1:48 PM
Trial Subscription question.
by Ruben - 07/03/2020 2:34 PM
Unread posts no longer tracked per user...
by KirkW - 06/16/2020 12:21 AM
Max Image file size upload
by jjjjj - 06/10/2020 10:25 PM
Error on Inert into POSTS
by jjjjj - 06/07/2020 8:09 PM
Who's Online Now
4 members (Ruben, Gizmo, Morgan, 1 invisible), 100 guests, and 38 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4