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.
Well, I'd hoped to come back from holiday and find no bugs to fix, but people seem to keep finding them... I think we're nearly there.
Concerning yout earlier PM'd problem with rogue downloads, this is not going to be easy to sort out from a distance. I have somewhat improved the tool for analysing downloads in 2.2.8, and it may be easiest for you to upgrade before we start investigating.
Darn bugs! And no worries on the needing to upgrade before we start investigating. You do such wonderful work, I bet it's already taken care of!
I've had this mod installed for quite some time and it was working great. Now I'm getting the following messages when trying to click on a link:
Error - Cannot determine if you can access link: linkid,forumid= 227, 38
Can someone tell me what that means and how I can fix it?
Cheers!
Sherry
It means that the entry has been 'associated' with a forum which you have subsequently deleted, so the code can't tell if you have access permissions or not. You need to edit the entries to use current forums. The quickest way to do this is with the ldm/admin/categories/mass edit feature, which should highlight for you where the problems are.
I have these forum tabs on my site. I apply conditionals to them, so that the tab that corresponds to the section of the site you are on gets highlighted.
To do this for LDM, I need to define what the cat id variables of LDM are.
This sequence will use the tabbarsone style if you are outside LDM and the tabbarssix style if you are inside LDM.
I'm sure you can take it from here. Bear in mind that you will need to change the strings inside the in_array() statement if you have renames the main LDM scripts.
Well, it should be by modifying the formwidth_usercp setting on the vb style sheet, but I realise that I've missed out a table width parameter in the relevant template.
So modify the formwidth_usercp style variable, and then find this sequence in the links_addnewlink template:
Unfortunately adding the 100% did not work, the editor in LDM was still smaller than the forum. So I changed the 100% to the 640 that matches my formwidth_usercp variable and that worked.
In the new version, I (think) see where you've added the width statements now but the 100% didn't work on my forum and changing the values on the new version to 640 didn't work this time. Any thoughts?
This sequence will use the tabbarsone style if you are outside LDM and the tabbarssix style if you are inside LDM.
I'm sure you can take it from here. Bear in mind that you will need to change the strings inside the in_array() statement if you have renames the main LDM scripts.
This was not quite what I meant, because I got this far. I have 3 tabs linking to 3 different categories in LDM; Video, Audio and Documents. All sections make use of local_links, so I can not use THIS_SCRIPT to identify the categories.
This is why I want to use category-id's. I have done this for the tabs linking to forums. This worked like this:
This was not quite what I meant, because I got this far. I have 3 tabs linking to 3 different categories in LDM; Video, Audio and Documents. All sections make use of local_links, so I can not use THIS_SCRIPT to identify the categories.
This is why I want to use category-id's. I have done this for the tabs linking to forums. This worked like this:
If you can correct this line for me, then I am set.
Yes, there's a small problem with this approach, because the standard coding for the tabs hack sets up its display *before* LDM gets started. Consequently, standard LDM variables have not yet been set.
The following approach works:
1) Instead of putting $tabbars in the navbar template, put it in the links_header template, immediately after $navbar.
2) Create a new plugin tied to the *ldm_maindisplay_end* hook, and make its code identical to the code which the tabs hack ties to the *parse_templates* hook
3) You can code your in_array() check using the $viewcatid variable.
This will work for the main LDM displays. You will have to work out how to get this to work in other parts of vBulletin, i.e. which templates you can patch with $tabbars, etc.
In the new version, I (think) see where you've added the width statements now but the 100% didn't work on my forum and changing the values on the new version to 640 didn't work this time. Any thoughts?
I made the same changes in the *links_addnewentry* and *links_viewallcomment* templates:
This works correctly for me with both Firefox and Internet Explorer, with both pixel and percentage values for the formwidth_usercp style setting in VB, provided this value is larger than about 400 pixels. (Smaller values than about 400 seem to be ignored.) Note that "100%" appears twice.
If you are wanting to 'hard code' the width, you need to replace $stylevar[formwidth_usercp];