Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Display proper filename instead of generated filename?
bpahe
New
Hello everyone! I´m new to Vanilla but very impressed so far, using self-hosted installation.
When uploading files using the included function in 2.2, files are re-named to something like "fi2i5u2cc3cg.pdf" instead of "filename.pdf". Is there a way to keep the original filename, to make it easier to work with files for users?
Thanks in advance!
Tagged:
0
Comments
I have found another post regarding the issue, however the problem then was the FileUpload plugin. The code seems to have changed since then so I cannot apply the suggested solution.
FileUpload is still the addon that handles file uploads in the advanced editor.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Well, thanks for the answer, I guess, but could you at least point to which file to edit since I can't seem to find it. The plugin is not included in my installation so I need to tinker elsewhere.
You are able to upload files without the FileUpload addon?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
The Advanced Editor doesn't require the FileUpload plugin to upload files.
Add Pages to Vanilla with the Basic Pages app
I recently submitted a patch to the advanced editor that does what you want:
https://github.com/vanilla/vanilla/commit/475d0ad33827170a45246667d173954c68acfcef
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
That´s exactly what I need, but adding the line and clearing the cache does no difference?