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.
-> VB/admincp/plugins and products
Download/Upload plugins
Import either autocreate-plugin.xml or autocreate-2way-plugin.xml
The first plugin creates new threads with a message with a link to the new LDM entry. The second plugin does the same, but also modifies the LDM entry description to include a link to the thread.
Once installed, the plugin is active.
Step 2: Using the plugin
The plugin runs automatically whenever a new entry is created in LDM *provided* that entry is "associated" with a forum. Entries are either "associated" with a forum by default (if the admin has set the LDM setting default_forumid), implicitly by picking it up from the category's associated forum (Add/Edit category) or explicitly in the Add Entry form, by users who have the LDM permission *can_set_permissions*.
Forum associations are normally used in LDM to set up access permissions, but this association is picked up by the plugin to decide where to post the new thread.
If an entry is created without an associated forum, the plugin does nothing.
Step 3: Modifying the plugin (Advanced Use!!)
If you want the plugin only to fire in certain LDM categories, you can edit it. There are two lines in each plugin with the php code $limitcats = array(); You need to change the array statement to include a list of the category numbers where the plugin will fire. You can find the category numbers by looking for the "catid" that is shown when you hover the mouse over a link to the category.
Normally, you will not need to worry about this - just install the plugin and let it run.
Thanks for this detailed explanation. I have tried to get this to work with the two way plugin but can't get it, I've done everything explained above. Does this work on "scanned" directories?
Thanks for this detailed explanation. I have tried to get this to work with the two way plugin but can't get it, I've done everything explained above. Does this work on "scanned" directories?
It won't work when you do LDM/admincp/categories/scan, as that route through the code does not trigger the plugins.
The plugins fires in these two cases:
a) Normal "Add Entry" when moderation is off
b) Moderate "Accept Entry" when moderation is on
They only fire if the entry has been given an associated forum (explicitly or implicitly) which is open for posting.