Thread: Major Additions - DownloadsII
View Single Post
  #2399  
Old 03-03-2008, 10:04 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by triff
I'm getting an "Internal Server Error" on my forum when implementing that code in my .htaccess files.
In that case your host does not allow you to make these entry's in .htaccess files. You have to contact your host to increase the upload filesize.

@Iettafune: Yes, if you allow guests viewing the files it will. You can also use the vbSEO Google/Yahoo sitemap generator, it has a downloads.php addon in there. This sitegenerator mod can be used stand-alone so you don't need vbSEO installed.

Quote:
Originally Posted by glennybee
FTP to my server, replace the rar file in /downloads with the larger file but keep the same filename.
Probably you can but there is a better solution. Create a separate directory on your webserver, for example http://www.yoursite.com/large/ or something like that.
FTP the 10mb file into that directory.
Then go to your "add file" option in Downloads II and use the "link to file" option.
The only thing you have to do is to add the filesize in bytes yourself, but that's easy.
Suppose your file is 10,2mb then do 10,2x1024x1024 and you should have the size in bytes, but leave of the numbers after the komma, so if the output is 10695475,2 just put 10695475 as the filesize. It works great.
When you have to delete the file, remember to delete them from downloads II and also from that directory because linked files are not deleted automatically (ofcourse).
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01186 seconds
  • Memory Usage 1,765KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete