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

Reply
 
Thread Tools
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
  #2052  
Old 07-22-2007, 01:40 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rouzbeh1 View Post
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.
Reply With Quote
  #2053  
Old 07-22-2007, 01:50 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.:
Code:
<if condition="is_member_of($bbuserinfo,5,6,7)"><tr><td class="vbmenu_option"><a href="local_links.php?action=editcat">Edit Category</a></td></tr></if>
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.
Reply With Quote
  #2054  
Old 07-22-2007, 03:49 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
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.:
Code:
<if condition="is_member_of($bbuserinfo,5,6,7)"><tr><td class="vbmenu_option"><a href="local_links.php?action=editcat">Edit Category</a></td></tr></if>
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']
Reply With Quote
  #2055  
Old 07-22-2007, 04:46 PM
jGas jGas is offline
 
Join Date: May 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
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 )

Sorry
thanks, so i wait for the new release!
Reply With Quote
  #2056  
Old 07-23-2007, 02:54 AM
CamJM CamJM is offline
 
Join Date: Jun 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
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.
Reply With Quote
  #2057  
Old 07-23-2007, 04:23 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CamJM View Post
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?
Reply With Quote
  #2058  
Old 07-23-2007, 04:46 AM
tamborinegal's Avatar
tamborinegal tamborinegal is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andrew,

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
Reply With Quote
  #2059  
Old 07-23-2007, 05:12 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tamborinegal View Post
Hi Andrew,

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.
Reply With Quote
  #2060  
Old 07-23-2007, 05:42 AM
tamborinegal's Avatar
tamborinegal tamborinegal is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Every day an interesting challenge
Wouldn't want you staying idle Andrew.

Quote:
Originally Posted by AndrewD View Post
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.

Thanks for the reply,

Clancy
Reply With Quote
  #2061  
Old 07-23-2007, 07:47 PM
Rouzbeh1 Rouzbeh1 is offline
 
Join Date: Sep 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi Andrew,
is it possible to give moderators the permission to choose Parent forum, when they add a category without giving them too much permissions?
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 01: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.06444 seconds
  • Memory Usage 2,333KB
  • 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
  • (2)bbcode_code
  • (8)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
  • (6)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