Version: 2.2.8, by AndrewD
Developer Last Online: Apr 2010
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.
....and how can I protect my files that are uploaded so they can't be downloaded thru a direct request from the browser? I take it I have to mess with the directory permissions?
....and how can I protect my files that are uploaded so they can't be downloaded thru a direct request from the browser? I take it I have to mess with the directory permissions?
That's part of the point of the local_file_root setting. Once the files are held outside the web tree, a direct browser request cannot get at them. You have to use the various LDM scripts, either local_links?action=jump&id=NN to download item id NN and local_stream.php?action=stream&linkid=NN to stream it.
Please excuse my 1000's of questions, but I'm just trying to understand how to do this.
I want to store and stream files from this directory on my server:
home/user/uploadDir
my forums sit here:
home/user/public_html/forum/
In order to get LDM to open home/user/uploadDir (where files are stored) I have to turn on local_file_root and set local_file_root_prefix to home/user/uploadDir and then put this in the LDM wimpy plugin:
Code:
$sltype = strtolower($type);
if ($sltype=='mp3' or $sltype=='swf' or $sltype=='flv') {
$wimpy_url = "local_stream.php?action=stream&id=".$linkid;
$wimpy_url = urlencode($wimpy_url);
$player = "Wimpy";}
Is this correct? Or instead of using the local_file_root_prefix would I have to use the openbase_dir ?
Please excuse my 1000's of questions, but I'm just trying to understand how to do this.
I want to store and stream files from this directory on my server:
home/user/uploadDir
my forums sit here:
home/user/public_html/forum/
In order to get LDM to open home/user/uploadDir (where files are stored) I have to turn on local_file_root and set local_file_root_prefix to home/user/uploadDir and then put this in the LDM wimpy plugin:
Code:
$sltype = strtolower($type);
if ($sltype=='mp3' or $sltype=='swf' or $sltype=='flv') {
$wimpy_url = "local_stream.php?action=stream&id=".$linkid;
$wimpy_url = urlencode($wimpy_url);
$player = "Wimpy";}
Is this correct? Or instead of using the local_file_root_prefix would I have to use the openbase_dir ?
Thanks again
Almost correct, just one catch. You will need to set upload_dir as well as local_file_root_prefix, so you may find yourself with another subdirectory in there somewhere:
e.g. local_file_root_prefix - /home/user/files
upload_dir - /upload_dir
will put the uploads into subdirectories of /home/user/files/upload_dir