MyBB Hacks

Full Version: dlc file download
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

little problem:
i had created a threadfield for uploading dlc (jdownloader) files. but if you click the uploadlink you see only the text from the dlc, but download not possible. seems to be a problem with xthreads_attach.php

any idea to solve this problem?
I presume the extension is .dlc?
Are you able to capture the MIME type (Content-Type header) being sent by the server?

If xthreads_attach.php can't find a MIME type, it defaults to application/octet-stream, which should always force a download.
Do you happen to have defined .dlc as a file type in the MyBB attachments system, or maybe associated it with the server's system MIME types file?
thx ZiNgA BuRgA,

ZiNgA BuRgA Wrote:I presume the extension is .dlc?

yes, correct. regular uploads (.dlc-files) via FTP works fine. only the problem with attachement.

but i must check it later, cause actually our server is down.
i write a update as soon as possible...
Reference URL's