Found it here:
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=20;t=000630;p=4#000053
I just applied this on my 6.4 version, and it did work to save the original fime name. But the overwrite protection didn't work. I was able to re-upload the same file, with no warning, and the file did not get CHMOD'd to 0444. Maybe I just need to check my upload settings...
There may be a conflict with the new settings in the CP:
quote:
How do you want the filename to be named after the user uploaded?
There are three options for filenames:
1. Random filename in number after member uploaded (members can't overwrite files).
2. the filename to be named from the username of the user.
3. filename to be named by the member's number.
One difference between the instructions and the newer version of ELYs_Upload:
$vars_misc{SAVE_DIRECTORY}
is now:
$vars_modifications{elym_upload_SAVE_DIRECTORY}