HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
FileUpload on 2.1b1
vrijvlinder
MVP
If you installed fileupload from this addon repo and tried using it with 2.1b and you experience problems , make sure you have all the files necessary which are not available here, they are at Github
https://github.com/vanillaforums/Addons/tree/master/plugins/FileUpload
The fileupload from here is missing a file called fileupload_functions.php . If you want to use file upload for 2.1 you need to get it from the Github Repo.
Also I recommend removing the version requirements or changing them to match your version.
3
Comments
i downloaded it from github and uploaded it to my site, but i cant enable it from dashboard. why?( im 2.1b1 )
can you enable other plugins from dashboard?
if yes, then you failed to remove the application version requirements from the plugin.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
yea, i can enable other plugins, how do i do now.
go to the class.FileUpload.Plugin.php and remove the whole sentence from the list
'RequiredApplications' => array('Vanilla' => '2.1b1'),
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
i removed
still cant enable it.
or u mean all of this?
no just the sentence I posted.
If you have another plugin that uploads enabled you might need to disable that one. Try enabling in the config.php the plugin. If it gives error then something else is wrong.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
i have ImageUpload on my site, you mean both plugin cant using together? im gonna try edit at config.php see wat happened.
You can use both plugins together. Is there an error message when you enable it?
Add Pages to Vanilla with the Basic Pages app
try version 1.7.1
http://vanillaforums.org/discussion/24806/fileupload-plugin-not-working-on-2-2-isn-t
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
theres no msg when i trying to enable it and failed.
i clicked on the enable,then it looks loading.afer 1sec nothing changed .
There are two things you could do and it doesn't matter which one you do.
First thing you could do is that you could replace class.categorymodel.php with the new one. https://github.com/vanillaforums/Garden/blob/master/applications/vanilla/models/class.categorymodel.php
Second thing you could do is use this file for FileUpload: https://github.com/vanillaforums/Addons/blob/346e7abee32237b2f51dbe6041a419f9eceeb5b0/plugins/FileUpload/class.fileupload.plugin.php
Add Pages to Vanilla with the Basic Pages app
ok ,i used 2nd way replaced class.fileupload.plugin.php. its solved.
What version does its say for the plugin with the github link? never mind the gihub link finally loaded after 5 minutes (its a speed demon). It says version 1.7.1 of file upload.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
migh i ask one more question?
how do i set a limit max file size?
Config setting for max file size:
It will use the smallest number from the config setting, PHP's post_max_size setting, or PHP's upload_max_filesize setting.
Add Pages to Vanilla with the Basic Pages app
Shadowdare - you are the new search engine. good on 'ya
I kind of give up after questions that have been answered hundreds of times.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
sry , havnt . I saw a lot ppl here, so..... :P
If you gave up, you wouldn't have replied.
Add Pages to Vanilla with the Basic Pages app
I've said alot of things
. being one of my favorite re-edits.
Well, at least now we have all the info in one spot, for the next person, who doesn't search.
hard to keep up on replies (re-editing by both replier and replied upon).
@shadowdare - but your categories.php mod was a new solution for fup 1.8, but who knows if that would have ripple effects, maybe yes, maybe no.
good answers, nonetheless!
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
It probably won't have ripple effects. Make backups in case.
Add Pages to Vanilla with the Basic Pages app