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.
the file types i have are mostly (99.5%) .zip files which are in vb attachments table.
the other file types are pdf and wmv. these both are on the table too.
about the allowance thing, there are 2 allowance systems for attachments. one of them is for vb attachments and the other one is from LDM. but i don't know which one was meant by itsblack....
my suggestion: all files get a file size allocated when submitting entry, would it be possible to read this size when a user clicks to download that file? just like hit recording. it's just one more query. (as far as i can understand!!) but you are the specialist
one more thing, does LDM reset the bytes transfered when i delete hits for a period of time? i haven't tested this...
The code generally knows the size - it just wasn't storing the bytes transferred in the downloads table unless it actively managed the transfer itself. I'm taking another look at that. itsblack was also talking about the LDM system.
Yes, LDM resets the bytes transferred when you clean up the hits table.
I am integrating the LDM navbar with the standard vb navbar, by placing the links in quick links and in Moderator tools. That goes well so far. But I wonder about the edit category link.
The link normally is local_links.php?action=editcat&catid=X where X is the category ID.
This doesn't work because it needs a conditional to find the ID of the category that one is in.:
I am integrating the LDM navbar with the standard vb navbar, by placing the links in quick links and in Moderator tools. That goes well so far. But I wonder about the edit category link.
The link normally is local_links.php?action=editcat&catid=X where X is the category ID.
This doesn't work because it needs a conditional to find the ID of the category that one is in.:
What code can I use to fetch the correct category/catid?
If you like I will post the code for this navbar integration, so that other members can enjoy this as well.
If the user is viewing a category, the variable $viewcatid is set to the category id and is positive. Alternatively, you can look at $vbulletin->GPC['catid']
I recall that bug in version 2.2.7, and it will be fixed in the release candidate of 2.2.8 (it's actually fixed in the beta, but there's a new bug in that which stops autocreation of posts for comments working at all )
This should be the *can_edit_category* permission. Is it not working correctly?
Yeah i guess it's not working because the can_edit_category permission is ticked for administrators but I can't edit a category created by the other admin.
Yeah i guess it's not working because the can_edit_category permission is ticked for administrators but I can't edit a category created by the other admin.
I don't understand. I've just tested this, with both versions 2.2.7 and 2.2.8.
admin user 1 creates category
admin user 2 edits that category
Only difference is that in version 2.2.7, admin user 2 cannot change the name of the user who 'owns' the category, but can otherwise edit it.
I must be missing something - do you want me to take a look at your site?
I was wondering if there is any way to link from the postbit to all the users submissions as you can on the users profile. I know it could be done using something like local_links_search.php?action=show&userid=xxxx&sor t=d - but can it be done using a conditional so that every user doesn't get this showing in their postbit. Most of my members don't have links added in yet and it would just go to a blank page... Is there a way doing this?
I was wondering if there is any way to link from the postbit to all the users submissions as you can on the users profile. I know it could be done using something like local_links_search.php?action=show&userid=xxxx&sor t=d - but can it be done using a conditional so that every user doesn't get this showing in their postbit. Most of my members don't have links added in yet and it would just go to a blank page... Is there a way doing this?
Thanks for any help,
Cheers
Clancy
Every day an interesting challenge
To avoid putting the link in everyone's postbits, this will currently need a new 'extra', which will have to check the database to see who has added entries to LDM. I'll have to think whether there is an efficient way of doing this, so that the database search is done once per thread not for every postbit.
To avoid putting the link in everyone's postbits, this will currently need a new 'extra', which will have to check the database to see who has added entries to LDM. I'll have to think whether there is an efficient way of doing this, so that the database search is done once per thread not for every postbit.
It was just an idea to promote that part of my forum a bit more. Not everyone checks out profile pages, but everyone sees the postbit, I just thought/was hoping it might have been something easy like a conditional.