Retaining original filename after upload
I have recently moved our forum from naturnettet.com (ver. 2.1.8) to naturnettet.net (ver. 2.6.4).
I used to:
1) retain the original filenames after upload, and
2) save all uploaded files (jpg photos) in a separate folder for each member (.../uploads/photos/#memberID)
As a default, filenames are changed and every image uploaded seems to be placed in a new folder.
Where can I define/change these two conditions so that we can continue as before?
I believe that I made changes in core files (!) in the previous version but due to lack of programming skills, I am unable to find where and what to change.
In the library/core/class.upload.php it says: "237 - If there is a plugin that wants to store uploads at a different location or in a different way then they register themselves by subscribing to the Gdn_Upload_GetUrls_Handler event." but I haven't been able to find such plugin.
Can anyone explain how this can be done?