Hi all I am using an open source script called Uber Gallery. However, the script does not sort very well. I'm looking to have it sort by newest uploads shown first. The developer does not seem interested in adding this feature and I was hoping someone could help me figure out how to set this in the script. Thanks so much
Well - you basically need to find wherever the script gets the files, and probably stores them in some sort of array or similar, then you can have a function which custom-sorts the files based on filemtime - you can have a look at what they've done here: http://forums.devshed.com/php-development-5/sort-by-upload-date-php-help-67022.html and see if you maybe can include and use that sorting-function in one of the classes. I didn't have too close a look at uberGallery, but it seems to be fairly decently developed, so it shouldn't be too hard to figure out, I believe.