HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to Upload Music, Sound and Movie files.

vrijvlindervrijvlinder Papillon-Sauvage MVP
edited August 2013 in Tutorials

You can attach music and movie files by adding them to you config.php. I tested it and it works. However the size allowed to be uploaded must be changed if the files weigh more than 4mega.
Add this line or only the file types you wish to attach on upload.

$Configuration['Garden']['Upload']['AllowedFileExtensions']= array('txt','jpg','jpeg','gif','png','bmp','tiff','zip','gz','tar.gz','tgz','psd','ai','fla','swf','pdf','doc','xls','ppt','docx','xlsx','log','rar','7z','mp3','wav','aiff','mov');
$Configuration['Garden']['Upload']['MaxFileSize']= '50M';

when a user clicks on the attachment, it opens a player. You can use the link to your attachment to embed it elsewhere. In a sense publishing your music right from Vanilla.


Sign In or Register to comment.