$Context->Configuration['ATTACHMENTS_ALLOWED_FILETYPES'] = '*'; That's what I used for the previous attachments extension to accept all files. Can I do the same here?
Hi all, just updated Vanilla 1.0 to 1.0.1 and the Attachment extension from 1.4 to 2.0. The files are uploaded to server just intact and database entry is created ok, but somehow the header-info gets corrupted every time they are downloaded (e.g. with ?PostBackAction=Download&AttachmentID=10 --> Can´t read file header/unknown file format).
The filesizes are also similar, only the header-info is lost and the files are downloaded then as unusable. The previous versions worked fine with same server settings, but now this problem occurs on every file type. Can this be somekind of server-settings issue, using Mac Xserve/Apache1.3.3/PHP5.1.4, or what would you suspect? Thanks in advance.
This extension is pretty neat!
I'm looking for something with thumbnailing, captions and thickbox support, is this available yet or in the near future? I also need to combine the images with the vote plugin so you can rate them...
Or would it be better to use Attachments 1.0 - I'm not really clear on the difference between the two... maybe someone can explain?
Cheers.
- show the name of the file - show the seeds - show the peers
- (*) the size of the downloaded file - (*) show the number and size of the files - (*) if possible it should also able to show the tracker info - (*) date of creation of torrent - (*) and other optimal info
(*) should be able to disable or enable this info form settings in admin sections.
-- I will be just using open public tracker for my file sharing.
-- This plug in can be accomplished by adding an additional codes to the "Attachment 2.0" plug in, with the "TorrentParsev2.2" I have tried to use this, but it require some additional coding skills. Which I dont have.
so if anyone can make this plug in it would be great. would be an great addition to the vanilla plugins.
Comments
$Context->Configuration['ATTACHMENTS_ALLOWED_FILETYPES'] = array ( 'image/gif' => array('gif', 'GIF'), 'image/png' => array('png', 'PNG'), 'image/jpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'), 'image/pjpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'), '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'), 'text/plain' => array('txt', 'TXT'), 'application/x-gzip' => array('gz', 'GZ', 'tar.gz', 'TAR.GZ'), 'application/download' => array('rar', 'RAR') );
with
$Context->Configuration['ATTACHMENTS_ALLOWED_FILETYPES'] = '*';
That's what I used for the previous attachments extension to accept all files. Can I do the same here?
- show the name of the file
- show the seeds
- show the peers
- (*) the size of the downloaded file
- (*) show the number and size of the files
- (*) if possible it should also able to show the tracker info
- (*) date of creation of torrent
- (*) and other optimal info
(*) should be able to disable or enable this info form settings in admin sections.
-- I will be just using open public tracker for my file sharing.
-- This plug in can be accomplished by adding an additional codes to the "Attachment 2.0" plug in, with the "TorrentParsev2.2" I have tried to use this, but it require some additional coding skills. Which I dont have.
so if anyone can make this plug in it would be great.
would be an great addition to the vanilla plugins.