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.
FileUpload 1.1 Released
Tim
Vanilla Staff
This plugin enables file uploads (as attachments) to discussions, comments and conversations. Multiple files can be uploaded simultaneously using AJAX.
If your server is configured properly, a realtime upload progress bar will also be displayed.
Upcoming versions will allow file management from the dashboard, as well as an implementation of thumbnails.
If your server is configured properly, a realtime upload progress bar will also be displayed.
Upcoming versions will allow file management from the dashboard, as well as an implementation of thumbnails.
Tagged:
1
This discussion has been closed.
Comments
Any chance in the future of this displaying images from V1 Attachments? I have a V1 forum with tons of images uploaded and displayed using attachments and can't really consider switching until the images can come with me.
Thanks for the great plugin!
Vanilla Forums COO [GitHub, Twitter, About.me]
I've seen a few comments that seem to imply that the community expects core support for plugin features when upgrading. While this would be nice, its not entirely feasible.
Vanilla Forums COO [GitHub, Twitter, About.me]
@Desmanthus We may create a separate plugin for importing files after a data import. Trying to bring files along with the data import would make it incredibly more complex and time-consuming to execute.
Thanks for the virtual rave
Vanilla Forums COO [GitHub, Twitter, About.me]
FATAL ERROR IN: PHP.Gdn_ErrorHandler();
"FileUpload is missing the following requirement(s): Vanilla 2.0.2."
LOCATION: /var/www/html/vanilla/library/core/functions.general.php
> 330: if (count($MissingRequirements) > 0) {
> 331: $Msg = sprintf("%s is missing the following requirement(s): %s.",
> 332: $ItemName,
> 333: implode(', ', $MissingRequirements));
>>> 334: throw new Gdn_UserException($Msg);
> 335: }
> 336: }
> 337: }
> 338: }
BACKTRACE:
[/var/www/html/vanilla/library/core/class.pluginmanager.php 462] PHP::CheckRequirements();
[/var/www/html/vanilla/applications/dashboard/controllers/class.settingscontroller.php 510] Gdn_PluginManager->TestPlugin();
[/var/www/html/vanilla/library/core/class.dispatcher.php 276] SettingsController->TestAddon();
[/var/www/html/vanilla/index.php 38] Gdn_Dispatcher->Dispatch();
define('APPLICATION_VERSION', '2.0.3');
Either way, 2.0.3 SUCKED, I suggest 2.0.6
Vanilla Forums COO [GitHub, Twitter, About.me]
As you know, attachments for V1 was pretty widely used and I think support for converting/importing attachments would encourage many V1 users to upgrade.
Since Vanilla2 is now developing it's own "official" file upload plugin, maybe it is something that could be included. If I upgrade without my members' attachments they will put my head on a stick.
Just my two cents. Thanks for all the great work and for the best forum software out there.
Also..When trying out this plugin i see an upload bar, but wait and nothing happens. The image I am trying to upload is about 100k.
Update: @Lincoln Whatever/whoever makes it happen is fine by me. Thx.
PS I'm just drooling to be able to upgrade to V2 my V1 forum. Members are going to LOVE it.
<?php
define('APPLICATION', 'Vanilla');
define('APPLICATION_VERSION','2.0.3');
/*
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
This is the exception showing in firebug:
uncaught exception: Invalid JSON: {"MediaResponse":{"Status":"success","MediaID":"4","Filename":"file.jpg","Filesize":138495,"FormatFilesize":"135.2K","ProgressKey":""},"FormSaved":true,"DeliveryType":"VIEW","Data":"","StatusMessage":"","RedirectUrl":""}
This is the contents of the response:
{"FormSaved":true,"DeliveryType":"VIEW","Data":"(-- i snipped the base64 here --)","StatusMessage":"","RedirectUrl":""}
The GDN_Media table was created correctly and my attachments are being inserted into that table correctly. But they do not show up with the comments.
Not sure what's going on. I do not have APC installed.
- A copy of your fileupload.js file
- A list of your currently installed plugins
- Browser name and version
- OS name and version
- Vanilla version
Thankyou
Vanilla Forums COO [GitHub, Twitter, About.me]
Vanilla Forums COO [GitHub, Twitter, About.me]
Not sure what happened the first time, but disabling and re-enabling fixed the problem.
Clearly something screwy on my server.
- It does not work with Opera browser (says Uploading... and does nothing).
- When you edit post and click "Attach file", file upload form appears, but it also appears at the bottom form (2 of them) and that does not disappear after you finish editing (at least in Chrome browser).
After some more debugging I found the problem. This plugin is not compatible with the Greasemonkey addon for firefox. When I disable Greasemonkey I'm able to attach files.
However TiGR's second issue is valid and happens in Firefox as well. The issue appears to be that, when editing a post, you have multiple DIVs on the page with the same ID ('CurrentUploader'), and each of those divs is matched by the selector in fileupload.js line 12, so they each receive the html append on line 121.
these guys just need unique IDs.
Vanilla Forums COO [GitHub, Twitter, About.me]