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

Quote:
Originally Posted by |oR|Greg
Andrew, I changed line 813 to read:

Code:
global $vbulletin, $vbphrase, $forumperms;
Is that correct? I had someone make an item that wasn't an admin, the thread was auto-created as it should have been, but was moderated.
That's correct.

The way this behaves (is written to behave) is as follows:

- When the new thread is autocreated, it is placed in the forum associated with the entry
- If the main VB board requires moderation of new threads in this forum, then the thread is placed in the moderation queue. Otherwise it is displayed immediately

Moderation of the new entry itself is a separate process, and depends on the settings within LDM.

Is this reasonable, do you think?
Reply With Quote
  #1763  
Old 05-03-2006, 01:35 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm just confused as to why it happened at all, nothing on my board is moderated anywhere, and poof, this occured today. I added that code, went in as a user with the same rights as the guy that prompted the moderation "error" and posted a link in the same place he did. With the code in place everything is ok again, however people have been posting links prior to this in the same fasion with the auto-thread creation turned on, and it never happened before this morning. That's the strange part. Hopefully that Global var is all that is needed to fix it. Otherwise, things are as smooth as can be.

I think the way you have moderation setup is as good as it can be.
Reply With Quote
  #1764  
Old 05-03-2006, 03:04 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |oR|Greg
I'm just confused as to why it happened at all, nothing on my board is moderated anywhere, and poof, this occured today. I added that code, went in as a user with the same rights as the guy that prompted the moderation "error" and posted a link in the same place he did. With the code in place everything is ok again, however people have been posting links prior to this in the same fasion with the auto-thread creation turned on, and it never happened before this morning. That's the strange part. Hopefully that Global var is all that is needed to fix it. Otherwise, things are as smooth as can be.

I think the way you have moderation setup is as good as it can be.
Yes, without the 'global' statement, the behaviour was unpredictable but presumably depended on how many other hacks, etc, were loaded on the board, day of the week, etc.
Reply With Quote
  #1765  
Old 05-04-2006, 03:51 AM
aramik aramik is offline
 
Join Date: Apr 2006
Location: Sydney.Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AndrewD - yeah, I just fixied it, wasn't anything on LDM's end.

Hey LDM is awesome just one thing, usually LDM logs my users out.. not a big deal, but they have to re-login, is this something to do with the script or is that my end?
Reply With Quote
  #1766  
Old 05-04-2006, 03:55 AM
Akagi Akagi is offline
 
Join Date: Jan 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got a question for fellow LDM users and AndrewD, now that LDM is working fine, anyone of you have tried adding adsense to LDM? Just thought of this and would like to seek your opinions regarding the placement of adsense. I feel that perhaps links_main as well as links_linksbit would be good places to put adsense? who have tried? perhaps you wanna share what you have done?
Reply With Quote
  #1767  
Old 05-04-2006, 04:07 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aramik
AndrewD - yeah, I just fixied it, wasn't anything on LDM's end.

Hey LDM is awesome just one thing, usually LDM logs my users out.. not a big deal, but they have to re-login, is this something to do with the script or is that my end?
I don't know of anything in LDM that could cause this,but I may be missing something. Is anyone else having this problem?
Reply With Quote
  #1768  
Old 05-04-2006, 12:42 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Akagi
got a question for fellow LDM users and AndrewD, now that LDM is working fine, anyone of you have tried adding adsense to LDM? Just thought of this and would like to seek your opinions regarding the placement of adsense. I feel that perhaps links_main as well as links_linksbit would be good places to put adsense? who have tried? perhaps you wanna share what you have done?
I'll be adding it soon, and my plan was to have it under the navbar, that way it's on all pages.

Quote:
Originally Posted by AndrewD
I don't know of anything in LDM that could cause this,but I may be missing something. Is anyone else having this problem?
Nope.
:banana:
Reply With Quote
  #1769  
Old 05-04-2006, 06:53 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh Mr. Andrew, I was searching for 2 things and couldn't find them, don't know if they exist or if they're possible, so here we go!

1. Is there a variable to check if the description field is filled out? The purpose of this would be, that if it isn't, have in IF statement in the template(s) that checks and if no description, then to use the title instead.
2. Is there a way to include, IF available, the thumbnail picture of a link in the auto-created thread? Not as an attachment, but with the IMG tags.
Reply With Quote
  #1770  
Old 05-05-2006, 12:02 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by |oR|Greg
Oh Mr. Andrew, I was searching for 2 things and couldn't find them, don't know if they exist or if they're possible, so here we go!

1. Is there a variable to check if the description field is filled out? The purpose of this would be, that if it isn't, have in IF statement in the template(s) that checks and if no description, then to use the title instead.
Ideally this would be a test on $linkdesc, but it's made slightly more complicated because a blank description is actually passed to the template as a non-breaking space to avoid producing a null table cell (which is invalid html). The most reliable approach would be to edit local_links_include.php, find function get_linklistbit, then find the line:

Code:
if (!trim($linkdesc)) $linkdesc = " ";
Either add yourself a new variable which you test against, or change the assignment so that $linkdesc is assigned a normal space character and then you can test against that in the template.



Quote:
Originally Posted by |oR|Greg
2. Is there a way to include, IF available, the thumbnail picture of a link in the auto-created thread? Not as an attachment, but with the IMG tags.
For this, I think you should edit the autothread plugin. After line:

Code:
construct_phrase($vbphrase['ldm_thread_create_body'], $linkname, $linkdesc, $gotolink, $master_title);
add the line

Code:
if ($imgthumb) $thread_message = '[img]'.$vbulletin->options['homeurl'].$imgthumb.'[/img] '.$thread_message;
Reply With Quote
  #1771  
Old 05-05-2006, 03:31 PM
|oR|Greg |oR|Greg is offline
 
Join Date: May 2003
Location: AMACNY.COM
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I went for the plugin first. I added it and it works great!

If I do the link_desc I'll let you know.
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 09:43 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.05328 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
  • (4)bbcode_code
  • (7)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
  • (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