The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Links and Downloads Manager Details »» | |||||||||||||||||||||||||
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
|
Благодарность от: | ||
VIP Hawaii |
Comments |
#472
|
|||
|
|||
Quote:
|
#473
|
|||
|
|||
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 |
#474
|
|||
|
|||
Quote:
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. |
#475
|
|||
|
|||
Quote:
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 |
#476
|
|||
|
|||
Quote:
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) |
#477
|
|||
|
|||
Quote:
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; |
#478
|
|||
|
|||
Quote:
There are mass edit features in LDM/admin/categories and you can use full regular expression edits on the urls |
#479
|
|||
|
|||
Quote:
Quote:
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> Code:
<tr style="display:none;"> <td class="alt1" colspan="2"> <input type="hidden" name="notify" value="0" /> </td> </tr> |
#480
|
|||
|
|||
Quote:
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. |
#481
|
|||
|
|||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|