Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
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
  #882  
Old 08-21-2008, 03:45 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blackwolfcds View Post
Good morning,

First, a big thank you for this wonderful module.

I have a problem with the "filter".
I have a category which includes many files (more than 20000 for some).
If you choose a filter, for example the letter "B", only the first page complies.
If you click on page 2, for example, the filter cancels ...

I tried with versions post1 and post2, and invariably the same problem.

If someone can help me, it would be very nice.

Thank you in advance.
You are right, this is a bug. I will fix in the upload when possible.

Edited: In the meantime, if you want to fix it yourself, edit local_links.php in your forum directory. Find the following code (around line 675):

Code:
		$pagenav = construct_page_nav($pagenumber, $thispage, $nhits, $LINKS_SCRIPT.".php?catid=$viewcatid&sort=$sort", "&pp=$thispage");
and replace with

Code:
		$pagenav = construct_page_nav($pagenumber, $thispage, $nhits, $LINKS_SCRIPT.".php?catid=$viewcatid&sort=$sort".(strlen($viewfilter) ? "&filter=$viewfilter" : ""), "&pp=$thispage");
Reply With Quote
  #883  
Old 08-21-2008, 04:19 PM
Stilgar's Avatar
Stilgar Stilgar is offline
 
Join Date: Mar 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I limit a usergroup to only being able to add one Link to the list?

Also, Where can I change $linkimgjump ? I would like to change the image's link to go to:

Code:
<a href="member.php?u=$linkuserid">$linkusername</a>

Thanks!

p.s. Andrew, I was able to allow images to be displayed on the directory. I just used the File Upload instead of the Image upload. Then I just limited the files available for upload to only image file types. It adds the Thumbnails just as I wanted. Now all I have to do is edit out the file links so members are not trying to download the thumbs. Thanks for all your help!

James
Reply With Quote
  #884  
Old 08-22-2008, 08:46 AM
blackwolfcds blackwolfcds is offline
 
Join Date: Jul 2008
Location: Soissons, France
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
You are right, this is a bug. I will fix in the upload when possible.

Edited: In the meantime, if you want to fix it yourself, edit local_links.php in your forum directory. Find the following code (around line 675):

Code:
		$pagenav = construct_page_nav($pagenumber, $thispage, $nhits, $LINKS_SCRIPT.".php?catid=$viewcatid&amp;sort=$sort", "&amp;pp=$thispage");
and replace with

Code:
		$pagenav = construct_page_nav($pagenumber, $thispage, $nhits, $LINKS_SCRIPT.".php?catid=$viewcatid&amp;sort=$sort".(strlen($viewfilter) ? "&amp;filter=$viewfilter" : ""), "&amp;pp=$thispage");
Thank you very much

I edited the file local_links.php as you said and now it works correctly :up:
Reply With Quote
  #885  
Old 08-22-2008, 09:37 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
How can I limit a usergroup to only being able to add one Link to the list?
not currently an option - would require writing some extra code or a plugin

Quote:
Originally Posted by Stilgar View Post
Also, Where can I change $linkimgjump ? I would like to change the image's link to go to:

Code:
<a href="member.php?u=$linkuserid">$linkusername</a>
linkimgjump is set up in includes/local_links_include.php, function ldm_get_entrybits. The clean way to modify it as you want is to create a small plugin tied to the ldm_linkbit_create hook.
Reply With Quote
  #886  
Old 08-22-2008, 04:47 PM
Stilgar's Avatar
Stilgar Stilgar is offline
 
Join Date: Mar 2006
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, sounds good. Thank you.

How can I change the Link Title displayed in links_linkbit ($linkurljump) to be linked to the member's forum profile?

Added: Nevermind, I found it!

Code:
<a href="member.php?$session[sessionurl]u=$linkuserid">$linkname</a>

Thanks!
Reply With Quote
  #887  
Old 08-22-2008, 07:45 PM
exportforce exportforce is offline
 
Join Date: Jun 2007
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

just wanted to try this one, but every time I try to do something, it comes up, that some securitytoken would be wrong or missing...
I am running 3.7.2. pl2

any tips ?

edit:
Also when I try to uninstall it, it just gives me a blank site.
Could you please post an uninstaller, so I can clean it up and reinstall it ?
Reply With Quote
  #888  
Old 08-23-2008, 02:15 AM
sparklywater sparklywater is offline
 
Join Date: Jun 2008
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why can we not enter percentage values for the 'link_imagemagsize' setting? For example 100% would mean cover full screen of user. Also, why is there only one dimension setting in 'link_imagemagsize', why not both width and height?
Reply With Quote
  #889  
Old 08-23-2008, 03:54 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by exportforce View Post
Hello,

just wanted to try this one, but every time I try to do something, it comes up, that some securitytoken would be wrong or missing...
I am running 3.7.2. pl2

any tips ?

edit:
Also when I try to uninstall it, it just gives me a blank site.
Could you please post an uninstaller, so I can clean it up and reinstall it ?
For the security token, check that you did not patch any of the templates before vbulletin introduced this mechanism. This could leave you with obsolete forms.

There should be no problem uninstalling via the standard vbulletin/admincp/products section. The uninstaller leaves the database tables intact, but this would not create a blank screen.

Blank screens are often a sign of a php bug somewhere. Have you tried vb/admincp/settings/ turn off gzip compression
Reply With Quote
  #890  
Old 08-23-2008, 04:12 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sparklywater View Post
Why can we not enter percentage values for the 'link_imagemagsize' setting? For example 100% would mean cover full screen of user. Also, why is there only one dimension setting in 'link_imagemagsize', why not both width and height?
I did wonder about allowing percentages for the image size. However, there's a problem - when you use a percentage in html, you are (afaik) refering to a percentage of the container size in which the item sits, not a percentage of screen size. A size of something specified as "100%" would depend on the specifications for other features on the board and would not mean "full page width". It could also vary with choice of template. It seems less confusing to stick with pixel sizes.

Again, I wondered about having both width and height parameters, but this would end up distorting pictures - by using only one value, the code can maintain the aspect ratio of the picture.

Am open to discussion
Reply With Quote
  #891  
Old 08-23-2008, 10:35 AM
sparklywater sparklywater is offline
 
Join Date: Jun 2008
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Again, I wondered about having both width and height parameters, but this would end up distorting pictures - by using only one value, the code can maintain the aspect ratio of the picture.

Am open to discussion

I can understand the importance of maintaining aspect-ratio, but I found one problem with the LDM imagemagsize setting. This setting sets the size of the image 'along larger dimension', and this becomes problematic if the image has a larger width than height (which is usually the case). This is because having a fixed width means that the height of the image varies according to the original size of the image, and this sometimes results in images having heights too large for the screen. What would be more useful is to have the 'imagemagsize' set the HEIGHT of the image rather than the width, which would then allow the width of the image to vary according to the aspect-ratio of the original picture. This would cause less problems because obviously the screen of the user is wider than the screen's height, so it can allow for more variability in the horizontal direction.
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 08:35 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.06410 seconds
  • Memory Usage 2,321KB
  • 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
  • (7)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
  • (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