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
  #502  
Old 10-20-2006, 01:12 PM
xadoa xadoa is offline
 
Join Date: Nov 2003
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what is the estimated time for the full 2.2.6 AndrewD ?? i've been waiting day by day.. everyday come and look at this thread.. only 2.2.6beta1 ..hehe..

thanks for the hard work

XD
Reply With Quote
  #503  
Old 10-20-2006, 01:18 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xadoa
what is the estimated time for the full 2.2.6 AndrewD ?? i've been waiting day by day.. everyday come and look at this thread.. only 2.2.6beta1 ..hehe..

thanks for the hard work

XD
I know, I know. I didn't want to make 2.2.6 'official' until I was certain that the bugs were all identified and corrected. I'm pretty sure that this is now the case, so let me promise that it will go gold this weekend (unless of course someone finds something to stop me...)
Reply With Quote
  #504  
Old 10-21-2006, 06:03 AM
xadoa xadoa is offline
 
Join Date: Nov 2003
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am excited .. it's 3AM here and still checking on your hack .. today is saturday .. that meant in no time now .. heheh ..

thanks Andrew
Reply With Quote
  #505  
Old 10-21-2006, 06:31 AM
elsupremo elsupremo is offline
 
Join Date: Sep 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I finally caught up with everyone, upgrading both my VB to 3.6.2 and my LDM to 2.2.6. I ended up having the problem with the constant MYSQL error e-mails like this:
PHP Code:
Database error in vBulletin 3.6.2:

Invalid SQL:

                               
INSERT IGNORE INTO session
                                       
(sessionhashuseridhostidhashlastactivitylocationstyleidlanguageidloggedininforuminthreadincalendarbadlocationuseragentbypassprofileupdate)
                               
VALUES
                                       
(''1''''1161414394''0010000''00);

MySQL Error  :
Error Number :
Date         SaturdayOctober 21st 2006 12:06:38 AM
Script       
http://www.MyWebSite.com/local_links.php?action=jump&id=1131&catid=18
Referrer     :
Hide quoted text -
IP Address   : [removed for privacy]
Username     Name
Classname    
vB_Database 
Anyway, I just uploaded your fixed local_links.php. The e-mails were coming in at a very consistent rate before. I'll wait through the evening before my final verdict.

One question: I ended up adjusting wait_timeout to 90 seconds when I was troubleshooting this problem. LDM told me that was a low wait_timeout setting, so I changed the setting back to default. What is an optimal wait_timeout setting?

Thanks again Andrew.
Reply With Quote
  #506  
Old 10-21-2006, 12:12 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elsupremo
I finally caught up with everyone, upgrading both my VB to 3.6.2 and my LDM to 2.2.6. I ended up having the problem with the constant MYSQL error e-mails
I fell into the trap of trying to be too friendly to the web server by releasing the database before everything was finished - I'd missed that VB keeps hold of some database accesses which are performed when the job finally ends. The error messages were actually telling you (not very clearly) that there was no longer a connection to the database.

Quote:
One question: I ended up adjusting wait_timeout to 90 seconds when I was troubleshooting this problem. LDM told me that was a low wait_timeout setting, so I changed the setting back to default. What is an optimal wait_timeout setting?
I've not got right to the bottom of all the timeout settings. The basic point is to ensure that downloads complete before the database or the php script decide to give up in desparation. So, if you are offering downloads of large files - particularly if these are being streamed directly to a media player - the value for wait_timeout (and the similar value for php timeout - I can't recall its name) should be longer than the download takes to finish.

The php timeout is more critical on windows servers than on linux, as it seems to count also the time when the script has actually been told to sleep for a while. Under linux, this time is ignored.
Reply With Quote
  #507  
Old 10-22-2006, 08:36 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have uploaded the release candidate for version 2.2.6 of LDM in the first post of this thread. I would welcome reports. To upgrade, simply upload the files again and reinstall via the VB product manager. Please remember to backup your database first.

Installation - Very important

If your web site runs Microsoft's IIS web server in cgi mode (you can find this out by looking at the main VB admincp page), the php environment variable DOCUMENT_ROOT is not defined by default. This causes serious problems with the placement of files managed by LDM on your server. Version 2.2.6 of LDM detects this problem and issues a fatal error if necessary. In this case, you must edit the file includes/local_links_init.php to define LDM_DOCUMENT_ROOT. The code makes clear where to edit. Alternatively, you could patch your web server so that DOCUMENT_ROOT is correctly defined.


changes

Since the 2.2.6 beta, I believe that all reported bugs have been fixed and a few new extras provided, as follows:

new features:

VB Profile
Parameters added in plugins to configure number of 'My Entries'/'Visited Entries' to display in profile

new 'extras'

force-mp3-to-m3u converts downloads of mp3s to download a matching m3u, to force winamp, etc, to stream the file
stream-mms-videos improves the security of LDM's handling of mms: streams and adds the option to save a stream to file

bugs fixed:

bbcode, smiles, images, html admin settings work correctly and editor toolbars adjust accordingly
usernames with quotes no longer produces sql error
LDM icons can now be in gif, jpg or png format
navbar errors fixed in search module
mp3 files with no id3 image no longer crash certain versions of php
downloads into slow channels (e.g. streaming into winamp) no longer die mid-way through transfer
curl transfer work ok when urls contain spaces
invalid 'file rename' requests detected during add/edit entry form
correct messages displayed when file uploads exceed allowed space
autothread extras do a better job of displaying the associated image in the thread
Reply With Quote
  #508  
Old 10-22-2006, 12:49 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Andrew,

Just got the new 2.2.6 installed.

One issue that I see right away. When you click on the magnify glass to see the full version, it used to show it correctly, now it's showing everything at 100x100. I reset thumbs hoping that would change it, but it doesn't. I know that originally, the previews are usually roughly 400x400 on our site (it's what we require for our team).

Best wishes and thank you so much for the hard work you do!
Stacy
Reply With Quote
  #509  
Old 10-22-2006, 01:16 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more small issue.

1. Go into a download.
2. Click on the comments/ratings
3. Click on the View Comments and Ratings

I get the following error:

Warning: Division by zero in /includes/local_links_include.php on line 2233

Warning: Division by zero in /includes/local_links_include.php on line 2233

In the first table that shows up, I'm not for sure what used to be there, but now all that is there is this:

http://img.photobucket.com/albums/09...LD_example.jpg

Not for sure if it did this before, as I never went this deep into the comments.

Also (sorry)

When you try to edit a download, even if you don't change anything at all, you get the following error when you click submit

Fatal error: Call to undefined function: check_url() in /home/website/public_html/forum/local_links_actions.php on line 837

I can hide things, I can delete things.. I can not however upload or edit.

When I try to upload for the first time. I get this error:

Fatal error: Call to undefined function: check_url() in /home/webattit/public_html/forum/local_links_actions.php on line 445
Reply With Quote
  #510  
Old 10-22-2006, 01:39 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia
When you try to edit a download, even if you don't change anything at all, you get the following error when you click submit

Fatal error: Call to undefined function: check_url() in /home/website/public_html/forum/local_links_actions.php on line 837

I can hide things, I can delete things.. I can not however upload or edit.

When I try to upload for the first time. I get this error:

Fatal error: Call to undefined function: check_url() in /home/webattit/public_html/forum/local_links_actions.php on line 445

Ophelia, please check that you have actually uploaded all the php files. It looks to me as if you still have the old local_links_actions.php file there. Line 837 in the old code refers to check_url(). Line 839 in the new code refers to check_ldm_url().

This may be the cause of your other problem too - I'll try to check.
Reply With Quote
  #511  
Old 10-22-2006, 01:54 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Ophelia, please check that you have actually uploaded all the php files. It looks to me as if you still have the old local_links_actions.php file there. Line 837 in the old code refers to check_url(). Line 839 in the new code refers to check_ldm_url().

This may be the cause of your other problem too - I'll try to check.

Yes, if looks as if you also got the old local_links.php installed.

I can reproduce both of your bug reports by installing the new files in the includes directrory but the files from release 2.2.6a1 in your forums directory.
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:11 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.12644 seconds
  • Memory Usage 2,335KB
  • 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
  • (1)bbcode_php
  • (5)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