The code I posted above doesn't allow them to view the file listing at all unless they are registered. That is way better than not being able to view just the thumbnails.
And if you don't add the $mode == image to the second part of that line, you get it trying to make thumbnails out of php and zip files in the allfiles area.
I hope in the next version you get the queries finally straightened around. They are a mess.
|