Nice mod...but i wanna make some changes and dont have any idea how to do...
How it looks, all files are uploaded into the ./downloads/ folder...
I've made a lot of categories (for a lot of files), so i created ./downloads/subdir/ and uploaded some files into this directory.
When i go to ACP > Downloads > Import and set [..]/public_html/forum/downloads/subdir/ as path to import, no files are listed in the overview.
Aren't subdirs supported for this script?
Coz...well... it would kinda suck, if i would have to upload 1000+ files from different categories into only one directory.
-----
Also... i wanna add a picture to the file-details page.
For example... the file is called 'application_v1.exe' and i do have a directory ./downloads/images/ with a file called application_v1.jpg...how can i realize that this image is shown up in the file-details, when it exists and otherwise a default-image is shown there?
The php-code is no problem so far...
I just need to know in which part of the code i can get the filename to compare it with the images and where/how i need to set the "$fileimage" variable for the templates...
Thx so far...
|