Version: 2.3.0, by AndrewD
Developer Last Online: Apr 2010
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.
Well... went online with 2.3.0, everything was fine till i bumped into extra attributes added to certain entries.
I used it to add extra wallpaper size for some i had done. So, the attribute "widescreen" was used and it used to appear as a link, and hits to it were also added to the total count.
I had edited links_viewone_entity for that to happen.
Well, i tried the same this time, but no success, now, even if the attribute is a text i see the whole image in the attribute field.
Also a download link and a magnifier lenz.
If i change the attribute to be an image instead of a URL, te result is a thumbnail, but with no download link, just the magnifier.
In the end if i use this method, the hits are not counted.
Question:
Is there a way to show the thumbnail, but also be able to count hits... or, to hide the big image from my linkbit while the attribute is just a URL, would prefer to show the thumb and click on it to download.
Hope I was clear
*Edited*
I think I understand. I've removed the possibility to download images for extra attributes. The fix is straightforward. (Line numbers assume that you have installed version 2.3.0-RC5 - they might be slightly different with earlier versions.)
Edit includes/local_links_entities.php, around line 1159 find:
PHP Code:
case ENTITY_TYPE_IMAGE : case ENTITY_TYPE_IMAGEUPLOAD : if ($links_defaults['link_imagesize']) { $entityimgurl = $RESIZE_SCRIPT.'.php?'.$vbulletin->session->vars['sessionurl'].'linkid='.$linkid.'&entityid='.$entityid;
Fatal error: Call to undefined function ldm_create_category() in /var/www/satulcvb/htdocs/local_links_actions.php on line 2450
Check that you have uploaded all the files correctly and into the correct directories. The function ldm_create_category() was moved from one file to another in the latest releases, so I suspect that you've got some old and some new code installed
Quote:
Originally Posted by nachtfalkesatul
Question to LDM.
I want the uploadtime behind the Uploader or upload Date!
Is that possible?
Best Regards
I'm not sure I understand. Do you mean that you want entries to indicate the time they were created/edited as well as the date? Or do you mean that you want to tell people how long it took to upload the file?
I'm not sure I understand. Do you mean that you want entries to indicate the time they were created/edited as well as the date? Or do you mean that you want to tell people how long it took to upload the file?
I mean the Upload Time and Date to see for Users!
In my Version ist only upload Date to see.
For Users are better to see Uplad Date and Upload Time!
Quote:
Originally Posted by AndrewD
Check that you have uploaded all the files correctly and into the correct directories. The function ldm_create_category() was moved from one file to another in the latest releases, so I suspect that you've got some old and some new code installed
I mean the Upload Time and Date to see for Users!
In my Version ist only upload Date to see.
For Users are better to see Uplad Date and Upload Time!
The easiest way to do this is to create a small plugin. (I will consider making it an admin option in the next release.)
Go to vb/admincp/products and plugins and select Add New Plugin
Create a new plugin as follows:
- Product : Links and Downloads Manager
- Name : Whatever you like
- Plugin PHP Code:
PHP Code:
$linkdate = ldm_date('d-M-y h:m', $linkdatebin);
- Active : Yes
Save, and you should have the change you want. You can change the format ('d-M-y h:m' in the example above) as you wish.
Quote:
Originally Posted by nachtfalkesatul
i have only the Version 2.3.0-beta1 installed
I'm pretty sure that you've got an incomplete includes/local_links_include.php file. It should be 153 K in size, and the function ldm_create_category should begin at line 5134.
I think I understand. I've removed the possibility to download images for extra attributes. The fix is straightforward. (Line numbers assume that you have installed version 2.3.0-RC5 - they might be slightly different with earlier versions.)
Edit includes/local_links_entities.php, around line 1159 find:
PHP Code:
case ENTITY_TYPE_IMAGE :
case ENTITY_TYPE_IMAGEUPLOAD :
if ($links_defaults['link_imagesize']) {
$entityimgurl = $RESIZE_SCRIPT.'.php?'.$vbulletin->session->vars['sessionurl'].'linkid='.$linkid.'&entityid='.$entityid;