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.
This is possible but requires changes to the code. It is something that I have intended to make easily available via the LDM/admin pages at some stage, but never quite finished.
Basically, you do the following:
- create a new template within your vbulletin/admincp, for example called links_mylinkbit
- edit includes/local_links_admininclude.php
- find a group of lines (around line 550) which look like this:
well, i think that error message says that you've created a link pointing to a module on a vbadvanced page called downloads, and the page no longer exists. I think this is probably an error on your vbadvanced setup.
Since I have changed tabs some time ago, I am not using the tabbars hack, but have just put the conditionals in my navbar and have added the following to my additional CSS definitions:
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.
- How would this translate to my current set up?
- Am I correct to use the $viewcatid variable like this? This is how I currently have conditionals in my navbar:
well, i think that error message says that you've created a link pointing to a module on a vbadvanced page called downloads, and the page no longer exists. I think this is probably an error on your vbadvanced setup.
When I disactivate the block, "Whats new", the page displays correctly, but when I activate it, this shows up.
I've tried with other blocks that came with the LDM and all's the same.
When I disactivate the block, "Whats new", the page displays correctly, but when I activate it, this shows up.
I've tried with other blocks that came with the LDM and all's the same.
I've not seen this problem before, so I don't know what to suggest, but I'm happy to take a look at your site and try to fix it. If you want this, send me a PM with site details and an account/password with vb admin privs.
Since I have changed tabs some time ago, I am not using the tabbars hack, but have just put the conditionals in my navbar and have added the following to my additional CSS definitions:
It's a bit difficult to help at a distance. $viewcatid is a variable, not an array, so you should make the test something like in_array($viewcatid, array (1,2,3,4,5)). If you've put this into the navbar template rather as plugins a la tabbar hack, this should work correctly within LDM. $viewcatid will be undefined outside LDM, so the test would give the answer 'false' in other parts of the board and not cause an error.
hi AndrewD, i have try to set the limit for a user and bytes but the user still can download as many as he can.. please let me know any setting need to set?
hi AndrewD, i have try to set the limit for a user and bytes but the user still can download as many as he can.. please let me know any setting need to set?
here is the screenshot,
Up to version 2.2.7, LDM will only apply limits for entries that it recognises as downloads, and this requires that you have a valid mimetype entry for the filetype in the vbulletin/admn/attachments table. You should check this first. For .exe files, mimtype of "Content-type: application/download" should do the job.
Up to version 2.2.7, LDM will only apply limits for entries that it recognises as downloads, and this requires that you have a valid mimetype entry for the filetype in the vbulletin/admn/attachments table. You should check this first. For .exe files, mimtype of "Content-type: application/download" should do the job.
hi andrew thanks for reply, after set exe on attachment table. now when i try download, it show me , please look at the attachment.