My Chinese Langauage Pack already supports this extension ?
FriendsOfFlarum upload, the intelligent file attachment extension
This is a great extension, and I thank @luceos for his efforts in developing it.
I apologise in case it was already told somewhere else, but in my view it would be very useful to add some kind of visual feedback (an animation, or a percentage of some sort) to clearly show when the file upload to the server is happening.
This is even more relevant in case of large files uploads, when the user has no clear perception whether the upload is still ongoing or has stuck for some reason.
Keep up the good work!
marcozambi agree ?
marcozambi I will take it into consideration. Seems like something that could be easily accomplished and adds good value.
0.3.8 tagged with Italian language.
Thanks to all who have translated my package and send in the file or a PR, this is much appreciated by me and the users of the package!
- Edited
hi, I want to upload the " .pie " file, but i used the regular expression was useless.
(image|audio|video|pie)\/.*
Hi flarum newb here, I tried using it on local development for now and I've been receiving
" Oops! Something went wrong. Please reload the page and try again. "
And when I press debug it says,
200 OK
POST http://flarum.dev/api/flagrow/upload
<br />
<fon
any suggestions? thanks ?
- Edited
achlys you can edit your discussion and replace all ":" with "_". That's the manual solution for this.
@luceos Whenever I install an extension on my localhost and upload the entire folder to my site path, the same bug requires me to manually edit each discussion to replace all ":" with "_". What's the solution for that, please? Furthermore, it can't properly link the uploaded files whose names have spaces.
- Edited
WaqarKhan Furthermore, it can't properly link the uploaded files whose names have spaces.
Could you give an example? see here
What application does a .pie
belong to? You're mistakenly trying to use a file extension for the mime type, try an online tool like this one to identify the mime type: http://mime.ritey.com/
kzyyy what's the exact error message, you've posted only part of it? <fon
?
- Edited
Hi, I'm not able to upload files after installing the extension. I suspect this has to do with my Local storage settings
as I left it blank, not knowing what to put there. Can anyone help ?
LOCAL STORAGE SETTINGS
Content Delivery URL (prefixes files):
hunochma if you don't know what a content delivery url is, you don't need to add any value there. It's related to having a content delivery network: https://en.wikipedia.org/wiki/Content_delivery_network
- Edited
luceos Thank you. Actually, my Admin
role could upload files while my User
role could not, so I realized that I had to update permissions in the Permission page
of the Admin panel. Maybe this extra installation/configuration step should be added in the FriendsOfFlarum FAQ
I've also been trying to upload PDF files with this:
(image\/(gif|jpeg|png))|(application\/(x-(7z|rar)-compressed|zip|arj|x-(bzip2|gzip|lha|stuffit|tar)|pdf))
But it didn't work. What string should I use if I only want images and pdf files?
- Edited
Released version 0.4.0.
This is a minor update, however your old settings related to mime type configuration will be gone, so make sure you copy/paste the regular expression!
? I'm very happy about this release mainly because of the following features that have been added:
For a while I've been debating why we would only need one specific upload adapter (or service). For instance Imgur couldn't handle anything aside from images. It would make more sense if you could upload your video's to amazon aws, your files to a cdn and store perhaps gif's locally. This update allows you to configure an upload adapter per mime type expression!
Also, based on some voiced hopes for watermarking, I've added that as well. There is still a bug that you won't see a preview of the watermark image in admin, but I guess you are most likely as happy as I am with being able to watermark at all.
Thanks @Davis and @webeindustry for adding OVH as an adapter.
Thanks BeatPlus for adding Spanish on most content.
Update using
composer update flagrow/upload:^0.4.0
php flarum cache:clear
If any translator of my package is reading this post, feel free to update the language files accordingly.
- technical diff
- Happy much? Buy me a
!
hunochma Actually, my Admin role could upload files while my User role could not, so I realized that I had to update permissions in the Permission page of the Admin panel.
Updated the readme and OP. Thanks for pointing it out, let me know if you need assistance related to the regular expression thing (it should be easier with the new multiple mime type configuration).
When I try to update from 0.3.8 with
composer update flagrow/upload
I get
Nothing to install or update
I just tried installing this and saw the following image in the settings page. It seems weird. Is it supposed to look like this? I already tried disabling and re-enabling the extension and even removing and reinstalling the extension but it still looked like this.