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
  #1272  
Old 03-01-2006, 04:09 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Karri
I have a small bug report. In the forumhome plugin you have this line

PHP Code:
<img class="inlineimg" src="images/buttons/lastpost.gif" alt="'.$vbphrase['go_to_page'].'" border="0" /> 
which is fine if that is where your lastpost.gif image is. I have different sub folders for all of my different styles but I am stuck with the same booring blue image for all of them. I have tried different variations on
PHP Code:
$stylevar[imgdir_button]/lastpost.gif 
but can't quite get it to work. What would be the correct code if any to have the button match the rest of the images for that particular style?

Thanks for the great hack!!!
Thanks for the report. If you want a quick fix, there are two small changes in the Links and Downloads Manager - Patch forumhome plugin. First, you have to declare stylevar as global in function ldm_lastlinkinfo, i.e. find the line
PHP Code:
global $vbulletin$vbphrase
and change to
PHP Code:
global $vbulletin$vbphrase$stylevar
Second, change
PHP Code:
src="images/buttons/lastpost.gif" 
to
PHP Code:
src="'.$stylevar[imgdir_button].'/lastpost.gif" 
- don't foget the single quotes.
Reply With Quote
  #1273  
Old 03-01-2006, 04:13 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marris
Thanks, I'm sure others will also find it useful.


I have another question. How can adapt the included vBAdvanced CMPS modules to display on a non-vBAdvanced page?

For example, with ldm_hot.php , I tried changing the following:

PHP Code:
eval('$home[$mods[\'modid\']][\'content\'] .= "' fetch_template('adv_portal_custom_ldm_hot') . '";'); 
to:

PHP Code:
eval('$output .="' fetch_template('adv_portal_custom_ldm_hot') . '";'); 
Then I tried adding print $output; or calling $output within adv_portal_custom_ldm_hot. I also changed the require_once paths to the absolute server paths, but I am getting the following error (with vB 3.5.4):

---
Unexpected critical failure
Critical Error: Links and Downloads Manager v.2.1.3 requires VBulletin version 3.5
---

Specifically, I'm am trying to pull LDM information into a module inside a Geek Article and Review System (GARS) LITE page.

My goal is to include blocks with 5 or 10 links from each LDM category matching a specific keyword, into an Article page in the GARS system. So for example, the Article content would be a Review of XYZ, then the LDM block would show 5 offsite links from the LDM category Reviews matching the keyword XYZ.

I'm not looking for a complete solution, but I hope you can point me in the right direction to be able to display LDM information on a non-LDM, non-vBAdvanced page.

Thank you.

The LDM code requires that the VBulletin 3.5 infrastructure is available and checks a particular vbulletin variable (vbulletin->options['templateversion']) to see if this exists. Unless the environment in which you try to place LDM has this infrastructure, it can't run. You'd have to see what GARS loads before running its modules.
Reply With Quote
  #1274  
Old 03-01-2006, 04:14 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marris
If you haven't already, please look at my previous post and let me know if you can offer any advice.


Another feature suggestion:

Beside the Sort By selection menu, it would also be nice to have a Keyword Filter menu.

I'm working on a manually created menu, that looks something like this:

PHP Code:
<span class="smallfont">
        <
FORM action="local_links_search.php" method="get">
        <
input name="action" value="show" type="hidden"><input name="literal" value="1" type="hidden"><input name="desc" value="1" type="hidden"><input name="keys" value="1" type="hidden">
<
select class="select" name="search" onchange="this.form.submit();" size="1" style="width: 200px;">
        <
optgroup label="Filter">                
                <
option value="" selected="selected">none</option>
<
option value="keyword1">keyword1</option>
<
option value="keyword2">keyword2</option>
<
option value="keyword3">keyword3</option>
</
optgroup>
            </
select>
            </
form>
</
span

That's a nice idea, which I will add to the list.
Reply With Quote
  #1275  
Old 03-01-2006, 02:18 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Thanks for the report. If you want a quick fix, there are two small changes in the Links and Downloads Manager - Patch forumhome plugin.
Awesome!!! Works great. Thanks for the quick fix just in time to upgrade to the latest beta.
Reply With Quote
  #1276  
Old 03-01-2006, 05:19 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia
When you scroll down and view the Parent Categories, it does not show that one is picked, nor does it show the private parent category nor the sub-categories. If you try to upload something, then it tells you that no category was picked and denies the upload. Have I done something wrong in setting this up do you suppose? I can send you a test account username/password as well if you would like to view.
Ophelia, I have a fix for this - small bug in one file. Please upload the attached file into your <forum/includes> directory and try again.
Reply With Quote
  #1277  
Old 03-01-2006, 06:07 PM
forumthemes forumthemes is offline
 
Join Date: Jan 2002
Location: CANADA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much Runs off and installs
Reply With Quote
  #1278  
Old 03-01-2006, 06:23 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
Ophelia, I have a fix for this - small bug in one file. Please upload the attached file into your <forum/includes> directory and try again.
Andrew, I know of 10 ladies who would gladly marry you right now

Thank you for getting this to work. We are able t upload perfectly now.
Reply With Quote
  #1279  
Old 03-01-2006, 06:28 PM
forumthemes forumthemes is offline
 
Join Date: Jan 2002
Location: CANADA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia
Andrew, I know of 10 ladies who would gladly marry you right now

Thank you for getting this to work. We are able t upload perfectly now.
LMAO
Reply With Quote
  #1280  
Old 03-01-2006, 06:29 PM
Marris Marris is offline
 
Join Date: Jul 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD
The LDM code requires that the VBulletin 3.5 infrastructure is available and checks a particular vbulletin variable (vbulletin->options['templateversion']) to see if this exists. Unless the environment in which you try to place LDM has this infrastructure, it can't run. You'd have to see what GARS loads before running its modules.
Quote:
Originally Posted by AndrewD
That's a nice idea, which I will add to the list.
Thanks for your replies.

I'm taking another look at getting GARS and your vBAdvanced modules to work together with your advice in mind.
Reply With Quote
  #1281  
Old 03-01-2006, 07:38 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got another one for you. We were having troubles with the titles of the link forums that show up on the forumhome page. After going over it with my techie mod to see if it was another hack causing the trouble he says

Quote:
line 2663 of local_links_include.php sets the title of the new forum. they should have added another line to set the title_clean. it would also be needed in other places in his code. one right above it where the title can be changed. the title_clean must also be changed
Thanks!!!
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 12:51 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.06200 seconds
  • Memory Usage 2,355KB
  • 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
  • (9)bbcode_php
  • (10)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
  • (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