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

Quote:
Originally Posted by Willygsm View Post
hi andrewD, how to delete whole categories? any code to modify?


Cannot delete a category which still contains entries or subcategories.
Try the following.

Go to your vb admincp, products and plugins.

Add new plugin

product - Links and Downloads manager

hook - ldm_admin_start

code: @ini_set('max_execution_time', 300);

plugin is active: yes

Now you should be able to get at ldm/admin/categories and tidy up.

Remember to turn off/delete the plugin when you've finished.
Reply With Quote
  #2593  
Old 10-31-2007, 05:16 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by voter View Post
Is there a way a SQL query, to generate a copy of entries of LDM as a threads of a forum?
You know that there's an facility to autocreate threads pointing to new entries in LDM, I suppose? (LDM/admin/settings/Controls on New Entry/Comment Announcements)

You want to be able to create threads, each corresponding to one entry in an LDM category?
Reply With Quote
  #2594  
Old 10-31-2007, 09:23 PM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
The two entries that are displayed with no link on the text are currently considered to be broken, i.e. LDM can't find the file. Not the best/clearest of signals, I agree.
OMG! I think I deleted those files while moving...

Thanks Andrew, now I know why it would happen
Reply With Quote
  #2595  
Old 10-31-2007, 10:08 PM
Wilhelm Wilhelm is offline
 
Join Date: Nov 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, i have a problem with the hack when uploading has finished. It seems the file was submitted but then:
i use the german version and the text says:
"Fehler beim Hochladen - kann die hochgeladene Datei auf dem Server nicht verschieben."

engl. smth like that: Error while uploading - cannot move the uploaded file on the server.

I have an upload, thumb folder both set to 777, no error messages @LDM
using 2.8.8Post1, local_file_root Website local_file_root_prefix not set

whats the error on that?

btw awesome hack

edit: Tested with full path url, local url, both works, only upload i still get the error msg.
Reply With Quote
  #2596  
Old 11-01-2007, 12:29 AM
JtChurch925 JtChurch925 is offline
 
Join Date: Sep 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I apologize if I have somehow missed these answers (...and I probably have), but...
  • If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?
  • Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?
  • Is it relatively simple to add adsense code to the basic template of the downloads pages?

I appreciate your answers and time. This plugin looks very promising!
Reply With Quote
  #2597  
Old 11-01-2007, 06:48 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JtChurch925 View Post
If I am hosting the actual files to be downloaded on another server can I still use this by linking to those files as though they were hosted locally?
Yes, although (depending on exectly how you set things up), this will be more expensive, both in terms of cpu (file reads over an http channel are more expensive than from the local server) and bandwidth (everything goes through your server twice, in then out). It's not a good idea to do this with (e.g.) video files, although it's quite ok with typical pdfs.

Quote:
Originally Posted by JtChurch925 View Post
Will this plugin automatically update the files listed for the users if more files are dumped onto the remote site? i.e. a remote directory is set for the 'e-book' downloads, and more e-books are added, will I have to go and add each new link individually any time there is an update to the remote site?
No, LDM will not autosync with a second server, although it will sync with the local file system. I didn't add this for a couple of reasons - security and processing cost. (If you look back a few posts, you'll see that someone is having problems syncing a directory structure containing tens of thousands of files.)

Quote:
Originally Posted by JtChurch925 View Post
Is it relatively simple to add adsense code to the basic template of the downloads pages?
I have not done this myself, but I think this is quite a common mod to the mod.
Reply With Quote
  #2598  
Old 11-01-2007, 07:05 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wilhelm View Post
hi, i have a problem with the hack when uploading has finished. It seems the file was submitted but then:
i use the german version and the text says:
"Fehler beim Hochladen - kann die hochgeladene Datei auf dem Server nicht verschieben."

engl. smth like that: Error while uploading - cannot move the uploaded file on the server.

I have an upload, thumb folder both set to 777, no error messages @LDM
using 2.8.8Post1, local_file_root Website local_file_root_prefix not set

whats the error on that?

btw awesome hack

edit: Tested with full path url, local url, both works, only upload i still get the error msg.
Check if the php security setting open_basedir and safe_mode are set (vb/admin/maintenance/phpinfo), and whether your upload directory is within the space allowed by open_basedir - LDM is supposed to be aware of open_basedir, but perhaps there's a problem in the code that I've missed.

If that doesn't point you in the right direction, here's a quick debugging check. Go to vb/admincp/products and plugins and add a new plugin, called, e.g. debug, attached to the hook ldm_upload_filesave, and make sure it's active, with the following code:

Code:
echo 'open_basedir '.ini_get('open_basedir').'<br />';
echo 'safe_mode '.ini_get('safe_mode').'<br />';
echo $fullfile.'<br />';
if (file_exists($fullfile)) {
echo 'file exists<br />';
exit;
}
if (move_uploaded_file($GPC['tmp_name'], $fullfile)) {
echo 'move ok<br />';
}
exit;
then try uploading a file, take a look at the error messages and post them back here. Remember to disable the debug plugin after you've run it.
Reply With Quote
  #2599  
Old 11-01-2007, 02:49 PM
Wilhelm Wilhelm is offline
 
Join Date: Nov 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi AndrewD, thanks alot for your time and help. I figured out the phpinfo(), safemode is local and global set, open_basedir is only local set.

the error msg is recieve with your debug code:
PHP Code:
open_basedir /home/httpd/vhosts/***myURLNAME***/httpdocs:/tmp
safe_mode 1
/home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1/290811939309968307.zip

Warnung
move_uploaded_file(): SAFE MODE Restriction in effectThe script whose uid is 10001 is not allowed to access /home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1 owned by uid 30 in /local_links_actions.php(343) : eval()'d code (Zeile 8) 
I have no clue what settings to change to get the upload working. I dont have access to php.ini, only .htaccess i could work with. Would the problem be solved by disabling SAFE_MODE AND open_basedir? Or just one of them?
Maybe i can do something in Plesk file manager editing some file in the root directory? Im not that strong with server settings.
Reply With Quote
  #2600  
Old 11-01-2007, 04:10 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wilhelm View Post
Hi AndrewD, thanks alot for your time and help. I figured out the phpinfo(), safemode is local and global set, open_basedir is only local set.

the error msg is recieve with your debug code:
PHP Code:
open_basedir /home/httpd/vhosts/***myURLNAME***/httpdocs:/tmp
safe_mode 1
/home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1/290811939309968307.zip

Warnung
move_uploaded_file(): SAFE MODE Restriction in effectThe script whose uid is 10001 is not allowed to access /home/httpd/vhosts/***myURL***/httpdocs/forums/upload/1 owned by uid 30 in /local_links_actions.php(343) : eval()'d code (Zeile 8) 
I have no clue what settings to change to get the upload working. I dont have access to php.ini, only .htaccess i could work with. Would the problem be solved by disabling SAFE_MODE AND open_basedir? Or just one of them?
Maybe i can do something in Plesk file manager editing some file in the root directory? Im not that strong with server settings.
I think the problem will be solved by turning off safe_mode, but I've not experienced this before. Your open_basedir setting is ok.

VBulletin itself gets round this problem with some slightly contorted file movements, which I have not implemented in LDM.

*Edit*

I've run a quick test with safe_mode on and open_basedir set, and can reproduce your problem. Turning off safe_mode corrects the problem. So (at least for me) does turning on safe_mode_gid
Reply With Quote
  #2601  
Old 11-01-2007, 06:21 PM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey AndrewD, there is the French translation with this post
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:57 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.07344 seconds
  • Memory Usage 2,341KB
  • 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_code
  • (2)bbcode_php
  • (8)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