Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
Links and Downloads Manager Details »»
Links and Downloads Manager
Version: 2.2.8, by AndrewD AndrewD is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

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.

Documentation, screen shots, etc, are provided as a Wiki at http://www.eirma.org/wikis/index.php...nloads_Manager

Thank you to everyone who has tested, given suggestions, helped with the translations, etc.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
VIP Hawaii

Comments
  #642  
Old 11-11-2006, 04:49 PM
pplc pplc is offline
 
Join Date: Nov 2006
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wanted to give a shout to Andrew! Logged into my forum and fixed the problem with my board and my images are now showing up. Andrew you are the bomb!
Reply With Quote
  #643  
Old 11-11-2006, 10:03 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew, about the vbadvanced plugin blocks:
If I want to add multiple blocks, can I just rename the plugin to whatever I like and use it several times under different names?
What are ldm_cat.php and ldm_tot.php?
If I want to display newest files in a certain category, what do I add/change in ldm_new.php?

And something different: I have been tooling around for a while to get the thunbs displayed, but can't seem to succeed. The dir where the thumbs should be stored is empty. I can not find another place where they are. Seems like the function is off. create_thumbs_oninsert is on. Strangely enough the database lists 3 thumbs, which I can not find. I hit reset to see if that helps. Now I've got 0. Where can I mass generate thumbs?
Reply With Quote
  #644  
Old 11-12-2006, 02:43 AM
amnesia623 amnesia623 is offline
 
Join Date: Jul 2006
Location: Glendale, AZ
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same here.

Great support from AndrewD and much appreciated.

Thanks Again
Reply With Quote
  #645  
Old 11-12-2006, 05:20 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1
Andrew, about the vbadvanced plugin blocks:
If I want to add multiple blocks, can I just rename the plugin to whatever I like and use it several times under different names?
I'm no expert on vbadvanced, but it seems you can copy/rename the modules in order to use them multiple times. (Actually, you can use a module multiple times without renaming it, but then it becomes difficult to get it to say different things on different parts of the page .) The thing to check is the number of database hits you create in the vba page - every module carries a load, although the LDM modules should do most of the initialisation work only one time regardless of how many LDM modules you load up.

Quote:
Originally Posted by Alfa1
What are ldm_cat.php and ldm_tot.php?
ldm_cats.php creates a block which looks like the categories section of the LDM home page, i.e. a list of the top level categories with direct links to them.

See attached image for an example of how these look.

Quote:
Originally Posted by Alfa1
If I want to display newest files in a certain category, what do I add/change in ldm_new.php?
Find the line which reads $filter= and change it as follows:

Code:
$filter = array("link.linkmoderate = 0", "ltoc.catid IN (1,3,5)");
Quote:
Originally Posted by Alfa1
And something different: I have been tooling around for a while to get the thunbs displayed, but can't seem to succeed. The dir where the thumbs should be stored is empty. I can not find another place where they are. Seems like the function is off. create_thumbs_oninsert is on. Strangely enough the database lists 3 thumbs, which I can not find. I hit reset to see if that helps. Now I've got 0. Where can I mass generate thumbs?
A number of people have been having difficulties with this for some time. Every time I find a way to patch the last problem, a new one appears.

Easiest is for me to take a look - I've forgotten my username on your site, and I'll need full admin perms back again.

Last question: thumbs are generated 'on the fly' if they don't exist, i.e. after you click the 'reset thumbs' link. There used to be a mass recreate function, but I realised it was unnecessary.
Reply With Quote
  #646  
Old 11-12-2006, 01:45 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that info. I have created a latest music block. How do I limit the number of files displayed?
Your username is same as here and has full admin perms again.
Reply With Quote
  #647  
Old 11-12-2006, 08:49 PM
berayiwu5 berayiwu5 is offline
 
Join Date: Feb 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, AndrewD. Your support has been nothing but phenomenal.

In the "LDM Usage and Quotas" section of the wiki manual (http://www.eirma.org/wikis/index.php...age_and_Quotas), there is a passage that says:

"Limits can be placed on the number of files a user can access and/or the bytes that she can download in a 24 hour period, or both. If both types of limit apply, the first limit to be hit triggers the block. These limits apply individually to registered users, and collectively for unregistered users. Different limits can apply to each usergroup."

What does applying "collectively for unregistered users" mean? Does it mean that if I assign 200MB daily bandwidth allowance to unregistered users, I can have either 20 users using 10MB per day or 40 users using 5MB per day? If a couple of unregistered users have used up 150MB on a given day, does it mean that there wouldn't be much bandwidth left for other unregistered users to use?

Besides, I don't understand how file limits can be meaningfully set collectively for the group of unregistered users, since there is no telling how many unregistered users will visit a site on any given day.

Thanks for your pointers.
Reply With Quote
  #648  
Old 11-13-2006, 03:53 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by berayiwu5 View Post
Thanks, AndrewD. Your support has been nothing but phenomenal.

In the "LDM Usage and Quotas" section of the wiki manual (http://www.eirma.org/wikis/index.php...age_and_Quotas), there is a passage that says:

"Limits can be placed on the number of files a user can access and/or the bytes that she can download in a 24 hour period, or both. If both types of limit apply, the first limit to be hit triggers the block. These limits apply individually to registered users, and collectively for unregistered users. Different limits can apply to each usergroup."

What does applying "collectively for unregistered users" mean? Does it mean that if I assign 200MB daily bandwidth allowance to unregistered users, I can have either 20 users using 10MB per day or 40 users using 5MB per day? If a couple of unregistered users have used up 150MB on a given day, does it mean that there wouldn't be much bandwidth left for other unregistered users to use?

Besides, I don't understand how file limits can be meaningfully set collectively for the group of unregistered users, since there is no telling how many unregistered users will visit a site on any given day.

Thanks for your pointers.
The manual is out of date on this point, thanks for highlighting that. For unregistered users, the test is now made using their IP address. If you turn on bandwidth limits and set a limit for unregistered users, each IP address will be allowed the speofied number of files/bytes per day. It's not perfect, but it seems better than giving the whole world a limit that one person could use up.
Reply With Quote
  #649  
Old 11-13-2006, 03:55 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Thanks for that info. I have created a latest music block. How do I limit the number of files displayed?
All the LDM vba modules use the same parameter, links_seen_on_portal, to limit the number of files displayed. You set it on the LDM admin settings page.

See PM concerning thumbs.
Reply With Quote
  #650  
Old 11-13-2006, 12:53 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew,
We started to get the following database error last night. I removed IP and username info.

Code:
> Database error in vBulletin 3.6.2:
>
> Invalid SQL:
>
> INSERT INTO local_linksdownloads
> SET
> linkid=0,
> linkurl='Accepts site terms',
> bytes=0,
> userid='7173',
> username='removed',
> usertime='1163380954',
> userip='00.00.000.00';
>
> MySQL Error  : You have an error in your SQL syntax; check the manual that 
> corresponds to your MySQL server version for the right syntax to use near 
> 'sgirl',
> usertime='1163380954',
> userip='00.00.000.00'' at line 7
> Error Number : 1064
> Date         : Sunday, November 12th 2006 @ 08:22:34 PM
> Script       : http://www.mysite.net/forum/local_links.php
> Referrer     : http://www.mysite.net/forum/local_links.php
> IP Address   : removed
> Username     : removed
> Classname    : vb_database
Any thoughts?
Reply With Quote
  #651  
Old 11-13-2006, 01:09 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
Andrew,
We started to get the following database error last night. I removed IP and username info.

Code:
> Database error in vBulletin 3.6.2:
>
> Invalid SQL:
>
> INSERT INTO local_linksdownloads
> SET
> linkid=0,
> linkurl='Accepts site terms',
> bytes=0,
> userid='7173',
> username='removed',
> usertime='1163380954',
> userip='00.00.000.00';
>
> MySQL Error  : You have an error in your SQL syntax; check the manual that 
> corresponds to your MySQL server version for the right syntax to use near 
> 'sgirl',
> usertime='1163380954',
> userip='00.00.000.00'' at line 7
> Error Number : 1064
> Date         : Sunday, November 12th 2006 @ 08:22:34 PM
> Script       : http://www.mysite.net/forum/local_links.php
> Referrer     : http://www.mysite.net/forum/local_links.php
> IP Address   : removed
> Username     : removed
> Classname    : vb_database
Any thoughts?

This is triggered by a username that has an apostrophe in it. Sorry about that. I'll post a fix this evening.
Reply With Quote
Reply

Thread Tools

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 PM.


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.07607 seconds
  • Memory Usage 2,328KB
  • 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
  • (3)bbcode_code
  • (7)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
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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