Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Links and Downloads Manager Details »»
Links and Downloads Manager
Version: 2.3.0, by AndrewD AndrewD is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.7.0 Rating:
Released: 12-24-2007 Last Update: 06-13-2009 Installs: 576
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

What this is and does

LDM is a general-purpose tool for managing libraries of links and files, and handling uploads and downloads in a flexible way, while tracking and control user access. It has a range of integrated media players and a large library of 'plugin' extras.

Installation and Usage Explained in the on-line Wiki, with a brief explanation in the file instructions.txt in the release zip. The recent revision history is given in the first post of this thread.

Please use carefully and always backup your database before upgrading. Post reports of problems and suggestions for enhancements in this thread.

14.06.09 Version 2.3.0 is now the the officially-supported version. Works with 3.7 and vb 3.8. Please post comments in this thread

22.06.08 Version 2.2.9-post1 - This is the previous supported version. Works fine with all versions of vb 3.6 and vb 3.7. All standard features except profile integration and forum prefix selection work fine with vb 3.8.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #712  
Old 07-04-2008, 04:27 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obmob View Post
Ok... i need some help

On of my sites has around 500 entries every file is on my server they are sorted within folders, one folder for one category, I have never used LDM synch.

Is it possible to enable this feature? If so, how should i prepare my files and folders?

Thanks Andrew
There's a set of things to think about:
a) LDM can construct a category/subcategory/entry structure that reflects your directory/subdirectory/file structure, or just sync a single directory
b) The directories need to be somewhere within the spaced specified by the settings of LDM's *local_file_root* and *local_file_root_prefix* settings
c) The sync will *only* locate files that have recognised mimetypes in your vb attachments table, but you can tell it to restrict the list further, e.g. only pdfs or mp3 or whatever
d) While a category is set to sync with a directory, the 'Add Entries' command is not available. However, once you've done the synchronisation, you can turn it off, and the category become a normal category again (and keeps the entries created by syncing) which accepts new entries.
d) When LDM syncs files, it gives the entries descriptions based on the contents of the /links_scantext template (I've just noticed that there's a small bug in the code - nothing serious). You can either change the contents of the template or use different templates per catgeory.

So:

Create a category

Towards the bottom of the Add Category form, find the "Synchronise With" box and point to the required directory. For example, if you want to sync with http: // yoursite / yourfiles / yoursyncdir and *local_file_root* is off and *local_file_root_prefix* is blank, you would point to /yourfiles / yoursyncdir. If *local_file_root* is off and *local_file_root_prefix* is set to /yourfiles, then you would point to /yoursyncdir

Now go to the Control Settings tab on the Add Category form

Turn on sync_enabled.

Turn on sync_populate_categories if you want LDM to create subcategories for subdirectories

Set another parameters if you want - you'll find a page about syncing in the online wiki

Click Submit to create the category.

LDM will automatically fill the category/subcategories a bit at a time, each time the category is visited, and once it has finished the job, it will recheck periodically for new files/loss of old files. As admin you'll find a button towards the top right of the category display which you can use to over-ride the automatic scanning.
Reply With Quote
  #713  
Old 07-04-2008, 04:28 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stilgar View Post
Hello,

First off I would like to say that this modification is incredible. Thank you for all the work you have put into it. The features and settings are outstanding.

I was wondering if it was possible to sort link entries by UserGroups?

UserGroup A (links submitted sort at the top of their category)

UserGroup B (links submitted sort after links submitted by Group A)

UserGroup C (links submitted sort after links submitted by Group B)

This way, members that pay (subscribe) to be in a better UserGroup such as B or A, will have their links displayed higher then those who are in Group C.

If this setting is already in there, pardon my missing it. There's a lot of configuration to do and I most likely missed it.

Again thanks for all your efforts,

James
This option is not there at the moment - I don't think it will be hard to include, so I will add it to the 'wish list'.
Reply With Quote
  #714  
Old 07-04-2008, 02:33 PM
Master of Music Master of Music is offline
 
Join Date: Jun 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hallo,
Ich bekomme immer die fehlermeldung
Warnung: Invalid argument supplied for foreach() in [path]/includes/local_links_misc.php (Zeile 74)

Can i help me?
Reply With Quote
  #715  
Old 07-04-2008, 03:57 PM
Stilgar's Avatar
Stilgar Stilgar is offline
 
Join Date: Mar 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
This option is not there at the moment - I don't think it will be hard to include, so I will add it to the 'wish list'.
Andrew, thank you for considering this option.

I do have a feature question. How do I allow Usergroup A to upload thumbnails and deny UserGroup B this ability?

Regards,
James
Reply With Quote
  #716  
Old 07-04-2008, 04:35 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stilgar View Post
Andrew, thank you for considering this option.

I do have a feature question. How do I allow Usergroup A to upload thumbnails and deny UserGroup B this ability?

Regards,
James
This is something I am working on at the moment. (It's like the joke about buses - you wait forever then two requests for the same thing come in at once.) I'd missed that the vb admin page allows you to set file type permissions per usergroup, so I'm adding that feature to the next upload, which (if this weekend is not too busy) will be available soon.
Reply With Quote
  #717  
Old 07-04-2008, 05:03 PM
IR15H IR15H is offline
 
Join Date: Feb 2007
Location: England
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry it's been a few days before replying again.

Quote:
Originally Posted by AndrewD View Post
It records them all, but only counts a user's most recent nomination per period. That way, it continues to work correctly if the admin changes his/her mind about the collection period, e.g. decides to switch from months to weeks.
Ah okay, thanks. Is there a way to un-nominate an entry I've made? I recently nominated an entry for a time period, which has since elapsed. I can't find out how to simply not nominate any entries for the next period (bar deleting it via the admin settings, which all users don't have access to), I can only change to nominate another one.

Quote:
This is true. Fixing this in an efficient manner requires a slight change to the database structure, which I have put off making. I was thinking of making version 2.3.0 an 'efficiency' release, with points like this addressed.
Excellent, thanks .

Quote:
OK, will fix in the next 2.2.9 upload.
Thanks .

Quote:
The code in its current form does not check against those vb per-filetype permissions- I'm not sure - are these a relatively recent extension to vbulletin? I'll add it to the list of things to do, maybe 2.2.9 or 2.3.0.
I can't be certain on this, but I think they've been there since I first got vb, on 3.6. Either way, glad you've considered for a future version .

Quote:
OK, will change the wording in next 2.2.9 upload
Thanks .

Quote:
This requires a minor change to the code, which I will make available in the next 2.2.9 in the next few days.
Thanks .
Reply With Quote
  #718  
Old 07-04-2008, 05:10 PM
Stilgar's Avatar
Stilgar Stilgar is offline
 
Join Date: Mar 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
This is something I am working on at the moment. (It's like the joke about buses - you wait forever then two requests for the same thing come in at once.) I'd missed that the vb admin page allows you to set file type permissions per usergroup, so I'm adding that feature to the next upload, which (if this weekend is not too busy) will be available soon.
Heh... Yes, busses and job offers. It's feast or famine sometimes.

Cheers!
Reply With Quote
  #719  
Old 07-05-2008, 10:33 AM
RikiB RikiB is offline
 
Join Date: Dec 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Andrew, would it be easy to upgrade ldlm to use the new version of jw media player (4.0)

http://www.jeroenwijering.com/?item=JW_FLV_Media_Player

Thanks!
Reply With Quote
  #720  
Old 07-05-2008, 03:47 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
There's a set of things to think about:
a) LDM can construct a category/subcategory/entry structure that reflects your directory/subdirectory/file structure, or just sync a single directory
b) The directories need to be somewhere within the spaced specified by the settings of LDM's *local_file_root* and *local_file_root_prefix* settings
c) The sync will *only* locate files that have recognised mimetypes in your vb attachments table, but you can tell it to restrict the list further, e.g. only pdfs or mp3 or whatever
d) While a category is set to sync with a directory, the 'Add Entries' command is not available. However, once you've done the synchronisation, you can turn it off, and the category become a normal category again (and keeps the entries created by syncing) which accepts new entries.
d) When LDM syncs files, it gives the entries descriptions based on the contents of the /links_scantext template (I've just noticed that there's a small bug in the code - nothing serious). You can either change the contents of the template or use different templates per catgeory.

So:

Create a category

Towards the bottom of the Add Category form, find the "Synchronise With" box and point to the required directory. For example, if you want to sync with http: // yoursite / yourfiles / yoursyncdir and *local_file_root* is off and *local_file_root_prefix* is blank, you would point to /yourfiles / yoursyncdir. If *local_file_root* is off and *local_file_root_prefix* is set to /yourfiles, then you would point to /yoursyncdir

Now go to the Control Settings tab on the Add Category form

Turn on sync_enabled.

Turn on sync_populate_categories if you want LDM to create subcategories for subdirectories

Set another parameters if you want - you'll find a page about syncing in the online wiki

Click Submit to create the category.

LDM will automatically fill the category/subcategories a bit at a time, each time the category is visited, and once it has finished the job, it will recheck periodically for new files/loss of old files. As admin you'll find a button towards the top right of the category display which you can use to over-ride the automatic scanning.
OMG! x.x

HAHA, well, what if i already have my categories and subcategories created,they are inside the main category, maybe similarto what LDM will do, would LDM still try to create subdirectories?

Hmm... i'm renaming everything to be sequenced, so, maybe i can try importing new entries using xml.

Is it possible? I mean to have some sort of xml template and just add extra lines for new entries, just changing the entry ID and the category number?

Hmm... maybe i'd have troubles with keywords, would you help methinkabout this, please? @_@
Reply With Quote
  #721  
Old 07-06-2008, 05:10 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obmob View Post
OMG! x.x

HAHA, well, what if i already have my categories and subcategories created,they are inside the main category, maybe similarto what LDM will do, would LDM still try to create subdirectories?
Try the LDM/admin/Mass Edit/Scan features. This gives you an easy manual interface to syncing directory contents with existing categories.

Quote:
Originally Posted by obmob View Post
Hmm... maybe i'd have troubles with keywords, would you help methinkabout this, please? @_@
Not sure what you mean - you want to add these automatically?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:11 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06298 seconds
  • Memory Usage 2,337KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (14)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete