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.
The file local_links_init.php is contained in the includes/ subdirectory of the release zipfile and uploaded into the forums/includes/ subdirectory.
Open the file using a text editor and find these lines:
Code:
if ($_SERVER["DOCUMENT_ROOT"]) {
define('LDM_DOCUMENT_ROOT', $_SERVER["DOCUMENT_ROOT"]);
}
else {
// If you are running the IIS web server in CGI mode on Windows or if otherwise warned, uncomment and edit this line
// define('LDM_DOCUMENT_ROOT', '/path/to/your/site');
}
You can generally figure out what is your '/data/www-root/mysite' by going to your vbulletin/admincp/maintenance/php info page, and taking a look at the listing. I can't easily tell you what line to look for, as I do not have a windows-based IIS server available.
If you have problems with this, send me a PM with site details and a username/password for an account with admin privs on your board, and I'll take a look myself.
A quick note: the hosted Windows server we use does define DOCUMENT_ROOT but does so incorrectly (for this purpose) so I found I had to comment out the whole of the if ($_SERVER["DOCUMENT_ROOT"]) code except the required line - e.g.
Code:
//if ($_SERVER["DOCUMENT_ROOT"]) {
// define('LDM_DOCUMENT_ROOT', $_SERVER["DOCUMENT_ROOT"]);
//}
//else {
// If you are running the IIS web server in CGI mode on Windows or if otherwise warned, uncomment and edit this line
define('LDM_DOCUMENT_ROOT', '\\servername\domains\mysite.com\user\htdocs\testvb');
//}
On our Windows server (I don't know if this is the same for others) the _SERVER["DOCUMENT_ROOT" variable found in the "View PHP Info" section of the vB control Panel gives the path to \admincp\index.php so just removing that part of the path gives you the full path to the forum home directory on that server which is what you need to enter for the definition of LDM_DOCUMENT_ROOT.
i went to my vps control panel and set teh max upload size from 2 to 4 mb and restarted the vps server. but still the LDM Shows the max upload limit is 2mb.
i can upload my 3 mb 3gp files.
* Max post size was 8MB by default.
pls tell the solution.
Thank you for the wonderfull mod.
Recently I had to update my Wimpy Mp3 player to get it working with Flash 10. The problem now is that it shows "demo" when I use the LDM Wimpy addon. Is there any way around this. Is there another file that needs to be uploaded?
I added a new usergroup and gave it the permession to download, the links are there but aren't clickable so downloading isn't possibile, can someone help me?