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
  #1592  
Old 04-13-2007, 09:26 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very small bug.. I almost am embarrassed to post it.

Using the most current version: links-2.2.7-post2.zip

Add Entry (it was 5:22 my time)
Set time for 5:25
Submit the entry and it shows "Not yet visible"
Refresh the screen... at 5:24, instead of 5:25, it makes the file visible.
Reply With Quote
  #1593  
Old 04-13-2007, 10:06 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andrew.

I'm having some pretty big problems with upgrading from 2.2.6 to 2.2.7.

I uploaded everything to the server.
I then go into Plugin & Products > Manage Products > Add/Import Product

I bring in product-eirma_ldm.xml and mark for it to overwrite and press import.

The next screen starts with the "please wait".. it then prints out this info

Links and Downloads Manager
Checking installation status...
Currently installed version: 2.2.6
Checking environment...
Environment checked
Creating LDM database tables
Step 1 - Verifying database tables
Patching (1) LDM database tables
Initialising admin table
Patching (2) LDM database tables
Recording version number 2.2.6 in database
Cleaning templates

And stops... it does nothing else. I let it sit for 10 minutes just in case it was because of the size of our database, but it doesn't do anything. Our database, zipped is only around 6 MB.

Any ideas?
Reply With Quote
  #1594  
Old 04-14-2007, 05:49 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
Hi Andrew.

I'm having some pretty big problems with upgrading from 2.2.6 to 2.2.7.

I uploaded everything to the server.
I then go into Plugin & Products > Manage Products > Add/Import Product

I bring in product-eirma_ldm.xml and mark for it to overwrite and press import.

The next screen starts with the "please wait".. it then prints out this info

Links and Downloads Manager
Checking installation status...
Currently installed version: 2.2.6
Checking environment...
Environment checked
Creating LDM database tables
Step 1 - Verifying database tables
Patching (1) LDM database tables
Initialising admin table
Patching (2) LDM database tables
Recording version number 2.2.6 in database
Cleaning templates

And stops... it does nothing else. I let it sit for 10 minutes just in case it was because of the size of our database, but it doesn't do anything. Our database, zipped is only around 6 MB.

Any ideas?
A few thoughts.

First, if you've reported accurately the sequence of messages, then you've still got at least one of the version 2.2.6 files sitting on your server (the local_links_init.php) file, which produces the message "Recording version number 2.2.6 in database".

I've seen a number of reports over the last few months where the ftp code upload hasn't worked correctly, and one then gets very unpredicable behaviour which is essentially impossible to code safeguards against.

Second point is that the LDM installer has printed out all its messages - the 'Cleaning templates' message is the final message before passing control back to vbulletin. So it looks to me as if the installer has done its job and then vb itself is going to sleep. I don't know why that should be.

Do you guys periodically reoptimise your VB database? It's a good idea from time to time to go to vb/admin/maintenance/repair and optimise tables and do a couple of cycles of repair/optimisation. MySQL can slow down quite a bit after heavy use.

If none of this helps, let me know - am, as always, very happy to take a look.
Reply With Quote
  #1595  
Old 04-14-2007, 05:59 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
Very small bug.. I almost am embarrassed to post it.

Using the most current version: links-2.2.7-post2.zip

Add Entry (it was 5:22 my time)
Set time for 5:25
Submit the entry and it shows "Not yet visible"
Refresh the screen... at 5:24, instead of 5:25, it makes the file visible.
It's not a bug, it was deliberate.

The timestamp that's provided to a vb script records when the script starts running rather than when a particular piece of code is executed. So one has to build in a margin of error into time calculations so that when the user actually gets to see the page. In the case of pre-dated entries, I gave a 60 second margin, to avoid the situation where the page is presented at (5.25) but was requested at (5.24).

If this is serious for you, it's a very trivial change to the code of local_links_include.php, about line 2861, depending on version

Code:
 
$linkexpired = 0;
if ($expire) {
	if ($linkdatebin>TIMENOW+60) {
		$linkexpired = -1;  // post-dated, so just invisible
	}
Just change the 60 to something smaller.
Reply With Quote
  #1596  
Old 04-14-2007, 06:05 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rouzbeh1 View Post
hi Andrew,
i have tried Wimpy Wasp Player with the new LDM fixes. it's still not working for me.
what should i do to get it working?
PS: it shows up but video doesn't start to play
Do you by any chance have local_file_root set to 1 and is the flash video stored outside your web site?

The wasp player is picky about what it will play. It has to be given a full url to the file, so the file has to sit within the web site. The wimpy mp3 player is less sensitive and will work properly with php code that streams mp3 content to it.

If this isn't the situation, pls can you do a 'view source' on the wimpy wasp window, save the html to file and then email it to me (ad_rodin at noos.fr)
Reply With Quote
  #1597  
Old 04-14-2007, 06:20 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vuiveclub_net View Post
I mean like when i upload a file in a subcategories, then why it;s not shows in the forum homepage that there is a new post. but when i post a file at a regular categorie it shows in forum homepage there is a new post. I hope you know what i mean. I want that when we Upload a file in subcategories, it will be show in the forum homepage.
Are you using the 'autocreate_threads' plugin for LDM (it's in the extras directory of the release)?

This 'autocreates' a post in a forum whenever new entries are added to LDM. For this to work, LDM has to know which forum to post into. It uses the 'associated forum' which you (as admin) tell it to use by default - for all categories/entries, in some categories, or on an entry-by-entry basis.

I've just tested this - created a three level forum structure (base, main forum, child forum) and a two level category structure (cat1/cat2). I installed the 'autothread' plugin, and added a new entry to the child category (cat2), associating it with the child forum. The attached images show what my LDM category and forum home look like.
Reply With Quote
  #1598  
Old 04-14-2007, 06:21 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by unknowngiver View Post
hey
i just added a new theme..and the download thing at the main page [vbadvanced] doesnt show anyway of adding it back in?
Am not an expert on vbadvanced - will try to take a look into this.
Reply With Quote
  #1599  
Old 04-14-2007, 10:53 AM
Rouzbeh1 Rouzbeh1 is offline
 
Join Date: Sep 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Do you by any chance have local_file_root set to 1 and is the flash video stored outside your web site?

The wasp player is picky about what it will play. It has to be given a full url to the file, so the file has to sit within the web site. The wimpy mp3 player is less sensitive and will work properly with php code that streams mp3 content to it.

If this isn't the situation, pls can you do a 'view source' on the wimpy wasp window, save the html to file and then email it to me (ad_rodin at noos.fr)
local_file_root is set to no, flv file is on a separate server (accessible with apache)

email sent
thanks
Reply With Quote
  #1600  
Old 04-14-2007, 01:52 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rouzbeh1 View Post
local_file_root is set to no, flv file is on a separate server (accessible with apache)

email sent
thanks
See email reply - my bug.
Reply With Quote
  #1601  
Old 04-14-2007, 03:17 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install issue:

My apologies.. I honestly thought I had overwritten everything! However, I've reuploaded again and it installed just perfectly this time.

Quote:
Originally Posted by AndrewD View Post
It's not a bug, it was deliberate.

The timestamp that's provided to a vb script records when the script starts running rather than when a particular piece of code is executed. So one has to build in a margin of error into time calculations so that when the user actually gets to see the page. In the case of pre-dated entries, I gave a 60 second margin, to avoid the situation where the page is presented at (5.25) but was requested at (5.24).

If this is serious for you, it's a very trivial change to the code of local_links_include.php, about line 2861, depending on version

Code:
 
$linkexpired = 0;
if ($expire) {
	if ($linkdatebin>TIMENOW+60) {
		$linkexpired = -1;  // post-dated, so just invisible
	}
Just change the 60 to something smaller.
No, it wasn't a big issue Just something I noticed. Teach you to have me looking at your stuff!

Okay, off to finish the install.
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 10:06 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.07343 seconds
  • Memory Usage 2,326KB
  • 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
  • (2)bbcode_code
  • (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
  • (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