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
  #2402  
Old 09-27-2007, 04:17 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
Why both of course.
This is only a partial solution - there are a couple of other changes which are needed to make it complete/clean.

Edit includes/local_links_admininclude.php. Scroll down until you find groups of lines which look like the following:

Code:
require_admin_row($seq++, 'title_data_entry', 'll_settings_title_entry', 'title_perms', 1, 1);
	require_admin_row($seq++, 'can_add_link', '6,-1', 'usergroup_check', 1);
	require_admin_row($seq++, 'can_link_files', '2,3,4,5,6,7,-1', 'usergroup_check', 1);
	require_admin_row($seq++, 'can_upload_files', '6,-1', 'usergroup_check', 1);
	require_admin_row($seq++, 'can_select_category', '2,3,4,5,6,7,-1', 'usergroup_check');
	require_admin_row($seq++, 'can_edit_link', '6,-1', 'usergroup_check');
	require_admin_row($seq++, 'can_delete_link', '6,-1', 'usergroup_check');
	require_admin_row($seq++, 'can_add_category', '6,-1', 'usergroup_check');
	require_admin_row($seq++, 'can_edit_category', '6,-1', 'usergroup_check');
...
require_admin_row($seq++, 'close_data_entry', '', 'close', 1);
Each line defines a parameter setting/permission. When there is a fifth parameter set to 1 (as on the can_add_link line), then the permission can be set at global level and at category level. Otherwise, it can only be set at global level.

So to make can_add_category and can_edit_category permissions avaiable on a per-category basis, simply add ", 1 at the end of the lines:

Code:
	require_admin_row($seq++, 'can_add_category', '6,-1', 'usergroup_check', 1);
	require_admin_row($seq++, 'can_edit_category', '6,-1', 'usergroup_check', 1);
Save, then (important) reinstall the LDM product installer via the vb admincp.

Then, these permissions become available on the Add/Edit Category forms, on the third tab (User Group Permissions). If you deny the permission globally and enable it in one of your categories, then the relevant user group can only create subcategories in that category.

As I said, this is not a complete patch - You will find that the 'add category' form always includes a parent category selection box, allowing people to place the new subcategory somewhere else in the category hierarchy. This is probably not what you want. For some reason, I had overlooked to apply the *can_select_category* permission to category creation. I will fix this in 2.2.8.

My answer about users always being able to edit their own categories was also not completely accurate. There's another bug so that the relevant Edit Category menu item does not get displayed even though the user actually has permission to do the edit. This will also be fixed in 2.2.8.

So you may prefer to wait.
Reply With Quote
  #2403  
Old 09-27-2007, 05:17 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the Dutch translation ready. I want to go over it one more time to see if everything is in order.

Could you please look at this:
Quote:
Originally Posted by Alfa1 View Post
Quote:
Originally Posted by AndrewD View Post
I never got this sorted out - I took a quick look at the tabs hack but didn't get beyond the introduction.
Basically it adds tabs to the navbar. To let the right tab to highlight according to the members location, the code needs a conditional.

I think this will quickly show you how it works and what is needed:
https://vborg.vbsupport.ru/showthread.php?p=1276144

Something similar to the last option would be needed.
Reply With Quote
  #2404  
Old 09-27-2007, 11:37 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mauro1947 View Post
Hi!
I have "allow_html" setted to Yes and when i insert my Google Adsense code into description, ads never shows...
Can you help me?
Thanks a lot.
Regards!
Isn't it easier to edit a likbit, that way you add only one adsense code
Reply With Quote
  #2405  
Old 09-28-2007, 01:29 AM
mauro1947 mauro1947 is offline
 
Join Date: Nov 2006
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obmob View Post
Isn't it easier to edit a likbit, that way you add only one adsense code
Thanks, fixed by AndrewD
Thanks
Regards!
Reply With Quote
  #2406  
Old 09-28-2007, 02:25 AM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So Mr. Andrew.. when can I add this delightful new version to our site? I'm itching for the multiple uploads
Reply With Quote
  #2407  
Old 09-28-2007, 03:53 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
I have the Dutch translation ready. I want to go over it one more time to see if everything is in order.

Could you please look at this:
I'll try to work this out, Alfa - I'm really overwhelmed by work - last time I took a look, it was not obvious to me how it worked.
Reply With Quote
  #2408  
Old 09-28-2007, 03:57 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
So Mr. Andrew.. when can I add this delightful new version to our site? I'm itching for the multiple uploads
Well, I'd hoped to come back from holiday and find no bugs to fix, but people seem to keep finding them... I think we're nearly there.

Concerning yout earlier PM'd problem with rogue downloads, this is not going to be easy to sort out from a distance. I have somewhat improved the tool for analysing downloads in 2.2.8, and it may be easiest for you to upgrade before we start investigating.
Reply With Quote
  #2409  
Old 09-29-2007, 01:51 AM
skooby skooby is offline
 
Join Date: May 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome mod I tried looking through the posts but couldn't find much. Is there a way that when a user uploads a new file (say a mp3), that it creates a new post in a certain forum?
Reply With Quote
  #2410  
Old 09-29-2007, 02:33 AM
Ipuck's Avatar
Ipuck Ipuck is offline
 
Join Date: Jun 2006
Location: California
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Awesome mod I tried looking through the posts but couldn't find much. Is there a way that when a user uploads a new file (say a mp3), that it creates a new post in a certain forum?
Yes. That's an extra for the 2.2.7 version , but for is included in the 2.2.8 version. For more inof go to http://www.eirma.org/wikis/index.php/Options_and_Extras
Reply With Quote
  #2411  
Old 09-29-2007, 03:11 AM
skooby skooby is offline
 
Join Date: May 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow man how did I not see that? Thanks so much for the response.
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 12:31 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.05505 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
  • (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