Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Member List - Another question about the order  (Read 2804 times)

0 Members and 1 Guest are viewing this topic.

yaniv

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
Member List - Another question about the order
« on: October 23, 2006, 01:32:33 am »

I looked all over the boards but i could not find this, i know its a stupid question,

but how can I sort the member list order, lets say for example by the number of files uploaded.

but i dont mean just clicking the order thing, I mean permanently so if anyone looks at it, thats the default order.

hope i made sense.

Last question I promise ;)

thanks for all your help!
« Last Edit: October 23, 2006, 08:37:55 am by Sami »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Member List - Another question about the order
« Reply #1 on: October 23, 2006, 07:13:58 am »

usermgr.php (line 156)  chenge this
Code: [Select]
    $sort = (!isset($_GET['sort']) || !isset($sort_codes[$_GET['sort']])) ? 'reg_d' : $_GET['sort'];

with this
Code: [Select]
    $sort = (!isset($_GET['sort']) || !isset($sort_codes[$_GET['sort']])) ? 'pic_d' : $_GET['sort'];
Logged
‍I don't answer to PM with support question
Please post your issue to related board

yaniv

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
Re: Member List - Another question about the order
« Reply #2 on: October 23, 2006, 08:36:50 am »

yup, that worked perfectly.  :)

Thank for your help  ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.