![]() |
Quote:
Thanks for your help! |
Quote:
|
Here's what he said:
Quote:
|
Quote:
[New version of local_links.php attached for testing - now removed] |
Installed without problems. Great Hack!
One suggestion, when I added a link for a video, it simply opened it up. I'd rather have it bring up the prompt to open or download first. Kinda like when you right click, save as. Is this possible? Maybe through the mime type? |
We have talked about this before because i had the same problem with pdf and xls files on my board but if there's a way none of us have been able to figure it out just yet.
Mark |
This issue can be resolved thru correct config of your mime types ON YOUR SERVER ...
However, if this is not possible for you, the PHP file headers can be used to modify the behaviour of downloads - this would require a new class to be added to detect the filetype (based on the extension) and apply the appropriate headers to the download link based on that ... |
thats over my head but ill work on it and see what i can come up with.
Thanks Natch. Mark |
Quote:
|
After some checking, I can also set my mime types on my server as well but I'm to unfamilar with how to do this so any adviced would be appreciated.
Thanks, Mark |
All times are GMT. The time now is 09:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|