Changing Random from last to first upload Changing Random from last to first upload
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Changing Random from last to first upload

Started by KDB9000, December 30, 2007, 09:58:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

KDB9000

Where is the code stored that will set the image to the last uploaded? I would like to change it so it uses the first uploaded image and not the last.

KDB9000

Come on. Someone has to know. Part of this question was in another post. Please check:

http://forum.coppermine-gallery.net/index.php?topic=49270.0

I want to change the random pic to be the first pic uploaded instead of the last one.

Nibbler

Look in index.php for the 2 uses of

max( p.pid )  AS last_pid

and change the max to min.