Last Updated instead of Last Uploaded Last Updated instead of Last Uploaded
 

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]

Main Menu

Last Updated instead of Last Uploaded

Started by paquets, September 02, 2009, 12:41:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paquets

Hi,

Sorry of this has been asked and answered before. I searched the board and could not find an answer...

On the homepage of a CPG site, would it be possible to show the "last updated" files instead of the "last additions"?

Right now to do that, I go in PHPmyAdmin to change the number of the pic entry, which is an ok work-around but seems a bit complex. :P

site: adpharm.net


Nibbler


paquets

Basically that if an image has information added to it (caption/description/keyword) it would go up on the list. I suppose this would have to works with the date and time the image was last edited as opposed to using the image number.
So basically, even if image "a" was uploaded last, image "b" would be the first in the list because it was edited last.
Make sense?

Nibbler

Yeah. That's not a trivial mod to make though - the edit date/time is not recorded.

paquets

Quote from: Nibbler on September 02, 2009, 02:44:47 PM
Yeah. That's not a trivial mod to make though - the edit date/time is not recorded.

I see. Thanks for the reply and if I manage to get it to record the update date and do what I want it to do, I'll add it to the mods.

Thanks again!