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

Quote:
Originally Posted by CamJM View Post
Hi Andrew, just one small question, if I set a condition so that only people who aren't logged in see it, it doesn't appear to work. here's what I edited, I have the condition working in other areas of the site..

Code:
<tr colspan="2">
<td align="center">
<if condition="$show['guest']">
Hello Hello Hello
</if>
</td>
</tr>
LDM doesn't (currently) set the $show array. You need another test, such as

Code:
<if condition="$vbulletin->userinfo['usergroupid'] > 1">
for logged in, and

Code:
<if condition="$vbulletin->userinfo['usergroupid'] <= 1">
for not
Reply With Quote
  #2583  
Old 10-31-2007, 01:17 PM
Willygsm Willygsm is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi andrewD, after i change the sync path now it show this

Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 3914

how to solve this??
Reply With Quote
  #2584  
Old 10-31-2007, 01:24 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, after i change the sync path now it show this

Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 3914

how to solve this??
Directory synchronisation can be expensive, especially if you allow manual resyncs.

You must either allow php to spend more than 30 seconds running scripts or you must reduce the amount of time that LDM tries to spend on the task.

The first requires editing the server's php.ini configuration file, finding the *max_execution_time* parameter, increasing the value and restarting your web server.

The second requires visiting LDM/admin/settings and checking the sync_maxcpu_allowed and sync_maxcpu_allowed_manual settings, making sure that they are well below 30 seconds.
Reply With Quote
  #2585  
Old 10-31-2007, 01:32 PM
Willygsm Willygsm is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Directory synchronisation can be expensive, especially if you allow manual resyncs.

You must either allow php to spend more than 30 seconds running scripts or you must reduce the amount of time that LDM tries to spend on the task.

The first requires editing the server's php.ini configuration file, finding the *max_execution_time* parameter, increasing the value and restarting your web server.

The second requires visiting LDM/admin/settings and checking the sync_maxcpu_allowed and sync_maxcpu_allowed_manual settings, making sure that they are well below 30 seconds.
thanks for reply
ok, actually for 1st time i didnt set for more than 30 second and sync all the files and it work. after i change the sync path now it should this. can i delete the whole folder and resync? if yes, how to delete it?
Reply With Quote
  #2586  
Old 10-31-2007, 01:43 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
thanks for reply
ok, actually for 1st time i didnt set for more than 30 second and sync all the files and it work. after i change the sync path now it should this. can i delete the whole folder and resync? if yes, how to delete it?
Actually, you shouldn't need to do/delete anything - it should work everything out for itself. But how many files are there in the directory that it is trying to read?

You can empty and delete entire folders (categories) in LDM by going to LDM/admin/categories, select the categor(y/ies) you want rid of, then select empty or delete
Reply With Quote
  #2587  
Old 10-31-2007, 01:50 PM
Willygsm Willygsm is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Actually, you shouldn't need to do/delete anything - it should work everything out for itself. But how many files are there in the directory that it is trying to read?

You can empty and delete entire folders (categories) in LDM by going to LDM/admin/categories, select the categor(y/ies) you want rid of, then select empty or delete
hi AndrewD, it have 14179 files and near 400GB.

i cant delete the categories coz when i click on categories, it show this
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 961
Reply With Quote
  #2588  
Old 10-31-2007, 02:16 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, it have 14179 files and near 400GB.

i cant delete the categories coz when i click on categories, it show this
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXX/public_html/forum/includes/local_links_include.php on line 961
Ouch...

Perhaps the directory structure that you are scanning is simply too complex to process in the cpu time allowed. The problem is how to regain control.

Go to LDM/admin/settings and turn off category_jump_menu and turn off sync_enabled.

Then try to go to admin/categories again.

Is this a production site, or are you still trying to get things set up?

By the way, are you running the latest (2.2.8-post 1) version of LDM or an older version? (Just so that I know which code to look at.)
Reply With Quote
  #2589  
Old 10-31-2007, 02:33 PM
voter's Avatar
voter voter is offline
 
Join Date: Dec 2006
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way a SQL query, to generate a copy of entries of LDM as a threads of a forum?
Reply With Quote
  #2590  
Old 10-31-2007, 02:41 PM
Willygsm Willygsm is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Ouch...

Perhaps the directory structure that you are scanning is simply too complex to process in the cpu time allowed. The problem is how to regain control.

Go to LDM/admin/settings and turn off category_jump_menu and turn off sync_enabled.

Then try to go to admin/categories again.

Is this a production site, or are you still trying to get things set up?

By the way, are you running the latest (2.2.8-post 1) version of LDM or an older version? (Just so that I know which code to look at.)
hi andrewD thanks for reply, after i off the categories now i can go to here
http://www.sw-box.com/forum/local_links.php?catid=1365

but it show 2 folder now and when i go admin setting still cant go the categories setting there
Fatal error: Maximum execution time of 30 seconds exceeded in /home/XXXXXXXX/public_html/forum/includes/local_links_include.php on line 975

??
Reply With Quote
  #2591  
Old 10-31-2007, 03:19 PM
Willygsm Willygsm is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi andrewD, how to delete whole categories? any code to modify?

Cannot delete a category which still contains entries or subcategories.
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:34 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.06411 seconds
  • Memory Usage 2,325KB
  • 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
  • (3)bbcode_code
  • (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
  • (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