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
  #2412  
Old 09-29-2007, 08:06 AM
efil's Avatar
efil efil is offline
 
Join Date: Nov 2004
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi AndrewD,
Is there a vbAdvanced mod like "newest entries" but for "random entries" ?
Reply With Quote
  #2413  
Old 09-29-2007, 01:46 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Well, I'd hoped to come back from holiday and find no bugs to fix, but people seem to keep finding them... I think we're nearly there.

Concerning yout earlier PM'd problem with rogue downloads, this is not going to be easy to sort out from a distance. I have somewhat improved the tool for analysing downloads in 2.2.8, and it may be easiest for you to upgrade before we start investigating.
Darn bugs! And no worries on the needing to upgrade before we start investigating. You do such wonderful work, I bet it's already taken care of!
Reply With Quote
  #2414  
Old 09-30-2007, 02:10 AM
SherryG SherryG is offline
 
Join Date: Oct 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there,

I've had this mod installed for quite some time and it was working great. Now I'm getting the following messages when trying to click on a link:

Error - Cannot determine if you can access link: linkid,forumid= 227, 38

Can someone tell me what that means and how I can fix it?

Cheers!
Sherry
Reply With Quote
  #2415  
Old 09-30-2007, 04:45 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SherryG View Post
Hi there,

I've had this mod installed for quite some time and it was working great. Now I'm getting the following messages when trying to click on a link:

Error - Cannot determine if you can access link: linkid,forumid= 227, 38

Can someone tell me what that means and how I can fix it?

Cheers!
Sherry
It means that the entry has been 'associated' with a forum which you have subsequently deleted, so the code can't tell if you have access permissions or not. You need to edit the entries to use current forums. The quickest way to do this is with the ldm/admin/categories/mass edit feature, which should highlight for you where the problems are.
Reply With Quote
  #2416  
Old 09-30-2007, 08:29 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
I have these forum tabs on my site. I apply conditionals to them, so that the tab that corresponds to the section of the site you are on gets highlighted.
To do this for LDM, I need to define what the cat id variables of LDM are.

I tried this, but this didn't work:
PHP Code:
<if condition="in_array($foruminfo[catid], array(126,39, 43))"><li id="active"><a href="http://www.mysite.com/forum/local_links.php?catid=126" id="active">Videos</a></li><else /><li><a href="http://www.mysite.com/forum/local_links.php?catid=126">Video</a></li></if> 
Andrew, could you please inform me of the cat id variables?
Well, I finally sorted this out.

I installed the basic tab menu hack and modified the navbar template by putting
Code:
<br />
$tabbars
<br />
at the end.

I then modified the standard tabbars template so that there was a menu item defined for LDM:

Code:
<li><a href="/forums/local_links.php" class="<if condition="in_array(THIS_SCRIPT, array('local_links', 'local_links_admin', 'local_links_search'))">tabbarssix<else />tabbarsone</if>" onMouseover="expandcontent('sc6', this)">Downloads</a></li>
This sequence will use the tabbarsone style if you are outside LDM and the tabbarssix style if you are inside LDM.

I'm sure you can take it from here. Bear in mind that you will need to change the strings inside the in_array() statement if you have renames the main LDM scripts.
Reply With Quote
  #2417  
Old 09-30-2007, 10:01 AM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Andrew.
Chinese translation updated.
Reply With Quote
  #2418  
Old 09-30-2007, 07:40 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Well, it should be by modifying the formwidth_usercp setting on the vb style sheet, but I realise that I've missed out a table width parameter in the relevant template.

So modify the formwidth_usercp style variable, and then find this sequence in the links_addnewlink template:

Code:
<div style="width:$stylevar[formwidth_usercp]" align="$stylevar[left]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
    <td><div>
    $messagearea
    </div></td>
</tr>
</table>
</div>
and add a width="100%" field to the table tag.
Quote:
Originally Posted by Tulsa View Post
Unfortunately adding the 100% did not work, the editor in LDM was still smaller than the forum. So I changed the 100% to the 640 that matches my formwidth_usercp variable and that worked.
In the new version, I (think) see where you've added the width statements now but the 100% didn't work on my forum and changing the values on the new version to 640 didn't work this time. Any thoughts?
Reply With Quote
  #2419  
Old 09-30-2007, 11:53 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Well, I finally sorted this out.

I installed the basic tab menu hack and modified the navbar template by putting
Code:
<br />
$tabbars
<br />
at the end.

I then modified the standard tabbars template so that there was a menu item defined for LDM:

Code:
<li><a href="/forums/local_links.php" class="<if condition="in_array(THIS_SCRIPT, array('local_links', 'local_links_admin', 'local_links_search'))">tabbarssix<else />tabbarsone</if>" onMouseover="expandcontent('sc6', this)">Downloads</a></li>
This sequence will use the tabbarsone style if you are outside LDM and the tabbarssix style if you are inside LDM.

I'm sure you can take it from here. Bear in mind that you will need to change the strings inside the in_array() statement if you have renames the main LDM scripts.
This was not quite what I meant, because I got this far. I have 3 tabs linking to 3 different categories in LDM; Video, Audio and Documents. All sections make use of local_links, so I can not use THIS_SCRIPT to identify the categories.
This is why I want to use category-id's. I have done this for the tabs linking to forums. This worked like this:
Code:
<if condition="in_array($foruminfo['forumid'], array(176, 190, 174))">
I have tried to translate the method to LDM, like below, but was unsuccessful:
Code:
<if condition="in_array($foruminfo[catid], array(126,39, 43))">
If you can correct this line for me, then I am set.
Reply With Quote
  #2420  
Old 10-01-2007, 04:06 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
This was not quite what I meant, because I got this far. I have 3 tabs linking to 3 different categories in LDM; Video, Audio and Documents. All sections make use of local_links, so I can not use THIS_SCRIPT to identify the categories.
This is why I want to use category-id's. I have done this for the tabs linking to forums. This worked like this:
Code:
<if condition="in_array($foruminfo['forumid'], array(176, 190, 174))">
I have tried to translate the method to LDM, like below, but was unsuccessful:
Code:
<if condition="in_array($foruminfo[catid], array(126,39, 43))">
If you can correct this line for me, then I am set.
Yes, there's a small problem with this approach, because the standard coding for the tabs hack sets up its display *before* LDM gets started. Consequently, standard LDM variables have not yet been set.

The following approach works:

1) Instead of putting $tabbars in the navbar template, put it in the links_header template, immediately after $navbar.
2) Create a new plugin tied to the *ldm_maindisplay_end* hook, and make its code identical to the code which the tabs hack ties to the *parse_templates* hook
3) You can code your in_array() check using the $viewcatid variable.

This will work for the main LDM displays. You will have to work out how to get this to work in other parts of vBulletin, i.e. which templates you can patch with $tabbars, etc.
Reply With Quote
  #2421  
Old 10-01-2007, 04:16 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
In the new version, I (think) see where you've added the width statements now but the 100% didn't work on my forum and changing the values on the new version to 640 didn't work this time. Any thoughts?
I made the same changes in the *links_addnewentry* and *links_viewallcomment* templates:

Code:
<div>
	<div style="width:$stylevar[formwidth_usercp];" align="$stylevar[left]">
	<table cellpadding="0" cellspacing="0" border="0" style="width:100%;" >
	<tr>
		<td><div style="width:100%;">
		$messagearea
		</div></td>
	</tr>
	</table>
	</div>
</div>
This works correctly for me with both Firefox and Internet Explorer, with both pixel and percentage values for the formwidth_usercp style setting in VB, provided this value is larger than about 400 pixels. (Smaller values than about 400 seem to be ignored.) Note that "100%" appears twice.

If you are wanting to 'hard code' the width, you need to replace $stylevar[formwidth_usercp];
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 02:14 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.11272 seconds
  • Memory Usage 2,337KB
  • 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
  • (10)bbcode_code
  • (1)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
  • (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