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.
That's a setting on the LDM admin page - you've probably disabled allow_remote_downloads
thanks problem is solve
having new problem again. currently i have near 400gb files on same server but not inside the vb forum, how can i sync it to forum? coz add 1 link by 1 link will kill me
having new problem again. currently i have near 400gb files on same server but not inside the vb forum, how can i sync it to forum? coz add 1 link by 1 link will kill me
here i attach the screenshot
P.s - Sorry for poor english
Use the LDM category sync feature LDM/admin/settings - > sync section, then LDM/add category/sync
You say, not inside the vb forum - do you mean the files are held outside the web site file space? If so, then you have to modify the LDM file_root and file_root_prefix settings. All explained in the online wiki.
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.
This works!!!
The only three things that I need to adjust, is to include the LDM main page & LDM's search page and prevent my forum tab to be active when the visiting LDM.
Use the LDM category sync feature LDM/admin/settings - > sync section, then LDM/add category/sync
You say, not inside the vb forum - do you mean the files are held outside the web site file space? If so, then you have to modify the LDM file_root and file_root_prefix settings. All explained in the online wiki.
hi andrew, i mean the files then i wan to sync is in the same server, it only held outside the forum folder. what should i do?
Can anyone help me? I guess I should edit the link_main template, but I don't know how. If possible, give me the complete code. Thanks a lot.
This should get you started. As you say, its the links_main template. If just added an extra table with two columns when the statistics are to be displayed
hi andrew, i mean the files then i wan to sync is in the same server, it only held outside the forum folder. what should i do?
A) Go to the ldm/admin/settings, controls on synchronisation. switch it on and switch on sync_populate_categories and sync_populate_entries
B) Go to LDM main page. Create a new category. In the field 'synchronise with', enter the name of the top directory containing files you want to sync. For example, if you've got your downloads stored in http://yoursite/thisdir/thatdir, then enter /thisdir/thatdir in the field
C) that's it
When you now visit the category, it will spend a little time checking and syncing the directory and any subdirectories
Note that it will oly find filetypes that are in the vb attachments table, and you can further restrict these types using the ldm/admin/settings controls
The only three things that I need to adjust, is to include the LDM main page & LDM's search page and prevent my forum tab to be active when the visiting LDM.
This is the code I have used for my forum tab:
When you are on the LDM main page, $viewcatid will be equal to -1
When you are viewing the results of a search, the variable $this_action will be equal to "show"
When you are inside LDM, $this_action is always set, and I imagine it's not set when you are in a forum
So I suggest you modify your forum tab code to say something like
PHP Code:
if condition="!$this_action and (THIS_SCRIPT=='index' or in_array(..))">...</if>
Your LDM search check could be
PHP Code:
if condition="$this_action=='show')">...</if>
Your LDM main page check could be
PHP Code:
if condition="$this_action=='links') and $viewcatid<0">...</if>
This should get you started. As you say, its the links_main template. If just added an extra table with two columns when the statistics are to be displayed
I replace the links_main template with the attached code, unfortunately it doesn't work.
With the new template, the width of the main section was extended to 100%, that's OK, I can fix it. But the statistic still stayed under the main section. Just don't know what happened.