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
  #472  
Old 10-12-2006, 08:19 PM
nighthalk nighthalk is offline
 
Join Date: Oct 2005
Location: Maryland
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nighthalk
Is there a way to turn off the downloads side of this manager?
I only wants the links part.
is this question that hard to answer that noone using it can answer?
Reply With Quote
  #473  
Old 10-13-2006, 12:20 AM
fringehead fringehead is offline
 
Join Date: Nov 2004
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have vbdrupal installed on my forum and I recently upgraded my LDM. Now I am getting this error when I try to run the program:

Fatal error: Cannot redeclare check_url() (previously declared in /var/www/html/blogs/includes/common.inc:693) in /var/www/html/forums/includes/local_links_include.php on line 1171

What can I do about this?

Thanks,

Sean
Reply With Quote
  #474  
Old 10-13-2006, 01:07 AM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nighthalk
is this question that hard to answer that noone using it can answer?
its only been 1 day since your first post has it not?

anyways, maybe set:
can_upload_files
Usergroups [with *can_add_link* permission] that can upload files for storage on the server

to no for all groups. I use this for both links and downloads though so I'm probably not the best person to answer.
Reply With Quote
  #475  
Old 10-13-2006, 04:00 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nighthalk
is this question that hard to answer that noone using it can answer?
It's not hard to answer. The problem is that I have other things to do, like a full time job :knockedout:

Answer depends partly on what we both mean by "turn off downloads".

Basic behaviour of LDM:

- If an entry has a filetype that appears in your VB/attachments/filetypes table, it is considered a "download". Otherwise it is considered a "link". By default, LDM accesses links by triggering a browser "redirect", and manages downloads by internally reading the contents of the entry and then transmitting the contents to the user, together with the correct control information so that the user's browser does something sensible.

- The entries that LDM manages can be created either by specifying URLs or as uploads. Uploads always turn into downloads. URLs may be links or downloads depending on the filetype. e.g. xxx.html is probably a link, and xxx.pdf is probably a download

So:

- If you do not want your users uploading onto your server, the answer is to turn off uploads. But, by default, these are turned off anyway. Take a look at the LDM/admin/settings/Controls on File Uploads

- If you mean you do not want LDM to internally manage the transfer of 'download' files, then set LDM/admin/settings/force_redirect to 1.

- If you want to 'fine tune' which users can create entries, use the combination of LDM/admin/permissions/can_add_link, can_link_files, can_upload_files

- If you want to limit which file types are treated as 'downloads', take a look at your VB/admincp/attachments/filetypes
Reply With Quote
  #476  
Old 10-13-2006, 04:08 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fringehead
I have vbdrupal installed on my forum and I recently upgraded my LDM. Now I am getting this error when I try to run the program:

Fatal error: Cannot redeclare check_url() (previously declared in /var/www/html/blogs/includes/common.inc:693) in /var/www/html/forums/includes/local_links_include.php on line 1171

What can I do about this?

Thanks,

Sean
Sean, you will have to edit one or other piece of code to rename function check_url to something else.

The difficulty is one has no control over the ways users combine pieces of software, and it is not straightorward in php to keep function definitions localised.

I've started working on this problem for 2.2.7 by introducing a new naming scheme, but it will be sometime before I am confident that nothing has been broken in the process.

If you are running v 2.2.5, this is where check_url is defined/used:

check_url (local_links_include.php)
local_links_include.php(1171)
local_links_actions.php(412)
local_links_actions.php(445)
local_links_actions.php(702)
local_links_actions.php(837)
local_links_actions.php(875)
local_links_admin.php(849)

If you are running 2.2.6 beta, these are the locations:

check_url (local_links_include.php)
local_links_include.php(1185)
local_links_actions.php(412)
local_links_actions.php(445)
local_links_actions.php(702)
local_links_actions.php(837)
local_links_actions.php(875)
local_links_admin.php(849)
Reply With Quote
  #477  
Old 10-13-2006, 04:14 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia
Stupid question ...

Where/how can I edit the text that appears in the terms of use screen? I tried to search in templates, but it didn't find anything. Would love to fine tune this

Also, is there a way to tell it how often to show this term? We have a daily download, and like to remind folks of the rules
The text is defined in the phrases, not in the templates. Take a look at the ll_agreement phrase, for example, so do a search/languages for the words of interest.

If the code is working correctly (!!), then acceptance is stored in a cookie and has a lifetime of 1 day plus 1 hour. If you want to change this, I'm afraid it's hard coded at present. Take a look at local_links.php. Early in the code (about line 220), there is this line:

Code:
$expires = TIMENOW+86400+3600;
Just change the line to the frequency with which users must confirm acceptance
Reply With Quote
  #478  
Old 10-13-2006, 04:17 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
I have a bit of an odd issue. I just moved domains but I kept the same exact file structure. I had all my files linked to /forum/files/filefolder/filename.ext but now when I click on a download it says link not available.

It then provides a link to the file and asks me to accept or modify. Clicking on the link here will get you to the file.

Is there a way I can mass update all the files or something to get it to accept the new domain?
Off the top of my head, I can't see why this problem exists. I'd like to understand more before suggesting how to fix. Can you PM me board details plus admin u/name and pwd or find a way of sending me a backup of the LDM database tables.

There are mass edit features in LDM/admin/categories and you can use full regular expression edits on the urls
Reply With Quote
  #479  
Old 10-13-2006, 04:23 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rasun
Great Addon, thank you!

I have two questions.


First the BBCode for Images doesn?t appear if you create a new entry. allow_images is set to "yes". If you write the bbcode .... Any ideas? I have created my own spoiler bbcode in my forum, can it be the reason?
I'll get back to you on this.


Quote:
If you create or edit an entry the is a option for:

Notification
Email those users who have already accessed this entry?

I want to disable this completely so nobody can choose it. How can I make it?
This is only shown to users who have 'can_moderate_link' LDM permission, so if you don't use moderation, just take away that permission.

Otherwise, edit the links_addnewlink template, and find this sequence:

Code:
<if condition="$links_permissions['can_moderate_links']">
<tr>
	<td class="alt1" width="20%">
	<b>$vbphrase[ll_notify]</b><br />
	<span class="smallfont">
	$vbphrase[ll_notify_text]
	</span>
	</td>
	<td class="alt1">
	<input type="radio" name="notify" value="1" /> $vbphrase[ll_yes]
	<input type="radio" name="notify" value="0"  checked="checked" /> $vbphrase[ll_no]
	</td>
</tr>
<else />
<tr style="display:none;">
	<td class="alt1" colspan="2">
	<input type="hidden" name="notify" value="0" />
	</td>
</tr>
</if>
and change to

Code:
<tr style="display:none;">
	<td class="alt1" colspan="2">
	<input type="hidden" name="notify" value="0" />
	</td>
</tr>
Reply With Quote
  #480  
Old 10-13-2006, 04:28 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sparky_s
I'm not sure if it my settings, but any uploaded WMA or WMV file goes ahead to load the embedded media player, but does not play.

I have the Mimes set properly to
Content-type: video/x-ms-wmv
Content-type: audio/x-ms-wma

Any ideas?

I played around with this and could not make things go wrong with wmas or wmvs. However, I could get WMP to behave the way you say for mp3s (fires the jukebox and then just stalls), but it seemed to be a problem inside the WMP browser control - basically, if I clicked the WMP video window, clicked on 'stop' a few times, then closed all browser windows and restarted, then things would work ok again. Not a very good answer, I know.
Reply With Quote
  #481  
Old 10-13-2006, 02:20 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rasun
First the BBCode for Images doesn?t appear if you create a new entry. allow_images is set to "yes". If you write the bbcode [img] manually it works fine, but you can?t see the icon .... Any ideas? I have created my own spoiler bbcode in my forum, can it be the reason?
Thanks for reporting this - it is a bug in 2.2.5 and 2.2.6 beta. It will be fixed soon.
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 02:01 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.11099 seconds
  • Memory Usage 2,332KB
  • 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
  • (3)bbcode_code
  • (10)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
  • (4)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