Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
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
  #2702  
Old 11-28-2007, 08:25 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Old server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/

New server:
local_file_root Website
local_file_root_prefix
/forum/links/downloads/

Both local_file_root_prefix are correct, though my new server does not have a normal url yet, but is using IP~mydomain.com/
http://35.125.65.123~mydomain.com/forum/links/downloads

Can this have an adverse effect?

I do not know if local_file_root website is correct for the new server, as I don't understand the meaning.
The temporary IP based address is almost certainly your problem. LDM tries to find local files by concatenating a series of settings on the front of the file name you have specified. I suspect that it is getting the wrong result because it has probably missed out /~mydomain.com from the middle. You can try this by editing local_file_root_prefix and putting /~mydomain.com at the start.

If this doesn't work, as usual I'm happy to take a look.
Reply With Quote
  #2703  
Old 11-28-2007, 11:52 PM
JirQUEST JirQUEST is offline
 
Join Date: Dec 2001
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this:

Fatal error: Cannot redeclare cache_styles() in /xxxxx/includes/local_links_include.php on line 1120

Latest LDM version with vB3.6.8 PL 2

[EDIT] I just found out it clashed with vB Ad Management. What can I do to allow both modifications to work together?
Reply With Quote
  #2704  
Old 11-29-2007, 03:51 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JirQUEST View Post
I got this:

Fatal error: Cannot redeclare cache_styles() in /xxxxx/includes/local_links_include.php on line 1120

Latest LDM version with vB3.6.8 PL 2

[EDIT] I just found out it clashed with vB Ad Management. What can I do to allow both modifications to work together?
somebody else obviously had the same problem I had and found the same solution

edit includes/local_links_include.php. cache_styles appears three times - at about lines 1120, 1145 and 1157. Change each of them to, e.g., ldm_cache_styles. That should solve the problem. I'll fix this permanently in the next release.
Reply With Quote
  #2705  
Old 11-29-2007, 04:13 AM
JirQUEST JirQUEST is offline
 
Join Date: Dec 2001
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet as, dude. I love you! LOL.
Reply With Quote
  #2706  
Old 11-30-2007, 04:22 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Welcome back!



Which linkbit are you using? If you are using the standard (Modern) linkbit, check that these lines appear about 20 lines into the links_linkbit template
Code:
<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>
Also check that the links_imgmag template exists and looks like this:
Code:
<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>
You means the 'display order' setting? I can't reproduce this problem.
THANKS!! glad to be kickin again. been delving back into LDM recently. still a great tool and even better (imo) with the flashsite integration (again: request others like megavideo or a way for us to help add them for you as with the AME embedded video player )

Yes, modern linkbit. EG: http://www.unrealaddicts.com/forums/...&expandset=all

Checked and all those codes are there. +_+
here's the exact code from both templates:


link_linkbit:
Code:
<tr id="linkid$linkid">
<td colspan="2">
<fieldset class="fieldset">
<legend>
<strong>
<if condition="$linknew">$linknew</if>
$linktypebit
$linkurljump
</strong>
$linkurlextra
<if condition="$linksavebit">$linkurlsave</if>
<if condition="$linkraters"><img src="$stylevar[imgdir_rating]/rating_$linkrate.gif" border="0" alt="$linkrate *" /></if>
<if condition="$links_permissions['can_view_hidden']"><if condition="$linkexpired>0"><span class="highlight">$vbphrase[ll_expired] </span><else /><if condition="$linkexpired<0"><span class="highlight">$vbphrase[ll_notyetvisible] </span></if></if></if>
<if condition="$linkstatus==$LINK_HIDDEN"><span class="highlight">$vbphrase[ll_hidden_entry] </span></if>
</legend>
<div style="margin-top:3px">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<if condition="$linkimg">
<td width="$linkimgsize" align="$stylevar[right]">
$linkimgjump
<if condition="$linkimgmag">
<br />
<div style="margin-top:3px"><span class="smallfont">$linkimgmag</span></div>
</if>
</td>
<td width="5">&nbsp;</td>
</if>
<td valign="middle" align="$stylevar[left]">
<span class="smallfont">
$linkdesc
<if condition="$showcatname"><br /><br />$vbphrase[ll_cat] $linkothercatsbit<else />
<if condition="$linkshowothercatbit>0"><br /><br />$vbphrase[ll_seealso] $linkothercatsbit</if>
</if>
</span>
</td>
<td width="5">&nbsp;</td>
<td width="30%">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<fieldset class="fieldset">
<if condition="$linklegendbuttons"><legend><if condition="$linkfavbit">$linkfavbit </if><if condition="$linkeditbit">$linkeditbit </if><if condition="$links_permissions['can_send_tofriend']"><a href="$LINKS_SCRIPT.php?action=sendtofriend&amp;catid=$linkcatid&amp;linkid=$linkid" title="$vbphrase[ll_sendtofriend]"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[ll_sendtofriend]" border="0" /></a></if><if condition="$links_permissions['can_report_link'] and $linkuserid != $bbuserinfo['userid']"><a href="$LINKS_SCRIPT.php?action=reportlink&amp;linkid=$linkid&amp;catid=$viewcatid&amp;page=$pagenumber"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[ll_report_bad_link]" border="0" /></a></if>$linklikebit</legend></if>
<table width="100%"><tr><td align="$stylevar[right]">
<div class="smallfont">
<if condition="$links_defaults['enable_doi'] and $linkdoi">$vbphrase[ll_doi] $linkdoi<br /></if>
<if condition="$links_permissions['can_view_names']">$vbphrase[ll_submitby] <a href="member.php?u=$linkuserid">$linkusername</a>
<a href="$SEARCH_SCRIPT.php?action=show&amp;userid=$linkuserid&amp;sort=d" title="$vbphrase[ll_find_others]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_find_others]" /><else />[?]</if>
</a>
<br /></if>
<if condition="$linkmoderate==$LINK_TO_MODERATE and ($links_permissions['can_moderate_links'] or $links_permissions['can_moderate_forums'])">[<a href="$ACTION_SCRIPT.php?action=domod&catid=$viewcatid" title="$vbphrase[ll_moderate]">$vbphrase[ll_moderate]</a>]<br /></if>
$linkdate <if condition="$expire and !$linkexpired"><phrase 1="$linkdateexp">$vbphrase[ll_expires_on]</phrase></if>
<if condition="$links_permissions['can_view_hits']"><br />
$vbphrase[ll_hits] $linkhits
<if condition="$links_permissions['can_admin_links'] and $linkhits"><a href="$ADMIN_SCRIPT.php?set=logjumps&amp;todo=1&amp;startint=0&amp;linkid=$linkid" title="$vbphrase[ll_viewhits]"><if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_viewhits]" /><else />[?]</if></a></if>
</if>
<if condition="$linksize"><br />$linksize</if>
<if condition="!$linkstatus"><br />[$vbphrase[ll_unknown_status]]</if>
<if condition="$links_permissions['can_set_display_order']"><br />$vbphrase[ll_displayorder] $thisorder</if>
<if condition="$links_permissions['can_edit_keyword']">
<br />

<div id="keys{$linkid}_1">
<a href="#{$linkid}" onclick="ldm_show('keys{$linkid}_', 2, 2);">$vbphrase[ll_keywords]</a> $linkkeys
</div>

<div id="keys{$linkid}_2" style="display:none;" >
    <form action="$ACTION_SCRIPT.php" method="post">
<table width="100%">
<tr><td align="$stylevar[right]">
    <a href="#{$linkid}" onclick="ldm_show('keys{$linkid}_', 1, 2);">$vbphrase[ll_keywords]</a>
</td><td align="center">
        <div id="ldmkey$linkid">$linkkeysraw
        <!-- <textarea id="ldmkey{$linkid}_txt" name="keywords" rows="1" cols="20">$linkkeysraw</textarea> -->
        <input type="text" class="bginput" id="ldmkey{$linkid}_txt" name="keywords" value="$linkkeysraw" rows="1" size="20" />
        </div>
        <div class="vbmenu_popup" id="ldmkey{$linkid}_menu" style="display:none; z-index:50"></div>
        <script type="text/javascript">
        <!--
        vbmenu_register('ldmkey{$linkid}', true);
        recip_sugg{$linkid} = new ldm_AJAX_KeySuggest('recip_sugg{$linkid}', 'ldmkey{$linkid}_txt', 'ldmkey{$linkid}');
        recip_sugg{$linkid}.allow_multiple = true;
        //-->
        </script>
</td><td align="$stylevar[left]">
        <input type="hidden" name="action" value="doeditkeys" />
        <input type="hidden" name="viewlinkid" value="$viewlinkid" />
        <input type="hidden" name="linkid" value="$linkid" />
        <input type="hidden" name="catid" value="$linkcatid" />
        <input type="hidden" name="page" value="$pagenumber" />
        <input type="submit" class="button" value="$vbphrase[ll_go]"  />
</td></tr>
</table>
    </form>
</div>

<else />
    <if condition="$linkkeys"><br />$vbphrase[ll_keywords]: $linkkeys</if>
</if>

</div>
</td>
<if condition="$links_permissions['can_view_names'] and $linkavatar"><td valign="top">$linkavatar</td></if>
</tr></table>
</fieldset>
</td>
</tr>
<if condition="$links_permissions['can_rate_link'] and $linkratebit">
<tr>
<td id="ratings$linkid" align="$stylevar[left]">
<if condition="$linkraters and $links_defaults['dropdown_comment_and_rate']"><script type="text/javascript"> vbmenu_register("ratings$linkid"); </script>&nbsp;</if>
<span class="smallfont">
$linkratebit
</span>
</td>
</tr>
<!--$linkid::rate-->
</if>
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>
links_imgmag temp

Code:
<if condition="$linkimg">
<a href="$RESIZE_SCRIPT.php?linkid=$linkid&amp;size=<if condition="$links_defaults[link_imagemagsize]">$links_defaults[link_imagemagsize]<else />0</if>" rel="lightbox[show]" target="_blank" title="$vbphrase[ll_enlarge_thumb]">
<if condition="$ldm_icon_cache['magnify']"><img border="0" src="$ldm_icon_cache[magnify]" alt="$vbphrase[ll_enlarge_thumb]" /><else />[+]</if></a>
</if>
its weird..dunno know why they don't work. it just stopped working one day. which sux as I was getting great SEO hits from the images (even with the mod_rewrite which I have yet to get to work grrrrr).

and yah, from the display order I have that issue (btw, is there a way to MASS update the display order and category?)

if you want I can get you admin access to check it out.
Reply With Quote
  #2707  
Old 11-30-2007, 04:22 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrendelKhan{TSU View Post
and yah, from the display order I have that issue (btw, is there a way to MASS update the display order and category?)
See PM for remarks on your magnifying glass problem.

You can mass edit category and display order with LDM/admin/categories/mass edit
Reply With Quote
  #2708  
Old 12-02-2007, 03:02 AM
Kingster Kingster is offline
 
Join Date: Jan 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigdaddyforums View Post
Also I'd quite like to see FTP upload with a Progress Bar. I've got people trying to upload 200mb sets but it just times out on them after an hour or so. So it'd be nice to see how long you have left to upload with a nice progress bar etc
Quote:
Originally Posted by AndrewD View Post
Yes, I know what you mean... I gave this som ethought before - probably the easiest and most robust solution is to offer an optional addon to one of the Java uploader scripts
Any word on an FTP upload add-on, Andrew? I've got users that have some massive files UT/UT2K4/UT3 maps and map packs) that I want to be able to utilize your manager...
Reply With Quote
  #2709  
Old 12-03-2007, 10:59 PM
Ipuck's Avatar
Ipuck Ipuck is offline
 
Join Date: Jun 2006
Location: California
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello AndrewD

I'm trying to link an external .zip file, but is not accepting the link. If a copy the link address to the web browser address bar the link works, but when I added to the LDM doesn't work. I also have a .rar file in the same folder and that one works OK. The files name is the same, the only difference is that one is .rar and the other one .zip. Any ideas?

Thanks
Reply With Quote
  #2710  
Old 12-04-2007, 03:41 AM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear Andrew, I think there is a problem with visible link setup on 2.2.8 post 1.

I set up Category A with standard LDM link protection, and subcategory B under category A with setting 2 (link location visible, this is to avoid the double bandwidth load). However, when I play the file under category B, I can't see the real location of the remote server. The link is still hidden.

Did I do anything wrong?
Reply With Quote
  #2711  
Old 12-04-2007, 09:56 AM
derfelix derfelix is offline
 
Join Date: Nov 2001
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did a couple of searches.. and looked through 50 of the 181 pages.. but did not find an answer to my problem..
Setup as simple link directory.. everything works fine..
but if an image is added in the description for http://mysiteone.com , and the imageurl is http://mysiteone.com/image1.jpg

It seems to work fine... image shows up... i can also post a link only to that image...

But if you do a search.. for mysiteone then the url to that image gets completely broken.. because the word "mysiteone" is highlighted in the text..
so the sourcecode of the page is:
HTML Code:
case image:
<img src="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" border="0" alt="" />
case link:
<a href="http://www.<span class="highlight">mysiteone</span>.com/image1.jpg" target="_blank">http://www.<span class="highlight">mysiteone</span>.com/image1.jpg</a>
Probably hapened to others also.. but i can find a fix nowhere....

Thanx for a reply

Felix
Reply With Quote
Reply

Thread Tools

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:46 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.10154 seconds
  • Memory Usage 2,342KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_html
  • (6)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