Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
2 last questions for awhile
I installed the attachments Version 1.4. I also created a folder called uploads in the root of the vanilla install and gave it 777 permissions. But, my files are not uploading. What am I doing wrong here?
The default template side.php (I know nothing about php - cause html and css) I am assuming this is the side column. With the default instal I have
"Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support." div - How can I get rid of that?
Thanks
0
This discussion has been closed.
Comments
'application/vnd.ms-excel' => array('xls', 'XLS', 'csv', 'CSV', 'xlsx', 'XLSX'),
Just for reference, and I'm by no means saying this is a definitive list, or even error free, but here's what I have enabled in a private forum that I use at work:
$Context->Configuration['ATTACHMENTS_ALLOWED_FILETYPES'] = array ( 'image/gif' => array('gif', 'GIF'), 'image/png' => array('png', 'PNG'), 'image/jpeg' => array('jpg', 'JPG', 'jpeg', 'JPEG'), 'image/pjpeg' => array('jpg', 'JPG', 'jpeg', 'JPEG'), 'image/x-icon' => array('ico', 'ICO'), 'application/pdf' => array('pdf', 'PDF'), 'application/x-pdf' => array('pdf', 'PDF'), 'application/msword' => array('doc', 'DOC', 'rtf', 'RTF'), 'application/zip' => array('zip', 'ZIP'), 'application/x-zip-compressed' => array('zip', 'ZIP'), 'application/octet-stream' => array('rar', 'RAR', 'doc', 'DOC', 'php', 'PHP', 'aspx', 'ASPX', 'asp', 'ASP', '7z', '7Z'), 'application/vnd.ms-excel' => array('xls', 'XLS', 'csv', 'CSV', 'xlsx', 'XLSX'), 'text/plain' => array('txt', 'TXT'), 'text/x-javascript' => array('js', 'JS'), 'text/css' => array('css', 'CSS'), 'application/x-gzip' => array('gz', 'GZ', 'tar.gz', 'TAR.GZ'), 'application/download' => array('rar', 'RAR'), 'application/x-msdownload' => array('exe', 'EXE') );
And here it is without all the = signs lined up:
$Context->Configuration['ATTACHMENTS_ALLOWED_FILETYPES'] = array ( 'image/gif' => array('gif', 'GIF'), 'image/png' => array('png', 'PNG'), 'image/jpeg' => array('jpg', 'JPG', 'jpeg', 'JPEG'), 'image/pjpeg' => array('jpg', 'JPG', 'jpeg', 'JPEG'), 'image/x-icon' => array('ico', 'ICO'), 'application/pdf' => array('pdf', 'PDF'), 'application/x-pdf' => array('pdf', 'PDF'), 'application/msword' => array('doc', 'DOC', 'rtf', 'RTF'), 'application/zip' => array('zip', 'ZIP'), 'application/x-zip-compressed' => array('zip', 'ZIP'), 'application/octet-stream' => array('rar', 'RAR', 'doc', 'DOC', 'php', 'PHP', 'aspx', 'ASPX', 'asp', 'ASP', '7z'), 'application/vnd.ms-excel' => array('xls', 'XLS', 'csv', 'CSV', 'xlsx', 'XLSX'), 'text/plain' => array('txt', 'TXT'), 'text/x-javascript' => array('js', 'JS'), 'text/css' => array('css', 'CSS'), 'application/x-gzip' => array('gz', 'GZ', 'tar.gz', 'TAR.GZ'), 'application/download' => array('rar', 'RAR'), 'application/x-msdownload' => array('exe', 'EXE') );
'application/vnd.ms-excel' => array('xls', 'XLS', 'csv', 'CSV', 'xlsx', 'XLSX'),
keeping with the capital & lowercase lettering for file extensions that is found elsewhere in the config.