Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #2362  
Old 09-22-2007, 01:31 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
I get a blank page if I want to inform users of updated downloads. It takes some time, the mails are also send. Using 2.2.8 RC2
I can't reproduce this problem - it seems to work ok for me. Any further information you can give me?
Reply With Quote
  #2363  
Old 09-22-2007, 07:36 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andrew,
want to report a little bug and its fix
Timezone offsets aren't integeral at all, they're decimal and casting their type into integeral will broke some submition dates during add/edit Entries
if your forum/user timezone is +/-x:30, all of submitions will differ +/- 30 minutes to original submition time

Here is bugfix:
File: includes/local_links_misc.php, function: get_datetimebit, about line: 1456

Find:
PHP Code:
$tzoffset intval($vbulletin->userinfo['tzoffset'])-$vbulletin->userinfo['dstonoff']; 
Replace with:
PHP Code:
$tzoffset $vbulletin->userinfo['tzoffset']-$vbulletin->userinfo['dstonoff']; 
also i would suggest add default check to Update to current date and time option during Add entries, but edit

Thanks;
Reply With Quote
  #2364  
Old 09-22-2007, 09:02 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
I can't reproduce this problem - it seems to work ok for me. Any further information you can give me?
Only that this happens with downloads that were downloaded a few thousend times (some hundred from registered) - maybe a performance problem?
Reply With Quote
  #2365  
Old 09-22-2007, 09:32 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
Only that this happens with downloads that were downloaded a few thousend times (some hundred from registered) - maybe a performance problem?
its seems to be execution timeout or malloc() exhaustion
whats your error_reporting value ? did u change that?
Reply With Quote
  #2366  
Old 09-22-2007, 09:34 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's the value:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
Reply With Quote
  #2367  
Old 09-22-2007, 09:46 PM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
That's the value:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
Hmmm is that your master values?
refer to your PHP error logs and look for FATAL ERRORS

BTW, if it works and suddenly stops seems memory allocation or maybe timeout to me
I would suggest you to increase your memory_limit and max_execution_time valuse in php.ini
Reply With Quote
  #2368  
Old 09-22-2007, 09:53 PM
GTRyan GTRyan is offline
 
Join Date: Sep 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a folder on my server /videos and in it has months of the year as subfolders with videos for races from my local race track. Would this addon be good for adding all those to a page or threads as a download link with counters? Anybody knows of an addon that can either?
Reply With Quote
  #2369  
Old 09-22-2007, 10:38 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IrPr View Post
Hmmm is that your master values?
refer to your PHP error logs and look for FATAL ERRORS

BTW, if it works and suddenly stops seems memory allocation or maybe timeout to me
I would suggest you to increase your memory_limit and max_execution_time valuse in php.ini
memory_limit is set to 128M - more than enough. I will check for fatal errors.

Edit:
No errors belonging to the site I run LDM.
Reply With Quote
  #2370  
Old 09-23-2007, 05:41 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by IrPr View Post
Hi Andrew,
want to report a little bug and its fix
Timezone offsets aren't integeral at all, they're decimal and casting their type into integeral will broke some submition dates during add/edit Entries
if your forum/user timezone is +/-x:30, all of submitions will differ +/- 30 minutes to original submition time

Here is bugfix:
File: includes/local_links_misc.php, function: get_datetimebit, about line: 1456

Find:
PHP Code:
$tzoffset intval($vbulletin->userinfo['tzoffset'])-$vbulletin->userinfo['dstonoff']; 
Replace with:
PHP Code:
$tzoffset $vbulletin->userinfo['tzoffset']-$vbulletin->userinfo['dstonoff']; 
also i would suggest add default check to Update to current date and time option during Add entries, but edit

Thanks;
Thanks - will implement the timezone fix.

For the time being, I will not change the behaviour of the 'update to now' checkbox, but leave it as a suggestion. There's a major site which routinely sets new entries to appear at sometime in the future. Having this box checked by default would be confusing to them. It will need a bit of Javascript to ensure that this box gets unchecked if the user modifies the date/time.
Reply With Quote
  #2371  
Old 09-23-2007, 05:46 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
That's the value:
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
The blank screen and the large number of downloads are clues. I guess that your server is running out of some form of resource - memory or more likely cpu.

By default, vbulletin is not very user friendly with system errors, because of its default 'gzipping' of messages to the user. Have you tried turning off this option? vb/admin/options/cookies and http header options/ set gzip html output to 'no' and save. Then repeat the test and see if you get a message instead of a blank screen.

I'll take a look at the code to see if I can improve efficiency.

Edited: I'm pretty certain that your problem will be that the script is running out of its allowed cpu time. This is because separate email messages are being sent to each person who has accessed the entry. Grouping these messages (i.e. having multiple email addresses as 'bcc' recipients) may be a solution, but this isn't a trivial change to the code and the php documentation is not very clear on what is allowed and what is not allowed.
Reply With Quote
Reply

Thread Tools

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:49 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.18448 seconds
  • Memory Usage 2,317KB
  • 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
  • (4)bbcode_php
  • (7)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