How To Schedule Galleries and edit the schedule.

Got your head around the basics? Check these threads for more ways to improve your sites.
Post Reply
longsack
Site Admin
Posts: 37
Joined: Wed Jun 04, 2025 7:13 pm

How To Schedule Galleries and edit the schedule.

Post by longsack »

You can set a gallery to appear on any particular day up to 30 days ahead.

It requires that you are either using standard queries, or that you are using the 'refreshdelay DESC' or '-refreshdelay' instruction in your queries used to pull new galleries, you do not need the 'refreshdelay DESC' or '-refreshdelay' in all queries, just the ones used to pull new galleries. These 2 commands are equivalent, the minus sign means list in reverse and the DESC also means list in reverse, you cant use them both together because they will cancel each other, so just one or the other.

IE: This is a standard query that I use on my site currently which allows new galleries to come in by schedule and then randomize them, if a gallery is newly added, scheduled or not it will get priority, and if galleries are old and rotated then they will just be randomized.

Code: Select all

{{setquery-new-" periodsshown>-1 ORDER BY periodsshown,if(used,1,-refreshdelay),rand() "}}

Note also, there is an open issue with the current version that needs to be addressed by development.

If you edit an old gallery, (one that is currently archived or has been displayed before), to change it's description or keywords or image, then it will be refreshed to appear again on the scheduled date that is currently set for it, which will be today by default.

In other words, change any gallery setting within gallery review, and it will be rescheduled to appear again today. This may not be desirable for you, we are working on a patch which should leave the schedule setting unchanged for old galleries.
Post Reply