Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2010
Posts: 58
R
journeyman
journeyman
R Offline
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?

Joined: Jan 2005
Posts: 186
member
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.

Joined: Jun 2010
Posts: 58
R
journeyman
journeyman
R Offline
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.

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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, 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!
Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
Joined: Jun 2010
Posts: 58
R
journeyman
journeyman
R Offline
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
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)