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

Quote:
Originally Posted by Ophelia View Post
I double checked and this isn't an issue w/ 2.2.6, which we have installed on the main site...

I'm wondering though if maybe I did something wrong in the configuration of vBulletin though... can anyone else confirm that it's doing this in 2.2.7? When I go into vB's options to set time and set it to ET, it reads -4 instead of -5, even though I picked -5. Maybe that is the issue and it's all my side I don't want to send you on a wild goose chase!
I've confirmed the problem - I changed some code to consistently (??!!??) use the user's time zone, but have clearly messed something up. I'll try to post a fix as soon as posisble - it's very easy to go back to the old behaviour, but I would prefer to find an approach that gives the user the option of seeing dates/times on the server and on a local basis.
Reply With Quote
  #1143  
Old 01-30-2007, 03:36 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deathspank View Post
Andrew, I still haven't heard a response from you about my question... is there any way we can choose permissions for categories rather than the entire LDM manager and forum permissions? Like, say in one category, I have a bunch of WMV videos that people can stream in the jukebox and save, and in another category they can only stream the WMV files in the jukebox, not save them. I've noted that you could do this with usergroups, but I need it to be done with categories.
The relevant permissions can be set on a per-category basis. Go to 'Edit Catgeory' then the 'User Permissions' tab, and give/take can_play_musicbox and can_save_musicbox, etc
Reply With Quote
  #1144  
Old 01-30-2007, 05:55 PM
Renada's Avatar
Renada Renada is offline
 
Join Date: Jan 2005
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andrew,

Thank you so much for this mod, it's incredible.

Could you tell me if its possible, and if so how I do it, to set this as a "read only" mod instead of a download?

For example, if someone clicks on a text file could it "open" as opposed to them downloading it?

Thanks for your help.

Regards,
Renada

Edit: Unfortunately for some reason the code to stop right clicking also prevents me from editing any settings - i.e. I couldn't change the above setting from 600 to something else. Any ideas?
Reply With Quote
  #1145  
Old 01-30-2007, 07:26 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Renada View Post
Hi Andrew,

Thank you so much for this mod, it's incredible.

Could you tell me if its possible, and if so how I do it, to set this as a "read only" mod instead of a download?

For example, if someone clicks on a text file could it "open" as opposed to them downloading it?

Thanks for your help.

Regards,
Renada
If you set the mimetype information (VB/admin/attachments) for text files to "Content-type: text/plain", then a simple left click on an entry which is a text file opens automatically in the browser window. This works correctly, as far as I can tell, with IE, Firefox and Opera.

However, the user can still force a "save as" using right click with the mouse, or by doing a "view source" and then save. You can disable the 'right click' menu by adding a bit of javascript to the page.

For example, if you edit clientscript/ldm_global.js and add these lines to the end:

Code:
document.oncontextmenu = function(){return false}
if(document.layers) {
    window.captureEvents(Event.MOUSEDOWN);
    window.onmousedown = function(e){
        if(e.target==document)return false;
    }
}
else {
    document.onmousedown = function(){return false}
}
then I think you'll disable the right click menu throughout LDM.
Reply With Quote
  #1146  
Old 01-30-2007, 07:29 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
I double checked and this isn't an issue w/ 2.2.6, which we have installed on the main site...

I'm wondering though if maybe I did something wrong in the configuration of vBulletin though... can anyone else confirm that it's doing this in 2.2.7? When I go into vB's options to set time and set it to ET, it reads -4 instead of -5, even though I picked -5. Maybe that is the issue and it's all my side I don't want to send you on a wild goose chase!
Ophelia, I think I've got a fix which always correctly presents the user with times in their own time zone. I can let you have this, or I can let you have the old (server times) behaviour back.

Am going on vacation tomorrow for a couple of weeks - not sure if I'll have an internet connection or not (or even if I should be working on this on holiday...).

If you can let me know by the morning, I'll post the code.
Reply With Quote
  #1147  
Old 01-31-2007, 03:10 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some bug reporting for 2.2.7 b1


in template links_admin;
Report #01: Apply CSS to this button.
Find:
Code:
	$vbphrase[ll_admin_expire]
	<input type="hidden" name="action" value="massedit" />
	<input type="submit" name="expire" value="$vbphrase[ll_go]" />
Replace with:
Code:
	$vbphrase[ll_admin_expire]
	<input type="hidden" name="action" value="massedit" />
	<input type="submit" class="bginput" name="expire" value="$vbphrase[ll_go]" />

Report #02: Add a space after each Usage stats. At the moment it will only show "0 Visits 0bytes". This fix will show "0 Visits 0 bytes"
Find:
Code:
	<td class="alt2" align="center"><span class="smallfont"><if 

condition="$totusage['fileshit']">$totusage[fileshit]<else />0</if> $vbphrase[ll_band_files] 

$vbphrase[ll_band_usage_24]</span></td>
	<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit]<else />0</if>$vbphrase[ll_bytes] 

$vbphrase[ll_band_usage_24]</span></td>
Replace With:
Code:
	<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['fileshit']">$totusage[fileshit] <else />0 </if> $vbphrase[ll_band_files] $vbphrase[ll_band_usage_24]</span></td>
	<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit] <else />0 </if>$vbphrase[ll_bytes] $vbphrase[ll_band_usage_24]</span></td>
ITs not much, but hope it helps. Keep up the good work!
Reply With Quote
  #1148  
Old 01-31-2007, 03:22 AM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have a nice vacation Andrew!!!
Reply With Quote
  #1149  
Old 01-31-2007, 04:37 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by COBRAws View Post
Some bug reporting for 2.2.7 b1


in template links_admin;
Report #01: Apply CSS to this button.
Find:
Code:
	$vbphrase[ll_admin_expire]
	<input type="hidden" name="action" value="massedit" />
	<input type="submit" name="expire" value="$vbphrase[ll_go]" />
Replace with:
Code:
	$vbphrase[ll_admin_expire]
	<input type="hidden" name="action" value="massedit" />
	<input type="submit" class="bginput" name="expire" value="$vbphrase[ll_go]" />

Report #02: Add a space after each Usage stats. At the moment it will only show "0 Visits 0bytes". This fix will show "0 Visits 0 bytes"
Find:
Code:
	<td class="alt2" align="center"><span class="smallfont"><if 

condition="$totusage['fileshit']">$totusage[fileshit]<else />0</if> $vbphrase[ll_band_files] 

$vbphrase[ll_band_usage_24]</span></td>
	<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit]<else />0</if>$vbphrase[ll_bytes] 

$vbphrase[ll_band_usage_24]</span></td>
Replace With:
Code:
	<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['fileshit']">$totusage[fileshit] <else />0 </if> $vbphrase[ll_band_files] $vbphrase[ll_band_usage_24]</span></td>
	<td class="alt2" align="center"><span class="smallfont"><if condition="$totusage['byteshit']">$totusage[byteshit] <else />0 </if>$vbphrase[ll_bytes] $vbphrase[ll_band_usage_24]</span></td>
ITs not much, but hope it helps. Keep up the good work!

Thanks - appreciated.

The underlying thing I have to fix is the code I use to turn number like 123456 into 123K, etc, so that the spacing continues to look right in that situation, i.e. whether or not the space comes before the K or before the bytes. It's one of those tiny but annoying things that I had not dealt with.
Reply With Quote
  #1150  
Old 01-31-2007, 05:08 AM
berayiwu5 berayiwu5 is offline
 
Join Date: Feb 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Am going on vacation tomorrow for a couple of weeks - not sure if I'll have an internet connection or not (or even if I should be working on this on holiday...).
Well deserved. Enjoy your vacation! I'll ask you about integrating a user profile for easy access to photos (the user has uploaded) when you come back.
Reply With Quote
  #1151  
Old 01-31-2007, 05:47 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to avoid wasting your time...

The most irritating/significant bug in the 2.2.7 code is that users living in a different timezone from your board will see inconsistent information on the add and edit entry forms. As of 2.2.7, the date/time that the user enters is given in her local timezone and correctly entered into the database according to the board's timezone. But when the user edits the entry, they will see the server time, not the time they had entered. Irritating, but not a killer. Fix is written, but I wait for Ophelia's views on how to proceed.

Ophelia - I've sent you the fixed code by email.
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:51 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.06729 seconds
  • Memory Usage 2,340KB
  • 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
  • (9)bbcode_code
  • (6)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