Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Links and Downloads Manager Details »»
Links and Downloads Manager
Version: 2.2.1, by AndrewD AndrewD is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 06-25-2005 Last Update: 05-10-2006 Installs: 337
DB Changes Uses Plugins
Additional Files  
No support by the author.

LDM extends VBulletin to manage a library of documents, files and links to other web sites. Documents can be stored on your own web site, stored on your server separate from the web site, uploaded by your user community, or held somewhere else altogether. So you can use LDM to provide your user community with access to your own files and allow them to share files with each other.

12/08/06 - Versions that work with vb36 are available and supported in the VB36 thread. Version 2.2.1, which works with VB 3.5 but not with VB 3.6, remains available here.

Thanks to everyone who has helped with all the design, testing, etc.
Translations are provided (thanks dLutt and LeeWicked) into German, (thanks to Allan) into French, and (thanks to Hugo) into Spanish. Harry1951 has handled the Dutch translation.

Screenshots, Instructions and How to Install

Full details and instructions are available as a Wiki at http://www.eirma.org/wikis/index.php...nloads_Manager

LDM installs as a VBulletin product. There are no modifications required to standard VB code.

Basically - upload php files and run the installer through VB's Product installer. No changes needed to VB code. Remember to BACKUP YOUR DATABASE. By default, LDM prefixes its database tables 'local_'. Edit the configuration file, local_links_init.php, if you need/wish to change this.

LDM can handle an essentially unlimited number of categories and nested subcategories, and an unlimited number of entries (hyperlinks or downloadable files). Each entry can be placed in one or several categories. Categories can have styles. Descriptions and titles can optionally include BBcodes, smilies, images and html, giving the possibility to add images, colouring, etc. File types can be flagged using icons and individual entries can also have associated thumbnail images.

Standards templates are provided for libraries of links, files, documents, and photographs.

Users can offer comments and rate the links/downloads. Each user is allowed one rating and many comments per entry, and can freely edit these if they change their mind.

Permission to use specific features is established via the product's admin page, where the administrator specifies which usergroups can add and edit entries, comment and rate these entries, moderate, etc.

By default, all entries are visible to all users. You can restrict visibility/access to links and categories by using the permissions masks from your board's forums.

Moderation of new entries is available but turned off by default.

Users can report bad links to the relevant moderators/administrators.

Each user can flag links as his/her "Favourites".

Modules are provided for VBAdvanced.

Hooks are provided in suitable places in LDM and sample plugins are included in the release (see extras directory), for example to integrate with ID3 tags in mp3 files, for slideshows, to autocreate new threads in your forums, etc.

Plus much more.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 10-01-2005, 04:06 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Either approach will work, - install/overwrite or uninstall/reinstall - the uninstall does not harm the LDM database tables.

The only tricky situation with the new VB system is when an install only partly completes, and VB thinks it has finished the job. This is because installation code is only executed when the VB installer thinks it is installing a higher version. So if , e.g. (for any reason) you have part-installed version 2.0.5, then to complete the job you have to uninstall and start again.
As we found out during the beta phase of 2.0.5.
Reply With Quote
  #193  
Old 10-01-2005, 04:08 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
As we found out during the beta phase of 2.0.5.
Don't be too sarcastic or you may find an unexpected worm in the next release
Reply With Quote
  #194  
Old 10-01-2005, 04:11 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Don't be too sarcastic or you may find an unexpected worm in the next release
LOL I wasn't being sarcastic, actually. But now that you mention it ...
Reply With Quote
  #195  
Old 10-01-2005, 04:14 PM
Meltingfire's Avatar
Meltingfire Meltingfire is offline
 
Join Date: Sep 2002
Location: Sweden
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Don't be too sarcastic or you may find an unexpected worm in the next release
I have created a own module i call "ldm-hotcat.php" that is basicly a hot category.
Since i use the category as a filename, lets say "miranda" and then post a link for each version "miranda 1.0", "miranda 2.0" etc i want all hits to be collected together inside that category so i use the following code as SQL, other then that there is no changes made to the original "ldm-hot.php"

PHP Code:
        SELECT cat.catid AS linkidcat.catname AS linknamecat.catdesc AS linkdesc
            
SUM(link.linkhits) AS linkhitslink.linkstatus AS linkstatus
        FROM 
".THIS_TABLE."linksltoc AS ltoc         
        LEFT JOIN 
".THIS_TABLE."linkslink AS link 
            ON ltoc
.linkid link.linkid 
        LEFT JOIN 
".THIS_TABLE."linkscat as cat 
            ON ltoc
.catid cat.catid
        GROUP BY cat
.catid

            $order
        LIMIT $linksee 
The problem is that when i use the $filter i get a SQL error, cant see why...

if the filter is "WHERE link.linkmoderate = 0" it gives a error which it shouldnt, or am i just blind
Reply With Quote
  #196  
Old 10-01-2005, 04:21 PM
Meltingfire's Avatar
Meltingfire Meltingfire is offline
 
Join Date: Sep 2002
Location: Sweden
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PtP
I started to wonder if I was just being opinionated in my comment of the template, I have attached the old (beta template) and the new template for your own opinion, I honestly think the old beta one looks classier. See what you think.
Since i see that you have a small empty row on top, here is a fix for you, i also added the linkstatus-thingie that was used in older LDM but not in this 3.5, how come?

well here is the code for links_hotlinks if you want a 2 column module, and also dont forget to edit module to use 2 in colspan.

PHP Code:
<if condition="$linkstatus==1">
<
a href="$vboptions[bburl]/local_links.php?action=jump&amp;id=$linkid">$linkname</a>
</if>
<if 
condition="$linkstatus>1">
<
a href="$vboptions[bburl]/local_links.php?action=jump&amp;id=$linkid">$linkname</a</if>
<if 
condition="$linkstatus<=0">
$linkname (n/a)
</if>
</
span>
</
td>
<
td class="alt2">
<
span class="smallfont">[$linkhits]</span>
</
td>
</
tr>
<if 
condition="$nhits<4">
<
tr>
<
td class="alt1"><span class="smallfont">
</if> 
the part with <if condition="$nhits<4"> should be changes if you have 10 rows then it should be 9, and so on...

EDIT:
i dont know what the intension was of using a both linkstatus==1 and linkstatus>1 but i guess it has to do that at one of them you can also show filesize if i recall right.
Reply With Quote
  #197  
Old 10-01-2005, 04:31 PM
Meltingfire's Avatar
Meltingfire Meltingfire is offline
 
Join Date: Sep 2002
Location: Sweden
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im on fire tonight! :P
Sorry for trippleposting but i want to keep each feature/bug in a new post.

Shouldnt ldp-new.php use the current link instead to show "Whats New" when you click on the header.
$hottitle = '<a href="'.$vbulletin->options['bburl'].'/'.LINKS_SCRIPT.'.php?action=links&catid=-8">'.'New files'.'</a>';
Reply With Quote
  #198  
Old 10-01-2005, 05:06 PM
Meltingfire's Avatar
Meltingfire Meltingfire is offline
 
Join Date: Sep 2002
Location: Sweden
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After debugging and editing for half an hour this is my last feedback for today.

It is impossible to run both new and hot at the same time, probably because they use same variablenams etc.

What i had to do was to rename everything with "hot" in ldm-new.php to "new", after that i duplicated one styles for each "links_hotlinks" and "links_newlinks", and also "adv_portal_custom_ldm_hot" and "adv_portal_custom_ldm_new".

I removed the <tr><td><span> $hotlinks </span></td></tr> part from the "adv_portal_custom_ldm_hot" since i wanted to use more then one colulmn and or row per file, and added the part with <tr><td><span> <a href> ... </a></span></td></tr> in "links_hotlinks" instead. Did same thing for the "_new"-versions.

This also removes the need to use $hottitle, $collapseobj_custom_ldm and $collapseimg_custom_ldm, since they can now be set in the template instead.

This is my $0.05, now its saturday night here and time to party! :P
Reply With Quote
  #199  
Old 10-01-2005, 05:08 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Meltingfire
Im on fire tonight! :P
Sorry for trippleposting but i want to keep each feature/bug in a new post.

Shouldnt ldp-new.php use the current link instead to show "Whats New" when you click on the header.
$hottitle = '<a href="'.$vbulletin->options['bburl'].'/'.LINKS_SCRIPT.'.php?action=links&catid=-8">'.'New files'.'</a>';
I think that's right - ditto What's hot?
Reply With Quote
  #200  
Old 10-01-2005, 05:10 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Meltingfire
After debugging and editing for half an hour this is my last feedback for today.

It is impossible to run both new and hot at the same time, probably because they use same variablenams etc.

What i had to do was to rename everything with "hot" in ldm-new.php to "new", after that i duplicated one styles for each "links_hotlinks" and "links_newlinks", and also "adv_portal_custom_ldm_hot" and "adv_portal_custom_ldm_new".

I removed the <tr><td><span> $hotlinks </span></td></tr> part from the "adv_portal_custom_ldm_hot" since i wanted to use more then one colulmn and or row per file, and added the part with <tr><td><span> <a href> ... </a></span></td></tr> in "links_hotlinks" instead. Did same thing for the "_new"-versions.

This also removes the need to use $hottitle, $collapseobj_custom_ldm and $collapseimg_custom_ldm, since they can now be set in the template instead.

This is my $0.05, now its saturday night here and time to party! :P
Greatly appreciated - as I've said elsewhere, I don't use vbAdvaced, so have had to work a bit in the dark - will try to pull these things together soon.

Your easrlier equstion about $linkstatus = 1 or >1 - the variable is positive if the link is good, and >1 if it should be treated as a file size - maybe I should have used two variables but I was a bit lazy at one point
Reply With Quote
  #201  
Old 10-01-2005, 05:18 PM
Meltingfire's Avatar
Meltingfire Meltingfire is offline
 
Join Date: Sep 2002
Location: Sweden
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Greatly appreciated - as I've said elsewhere, I don't use vbAdvaced, so have had to work a bit in the dark - will try to pull these things together soon.

Your easrlier equstion about $linkstatus = 1 or >1 - the variable is positive if the link is good, and >1 if it should be treated as a file size - maybe I should have used two variables but I was a bit lazy at one point
Also, adding a phrase for "local_links.php" would be appreciated so you can translade it to for example "links.php", so i dont have to word-replace all urls in styles after a upgrade even if that only takes 2 seconds.

Maybe not the best solution but would work and phrases wouldnt be changed after an upgrade as styles do.
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 07:58 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.07986 seconds
  • Memory Usage 2,348KB
  • 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_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
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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