vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

bayigurita 08-25-2008 03:46 AM

When using force_redirect=0 / 1, the download unable to resume, but if using force_redirect=2, the download able to resume. So I used option "2". But the hits won't count. Is there anyway to make it counted just by clicking the link?

I'm using different server for my downloadable files and my vbulletin LDM

AndrewD 08-25-2008 03:50 AM

Quote:

Originally Posted by bayigurita (Post 1606245)
When using force_redirect=0 / 1, the download unable to resume, but if using force_redirect=2, the download able to resume. So I used option "2". But the hits won't count. Is there anyway to make it counted just by clicking the link?

Sorry, not with the code as it's currently written. What do you mean by 'won't resume' with force_download=0/1?

bayigurita 08-25-2008 04:43 AM

Quote:

Originally Posted by AndrewD (Post 1606249)
Sorry, not with the code as it's currently written. What do you mean by 'won't resume' with force_download=0/1?

Nobody was able to resume the download, if I set force_redirect=0 or force_redirect=1. The file I hosted was larger than 100MB (not at the same vbulletin+LDM host), and if I try to download, and stop it in the middle and resume the download, the download start from the beginning not resuming properly.

AndrewD 08-25-2008 05:02 AM

Quote:

Originally Posted by bayigurita (Post 1606266)
Nobody was able to resume the download, if I set force_redirect=0 or force_redirect=1. The file I hosted was larger than 100MB (not at the same vbulletin+LDM host), and if I try to download, and stop it in the middle and resume the download, the download start from the beginning not resuming properly.

If you try to deliver large files held on a different server with force_redirect=0, then indeed you are going to have problems, because the script running on your server will use all its available cpu time fetching the file. This should not happen with force_redirect=1, because LDM simply triggers a browser redirect to get the file. With force_redirect=2, LDM is not involved at all in the transfer process.

sparklywater 08-25-2008 02:24 PM

Andrew,

I need to 'force' mp3 files to be downloaded rather than open up in a browser window or external player, ie. when the user clicks on the link a dialog box should pop up asking whether they'd like to save or open the file. Can you please explain how I can do this?

AndrewD 08-25-2008 02:35 PM

Quote:

Originally Posted by sparklywater (Post 1606572)
Andrew,

I need to 'force' mp3 files to be downloaded rather than open up in a browser window or external player, ie. when the user clicks on the link a dialog box should pop up asking whether they'd like to save or open the file. Can you please explain how I can do this?

Try ldm/admin/settings -> security and miscellaneous settings -> force_saveas -> yes

Let me know if it works as expected.

sparklywater 08-25-2008 03:40 PM

Quote:

Originally Posted by AndrewD (Post 1606579)
Try ldm/admin/settings -> security and miscellaneous settings -> force_saveas -> yes

Let me know if it works as expected.


That method does not work in Internet Explorer.

I was thinking of a more format-specific method which you seem to have mentioned in the wiki here: http://www.eirma.org/wikis/index.php...s_in_vBulletin

Here is a quote from that page:

"Specifying the mimetype as "Content-type: application/force-download" is a useful way to force a filetype to be downloaded rather than opened within the browser window or by a program on the user's PC"

That sounds perfect but I don't know how to specify the mp3 filetype as 'application/force-download'.

vbboarder 08-25-2008 04:50 PM

Can someone please verify if the conflict between Yahoo event script and embedded players exists in Firefox 3? For more info on this bug, you can read my posts #903 & 908. You can reproduce and verify the bug by:

1. Create a forum with HTML code enabled (remember to allow admins only to post if this will be a permanent forum).
2. Create a thread and post with this sample object tag from youtube:
Code:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
3. Save and view the thread. The embedded flash player will temporarily show for ~1 sec. when the page loads, but then disappears (if autostart is enabled, video should play but still does not show). Refreshing the page and clearing the cache does not help.

After testing, please post if the flash video remains displayed or disappears. I have not tested in Firefox 3 myself because I'm still waiting for several Firefox 3 bugs to be fixed and Firefox 2 still has a relatively large usage base (~18%) so this bug needs to be fixed. Much appreciated for any help.

sparklywater 08-25-2008 04:54 PM

Does anyone know if there is a way to check a user's browser for the latest RealPlayer plugin, and if they don't have it then display a message or an update?

AndrewD 08-25-2008 05:30 PM

Quote:

Originally Posted by sparklywater (Post 1606622)
That method does not work in Internet Explorer.

I was thinking of a more format-specific method which you seem to have mentioned in the wiki here: http://www.eirma.org/wikis/index.php...s_in_vBulletin

Here is a quote from that page:

"Specifying the mimetype as "Content-type: application/force-download" is a useful way to force a filetype to be downloaded rather than opened within the browser window or by a program on the user's PC"

That sounds perfect but I don't know how to specify the mp3 filetype as 'application/force-download'.

That's close to what the force_saveas settings does. Clearly I need to test it some more.

To specify the mp3 mimetype, go to vb/admincp/attachments/attachment manager.

Edit mp3, and change the mimetype box to Content-type: application/force-download. Remember what it used to be in case you want to go back again.


All times are GMT. The time now is 01:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02317 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete