sorting private albums sorting private albums
 

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

sorting private albums

Started by Konstantinos, September 05, 2005, 06:54:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Konstantinos

how do i sort the private albums of the members ? they are sorted randonmly i dont want that thanx

Stramm

they're supposed to be sorted by username!!!

find in index.php the function list_users and modify the sql

I've modified mine already so I can't exactly say if it works for the standard coppermine (but I'm nearly sure it does)
"ORDER BY thumb_pid DESC"; should eg bring albums with the newest uploads to top

but if you mean the albums of a specific member inside his category.... each user can sort his albums with the album manager

Konstantinos

u mean in the list_albums() ? right ?

Stramm

no, list_users
when you click on user galleries then you see all users who have created albums and have pics in them.

Inside these categories the sort is done by the user

Konstantinos

list_users()
*
* Get a list of users galleries

there is no ORDER BY code in this part so i cant modify it to ORDER BY thumb_pid DESC

Stramm