Is there anything I can put at the top of my filelist.php file, so that checks for a logged in user before running? Note that filelist.php isn't really linked to joomla in anyway, it is simply a php file in a directory.
I've tried stuff like the lines below, but I don't really know what I'm doing. Thanks:
Thanks, will update my code. The code below works, but it does look very odd. Need to work on the css.
I've written plugins before, but the problem is that this file lies outside of the plugin directory. It needs more work to be an official plugin though, struggling for time.
The beauty of the plugin is that it is a simple file browser that lets you select a folder or file on your server filesystem, and it will automatically put in the joomla tags for you so that it shows a 'gallery' or media player or picture viewer for that file. VERY WYSIWYG.
ie. if it has mp3s in it, it automatically puts in the correct tags so that it shows a gallery/player of mp3s. same for pics or videos. It makes use of several other media plugins, but means that you don't have to remember the tags or path names inside the tages. Something Joomla struggles with, IMHO.
Also, if you select a single picture, it lets you put a static thumbnail in or a thumbnail that can be clicked to produce the large version (like lightbox).