View Single Post
  #11  
Unread 4th January, 2007, 01:09 PM
tsr tsr is offline
Forum Newcomer
 
Join Date: Aug 2005
Posts: 3
Default

Quote:
Originally Posted by donjski View Post
The problem I am having is that all the screenshots are showing up in alphabetical order.
I'm sorry to say this, but I removed this feature in the current version because it increased the loading time of the website by many seconds.
My goal was to provite a very simplistic PHP script that allows access to UTDC's screenshots. Sorting the screenies unfortunately exceeds the scope of my goal.
If you are literal in PHP, then you might want to have a look at the compareScreenie() function (also have a look at the usort() function in the PHP documentation), but from now on you are on your own (even though I certainly dont mind answering questions). Sorry. :/

P.S.: If you dont mind a long loading time, then simply remove the line "return $logdir.$strA < $logdir.$strB;" and uncomment the line "return @filemtime($logdir.$strA) < @filemtime($logdir.$strB);".

Last edited by tsr : 4th January, 2007 at 01:13 PM.
Reply With Quote