2014-11-18, 09:15 AM
1) Google Chrome
Open a new thread, add attachment (in my case I added .pdf file), write some text and post it.
Try to download the .pdf file from this thread -> it opens in a new window and you can see it without downloading in your browser -> close it
2) Firefox
Open a new thread, add SAME attachment, write some text and post it.
Try to download the .pdf file from this thread -> it forces you to download this file before opening, you cannot open it in a new window.
Everytime when you wanna download a file which was uploaded from Firefox - you cannot open it in browser, it forces you to download it first into PC.
When you uploaded this file by Google Chrome - you can open it in browser (tested in Firefox and Chrome), it doesnt force you to download this file first.
So tell me, how to change this? I prefer the first case. It depends on the browser where the file was uploaded.
EDIT:
we can force users to download the file instead of open it in browser by this:
{
global $attachment;
$attachment['filetype'] = "none";
}
Open a new thread, add attachment (in my case I added .pdf file), write some text and post it.
Try to download the .pdf file from this thread -> it opens in a new window and you can see it without downloading in your browser -> close it
2) Firefox
Open a new thread, add SAME attachment, write some text and post it.
Try to download the .pdf file from this thread -> it forces you to download this file before opening, you cannot open it in a new window.
Everytime when you wanna download a file which was uploaded from Firefox - you cannot open it in browser, it forces you to download it first into PC.
When you uploaded this file by Google Chrome - you can open it in browser (tested in Firefox and Chrome), it doesnt force you to download this file first.
So tell me, how to change this? I prefer the first case. It depends on the browser where the file was uploaded.
EDIT:
we can force users to download the file instead of open it in browser by this:
{
global $attachment;
$attachment['filetype'] = "none";
}