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

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

Category: Major Additions - Version: 3.7.0 Rating:
Released: 12-24-2007 Last Update: 06-13-2009 Installs: 576
DB Changes Uses Plugins
Re-useable Code Additional Files Translations  
No support by the author.

What this is and does

LDM is a general-purpose tool for managing libraries of links and files, and handling uploads and downloads in a flexible way, while tracking and control user access. It has a range of integrated media players and a large library of 'plugin' extras.

Installation and Usage Explained in the on-line Wiki, with a brief explanation in the file instructions.txt in the release zip. The recent revision history is given in the first post of this thread.

Please use carefully and always backup your database before upgrading. Post reports of problems and suggestions for enhancements in this thread.

14.06.09 Version 2.3.0 is now the the officially-supported version. Works with 3.7 and vb 3.8. Please post comments in this thread

22.06.08 Version 2.2.9-post1 - This is the previous supported version. Works fine with all versions of vb 3.6 and vb 3.7. All standard features except profile integration and forum prefix selection work fine with vb 3.8.

Show Your Support

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

Comments
  #1952  
Old 06-08-2009, 12:01 PM
sparklywater sparklywater is offline
 
Join Date: Jun 2008
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Same here. Even jukebox player links dated many years ago are not in Googles cache, while Google did indexed most of my site.
Thanks Alfa1 for confirming that it's a reproducable problem.
Reply With Quote
  #1953  
Old 06-08-2009, 12:02 PM
skol skol is offline
 
Join Date: Oct 2008
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well i've tried for months Andrew,to get the uploading part of the mod to work..and i thought it might be a path problem to where i created the upload folder..

No matter what i do as soon as i hit the submit upload i get a blank page with this http://forum/local_links_actions.php
Reply With Quote
  #1954  
Old 06-08-2009, 12:10 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When installing the plugin spider-url that addresses ldm_linkbit_create I get this error:
PHP Code:
Parse error:  syntax errorunexpected '[' in /public_html/forum/includes/local_links_include.php(3725) : eval()'d code on line 3 
Why does the forum home stats show that my entries are 6.17 GB, while my statistics in LDM's settings show 1.87 GB?
Reply With Quote
  #1955  
Old 06-08-2009, 01:20 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
When installing the plugin spider-url that addresses ldm_linkbit_create I get this error:
PHP Code:
Parse error:  syntax errorunexpected '[' in /public_html/forum/includes/local_links_include.php(3725) : eval()'d code on line 3 
again, a character has gone astray.

Edit the Links and Downloads Manager - Spider external urls plugin attached to the ldm_linkbit_create hook. It starts off with a line

Code:
if (links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {
There should be a dollar sign $ immediately before links_defaults, i.e.

Code:
if ($links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {
Quote:
Originally Posted by Alfa1 View Post
Why does the forum home stats show that my entries are 6.17 GB, while my statistics in LDM's settings show 1.87 GB?
These pages are not calculating the same thing. The LDM settings page shows the size of uploads. The forum home figure is the total size of all files which are considered to be downloads.
Reply With Quote
  #1956  
Old 06-08-2009, 01:24 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
How does the LDM Similarthreads plug-in calculate similar files on showthread? I really like this feature, but it shows completely irrelevant files.
It's doing a match of the thread title against the entry title and description, not on the content of the file.
Reply With Quote
  #1957  
Old 06-08-2009, 01:33 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sparklywater View Post
I have a category with lots of links to Jukebox audio files. The category page has been indexed by Google, but not a single Jukebox player link has been indexed even after several months. These links do have some text content so Google should be able to index them. I'm wondering if anything in the LDM setup is preventing these pages from being indexed?
Several thoughts:

1) When Google visits your site, it does so as an unregistered user. Unless you have enabled the Jukebox for unregistered users, the links will not be there for Google to see.

2) Each LDM page includes a meta tag of the form:
Code:
<meta name="robots" content="index, nofollow" />
This tells Google to index the content of the page but not to follow any urls on the page. This was done for a reason (although I can't quite recall what the reason was - I think we wanted to stop Google accessing the actual files). You can change this on the LDM settings page with the robots_meta_tag setting, try "index, follow".

3) Does Google actually index urls with long "?action=xxx..." params? Do you need a search engine optimiser? (I don't know)
Reply With Quote
  #1958  
Old 06-08-2009, 01:34 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skol View Post
Well i've tried for months Andrew,to get the uploading part of the mod to work..and i thought it might be a path problem to where i created the upload folder..

No matter what i do as soon as i hit the submit upload i get a blank page with this http://forum/local_links_actions.php
Sorry to hear this. Do you want me to take a look - I can't easily suggest a solution otherwise. Send me a PM with site details + a full admin account.
Reply With Quote
  #1959  
Old 06-08-2009, 01:59 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
How can I edit the text that is displayed on forum home stats? I want to add a link to the file archive.
You should edit the Links and Downloads Manager - Patch forumhome stats plugin that is attached to the forumhome_complete hook. Find the lines:

Code:
$template_hook['forumhome_wgo_stats'] .= "
	<div>
		$vbphrase[ldm_links_database] $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
	</div>
        ";
and change it to (e.g.)

Code:
$template_hook['forumhome_wgo_stats'] .= "
	<div>
		<a href='".LINKS_SCRIPT."'>$vbphrase[ldm_links_database]</a> $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
		</div>
        ";


Quote:
Originally Posted by Alfa1 View Post
I have 3 different main categories in my LDM: documents, video and audio. Is it possible to display the forum home stats for each of these main categories?
I deliberately avoided giving this plugin many features, because it requires loading all the LDM code base and can involve carrying out quite heavy database queries, which will increase the cost of viewing the forum home. So the answer to your question is "yes in principle" but I would be reluctant to make this an easy/reliable feature of the plugin.

Quote:
Originally Posted by Alfa1 View Post
Is it possible to use patch-forumhome-newlinks or another function to display latest new files on /search.php?do=getnew ?
Not currently. Again, I have tried to keep integration with other parts of vb limited, so as to keep down the cost of running (and maintaining ) LDM.
Reply With Quote
  #1960  
Old 06-08-2009, 03:16 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
again, a character has gone astray.

Edit the Links and Downloads Manager - Spider external urls plugin attached to the ldm_linkbit_create hook. It starts off with a line

Code:
if (links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {
There should be a dollar sign $ immediately before links_defaults, i.e.

Code:
if ($links_defaults['spider_urls_active'] and substr($linkurl,0,4)=="http") {
Thanks. That fixed it.

Quote:
Originally Posted by AndrewD View Post
It's doing a match of the thread title against the entry title and description, not on the content of the file.
Even though most of my thread titles are descriptive, they will always contain words that do not relate to the topic. For example: 'What is xxx?' 'How can you do xxx?' 'a question about xxx'
Would it be possible to have the addon take tags into account?

Quote:
Originally Posted by AndrewD View Post
When Google visits your site, it does so as an unregistered user. Unless you have enabled the Jukebox for unregistered users, the links will not be there for Google to see.
Where do I check this setting?

Quote:
Originally Posted by AndrewD View Post
Does Google actually index urls with long "?action=xxx..." params? Do you need a search engine optimiser? (I don't know)
I think this is indeed needed.

Quote:
Originally Posted by AndrewD View Post
You should edit the Links and Downloads Manager - Patch forumhome stats plugin that is attached to the forumhome_complete hook. Find the lines:

Code:
$template_hook['forumhome_wgo_stats'] .= "
    <div>
        $vbphrase[ldm_links_database] $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
    </div>
        ";
and change it to (e.g.)

Code:
$template_hook['forumhome_wgo_stats'] .= "
    <div>
        <a href='".LINKS_SCRIPT."'>$vbphrase[ldm_links_database]</a> $vbphrase[ldm_categories]: $totalcats, $vbphrase[ldm_entries]: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments
        </div>
        ";
<a href='".LINKS_SCRIPT."'> does not work for me as that points to /local_links instead of /local_links.php So I used the full url instead. I tweaked the code to use this:
Code:
$template_hook['forumhome_wgo_stats'] .= "
    <br><div>
        <a href='http://www.mysite.com/forum/local_links.php'>Files</a>: $totallinks$totalspace, $vbphrase[ldm_comments]: $totalcomments, $vbphrase[ldm_categories]: $totalcats 
        </div>
        ";
Quote:
Originally Posted by AndrewD View Post
I deliberately avoided giving this plugin many features, because it requires loading all the LDM code base and can involve carrying out quite heavy database queries, which will increase the cost of viewing the forum home. So the answer to your question is "yes in principle" but I would be reluctant to make this an easy/reliable feature of the plugin.
Thats understandable. I guess my LDM has grown so big, that I have come to a point where I need multiple instances of LDM, to handle each section.

My members keep getting confused whether they are in the video, the documents or the audio section and are uploading to the wrong parts. For this reason I would 3 different category selectors on the upload page. So that it will not be possible to choose a category in the video section, if one is in the document section. Do you see a possibility for me to accomplish this or something similar?

Quote:
Originally Posted by AndrewD View Post
Not currently. Again, I have tried to keep integration with other parts of vb limited, so as to keep down the cost of running (and maintaining ) LDM.
Showing the latest files is possible within a vba module and on forum home. I am not that technical, but can you please explain why the same already coded functionality would not work on search.php? Is there anything that I can do toget it working?
Reply With Quote
  #1961  
Old 06-08-2009, 03:27 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
Where do I check this setting?
LDM/admin/permissions/can_play_musicbox

Quote:
Originally Posted by Alfa1 View Post
My members keep getting confused whether they are in the video, the documents or the audio section and are uploading to the wrong parts. For this reason I would 3 different category selectors on the upload page. So that it will not be possible to choose a category in the video section, if one is in the document section. Do you see a possibility for me to accomplish this or something similar?

Showing the latest files is possible within a vba module and on forum home. I am not that technical, but can you please explain why the same already coded functionality would not work on search.php? Is there anything that I can do toget it working?
I'll give these points some thought
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:54 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.07663 seconds
  • Memory Usage 2,354KB
  • 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
  • (2)bbcode_php
  • (18)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
  • (3)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