Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
Links and Downloads Manager Details »»
Links and Downloads Manager
Version: 2.2.8, by AndrewD AndrewD is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.x Rating:
Released: 06-18-2006 Last Update: 02-03-2008 Installs: 661
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

Version 2.3.0 of LDM is now the official release. This works with both VB3.7 and VB3.8. You can obtain it here

Version 2.2.8 remains available here, with limited support.

04.02.08: patch-cat.xml 'extra' uploaded - see first post for information

27.10.07: Version 2.2.8-post1 uploaded
French translation of product installer uploaded (other language translations are in the main release zip)

Remember to back up your current database tables before upgrading.

What this is and does

LDM is a general-purpose link and file manager, which handles user uploads and downloads in a flexible way. A range of media players is integrated into LDM and others are included as plugin extras. LDM is described below in the first post of this thread, which also contains a brief list of the currently-known bugs.

This release of LDM works correctly with all VB versions 3.6.x and recent versions of vbadvanced.

Documentation, screen shots, etc, are provided as a Wiki at http://www.eirma.org/wikis/index.php...nloads_Manager

Thank you to everyone who has tested, given suggestions, helped with the translations, etc.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
VIP Hawaii

Comments
  #532  
Old 10-25-2006, 07:37 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
I recently moved all the files off of the server I'm hosting on to a remote url which I also own. If I use the ldm to download the file my speed is MUCH slower than if I link to the file in my browser. (I'm not talking about the time for the download to start, I mean the duration of the entire download). Is there a way to avoid this? it counteracts the whole reason I moved the files.

I wondered if you'd find this. It's all explained in the wiki, but probably lost in the annals of time.

If you set up LDM with all the (default) security settings turned on, then you've told LDM to keep the file location hidden from the end user. To do this securely for 'downloads' (i.e. files with filetypes that appear in your VB attachments table), it reads the file a block at a time and then transfers these blocks to the user.

This process is:

a) very quick if the file is on the same server as LDM and is referenced just using a local filename
b) slow and expensive if the file is on another server, because the code has to physically read the file over the internet and then retransmit it to the user - everything goes over the internet twice
c) somewhere in between if the file is actually on the same server but is referenced using a full url rather than a local filename.

I 'guestimate' that there is a factor of 1000 difference between case a and b.

When you simply type the url into the browser, then the file is obtained directly from the server on which it is held. There is no need to buffer the file somewhere, and there is also no need to involve a php script in the transfer - everything is dealt with by Apache/IIS/etc, which are 'hard coded' for efficiency.

Now, you can tell LDM to behave the same way as Apache, by setting LDM/admin/settings/force_redirect to 1 or 2. This will recover the speed, but it will no longer guarantee that the file location is secure from prying users. Case 2 is the most visible. Case 1 is partly hidden, but the really inquisitive user can discover where the file is held. Case 0 is fully secure at the cost of slow speed and extra cpu and double bandwidth.

Incidentally, if the file type is not in the VB attachments table, LDM always behaves as if force_redirect = 1

So this is the choice you have to make.
Reply With Quote
  #533  
Old 10-25-2006, 01:26 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am kind of confused on this. After the install and going to set the local_file_root and local_file_root_prefix. What exactly am i going to put in there.....? I attached an image of the local and icon's not being enabled......I set a path for the icons and they will not appear with ldm. If i go to the icon's through my server and click on the link inside the ldm icons file, i am directed to the icon, but using the same addy inside the ldm setting's page, it keep's saying that it can't find the file......
Reply With Quote
  #534  
Old 10-25-2006, 01:44 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew, I added this and a little advertising for ya. https://vborg.vbsupport.ru/showthread.php?t=129933
Reply With Quote
  #535  
Old 10-25-2006, 02:12 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obmob
Outback is good... geez, i love meat
Meat is good!
Reply With Quote
  #536  
Old 10-25-2006, 02:47 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Andrew, I went with option #1. I'll just add some redirect index pages to keep people from indexing the file server.
Reply With Quote
  #537  
Old 10-25-2006, 04:27 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As well as this 532 where exactly is the php.ini file located......I have looked everywhere that i can think of and i just can't locate it for some reason.
I tried to install a video and it said that it was to large for my php.ini settings.....
Reply With Quote
  #538  
Old 10-25-2006, 04:48 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP.INI I think is a file PER folder on your server. You can adjust it also usually by the PHPMYADMIN settings on your site. I set mine to 80mb I think.
Reply With Quote
  #539  
Old 10-25-2006, 06:41 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hotwheels
I am kind of confused on this. After the install and going to set the local_file_root and local_file_root_prefix. What exactly am i going to put in there.....? I attached an image of the local and icon's not being enabled......I set a path for the icons and they will not appear with ldm. If i go to the icon's through my server and click on the link inside the ldm icons file, i am directed to the icon, but using the same addy inside the ldm setting's page, it keep's saying that it can't find the file......
local_file_root and local_file_root_prefix are, if you like, specialised features for people who are running the web site on a server that is fully under their own control. They give you the possibility to increase security, but only if you really understand what you are doing and only if you do have full control of your server. If you don't, leave the settings alone.

Basically, these are used to control how LDM locates the downloadable files which it manages and which are stored on the server itself. LDM by default does a pretty good job of hiding the location of file downloads. However, if you really want to make sure that no-one can get at your files except through LDM, then you use these parameters to tell the program whereabouts on the web server the files are to be placed. All 'lookups' are translated to this part of the file system.

Concerning the icons setting, if you upload the icons into subdirectory ldm_icons of your *forums* directory, then set file_icons_dir to ldm_icons.
Reply With Quote
  #540  
Old 10-25-2006, 06:44 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hotwheels
As well as this 532 where exactly is the php.ini file located......I have looked everywhere that i can think of and i just can't locate it for some reason.
I tried to install a video and it said that it was to large for my php.ini settings.....
or_greg's answer is not quite correct.

php.ini is a file that is used by your web server (e.g. Apache) to control how the server handles php scripts. It sets things like maximum time limits for scripts to execute, maximum file upload sizes, and many other settings.

Where the file is stored depends on the web server and the operating system. For example, with a Windows box running Apache, the file is usually dropped into the windows directory itself.

If you do not have full control of your web server, then you will have to ask the system administrators to edit the file on your behalf. Generally, they will know exactly what you are talking about if you mention 'php.ini' and the specific parameters that need changing.
Reply With Quote
  #541  
Old 10-25-2006, 07:02 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew, I thought on linux servers you could drop the php.ini per folder and have it be more micro-managed, or, drop it in your root and let it trickle down, assuming you didn't drop another further in your site?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06064 seconds
  • Memory Usage 2,317KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete