Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 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.8.2 Rating:
Released: 06-13-2009 Last Update: 02-13-2010 Installs: 158
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.

Please use carefully and always backup your database before upgrading. Post reports of problems and suggestions for enhancements in this thread. You can also find extensive discussion of this mod in the VB3.7 mods section.

14.06.09 Version 2.3.0 is the the officially-supported version. Works with 3.7 and vb 3.8.

14.02.10 Post-1 version uploaded with minor bug fixes, including dealing with PHP 5.2.12


Staff Note: Sadly, Andrew D, the developer of the Links and Downloads Manager has passed away after a long period of illness.

Download Now

File Type: zip links-2.3.0-post1-phpfix.zip (1.40 MB, 684 views)
File Type: zip links-2.3.0-post1-translations.zip (685.4 KB, 291 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
arabwit, Reloac

Comments
  #242  
Old 02-14-2010, 08:15 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've uploaded an update to this version, which corrects the reported error with PHP 5.2.12 and a few other minor bug fixes. No major changes made, and none planned - development has switched to the vb4.0 code.
Reply With Quote
  #243  
Old 02-14-2010, 02:55 PM
Zookie's Avatar
Zookie Zookie is offline
 
Join Date: Jul 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for responding so fast!
Quote:
Originally Posted by AndrewD View Post
These are both done via the ldm admin/settings page.

1) You either have (or have had) installed the "add-page-information" 'extra' which gives you a group on controls and a the text box (pageinfo_message) to set this message.
I'm pretty sure I haven't added any special add-ons to LDM nor to vB besides LDM. When I go to the LDM admin console I can't find any reference to "pageinfo_message". If I do have it installed then where would I find the value to edit it?

Quote:
2) This is done with the "use_instructions" box on the settings page.
The "use_instructions" box is empty.

Quote:
The first of these messages can be modified on a per-category basis (using the edit category/control settings page) but the second can only be set globally.
None of the existing custom text I'm wanting to change appears anywhere in any box in the LDM admin console. I'm not sure I've accurately described the text areas I want to change. Don't know why I didn't think to give links before.

The first area I want to edit can be viewed at http://www.spellquizzer.com/communit...ks.php?catid=1. The text area I want to edit is the light blue inside box that has the following text"
SpellQuizzer spelling lists that have been exported to an .sqexp file and can be imported into SpellQuizzer. Only one spelling list per export file please.
- Click the "Upload a Spelling File" menu link in the blue menu bar above to upload an exported spelling list of your own.
- Click the "How to Import Spelling Lists" link in the Pencil menu above for help on how to import a list into SpellQuizzer.
The second text area I want to change is at http://www.spellquizzer.com/communit...ddlink&catid=1. Unfortunately, you need to be signed in to my forum to view that page. But the text I want to change is the heading of the form for uploading files. The current text reads "User Uploaded Spelling Lists" which isn't really right since this is a form for uploading lists, not browsing existing lists. I'm thinking this may be a category title I somehow set previously and that it has to be the same for both the page where existing entries are listed as well as the upload form. It would be nice if I could have different headings for those two pages since they are functionally different (one for browsing/downloading while the other is for uploading). Feel free to register with the forum to be able to view the page (though I'll of course understand if you don't want to) I'm referring to here.
Reply With Quote
  #244  
Old 02-15-2010, 04:29 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I jumped to conclusions too quickly.

Quote:
Originally Posted by Zookie View Post
The first area I want to edit can be viewed at http://www.spellquizzer.com/communit...ks.php?catid=1. The text area I want to edit is the light blue inside box that has the following text"
SpellQuizzer spelling lists that have been exported to an .sqexp file and can be imported into SpellQuizzer. Only one spelling list per export file please.
- Click the "Upload a Spelling File" menu link in the blue menu bar above to upload an exported spelling list of your own.
- Click the "How to Import Spelling Lists" link in the Pencil menu above for help on how to import a list into SpellQuizzer.
This is the "extended description" for the category, which is changed by going into "Edit Category".

Quote:
Originally Posted by Zookie View Post
The second text area I want to change is at http://www.spellquizzer.com/communit...ddlink&catid=1. Unfortunately, you need to be signed in to my forum to view that page. But the text I want to change is the heading of the form for uploading files. The current text reads "User Uploaded Spelling Lists" which isn't really right since this is a form for uploading lists, not browsing existing lists. I'm thinking this may be a category title I somehow set previously and that it has to be the same for both the page where existing entries are listed as well as the upload form. It would be nice if I could have different headings for those two pages since they are functionally different (one for browsing/downloading while the other is for uploading). Feel free to register with the forum to be able to view the page (though I'll of course understand if you don't want to) I'm referring to here.
As you say, this header is simply the category name. You could change it (if you really want to - beware that you will then need to remember you made the change if you upgrade) by editing the links_addnewlink template. Find the sequence that reads:
Code:
<tr align="center">
	<td class="tcat" align="center" colspan="2">
	$viewcatname
	</td>
</tr>
and replace $viewcatname by whatever text you want.

I think that a better (cleaner) solution will be to leave this title alone and set the "use_instructions" for the category by going to Edit Category/Control Settings. The text you enter there will appear immediately under the title.
Reply With Quote
  #245  
Old 02-15-2010, 02:58 PM
Zookie's Avatar
Zookie Zookie is offline
 
Join Date: Jul 2009
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Andrew! I'm all set now!
Reply With Quote
  #246  
Old 02-17-2010, 12:18 AM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
This turns out to be a warning generated in php version 5.2.12 but not in earlier versions, which explains why it is only just being reported.

You can fix the problem (I think) by editing one of the code files, includes/local_links_include.php. If you are not comfortable making edits, get back to me.

a) Make a backup copy of that file, in case something goes wrong
b) Find function ldm_catcmp, which is between lines 1543 and 1571 in your version of LDM
c) Replace all these lines by the contents of the attached.

Let me know if that fixes things.
That helped, i was having that issue after moving another site
Reply With Quote
  #247  
Old 03-06-2010, 07:33 PM
j1mmy j1mmy is offline
 
Join Date: Feb 2006
Location: UK, England
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very interesting, I might change from my current file manager to this.

However, as I have about 700 or so files to transfer, does this offer some sort of import feature which I can use to avoid having to enter in each file 700 times? If not, what other alternatives is there within this mod that will help me achieve this?

Also, is it possible to have one directory for each category on the server?
Reply With Quote
  #248  
Old 03-07-2010, 11:33 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by j1mmy View Post
Very interesting, I might change from my current file manager to this.

However, as I have about 700 or so files to transfer, does this offer some sort of import feature which I can use to avoid having to enter in each file 700 times? If not, what other alternatives is there within this mod that will help me achieve this?

Also, is it possible to have one directory for each category on the server?
There are several options that you may find useful:

a) You can set up LDM to carry out automatic synchronisations of directories and categories. This will bring in all your existing entries and maintain the directory/category alignment. It will not automatically name/describe all your entries, but see c).

b) You can create and import an xml file describing the database you want to set up, including entry names, descriptions, urls, etc.

c) You can also update the names/descriptions of a synchronised database via an xml file.

There is some explanation of these steps in the online wiki.
Reply With Quote
  #249  
Old 03-23-2010, 12:44 AM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In my forum, I have subforums that are really links to a LDM category. These subforums list the latest entry. The width of this listing is very narrow, which makes titles to be spread over several lines. This looks very ugly.
Is there a way to control this and make it wider? Or alternatively turn it off?

A small bug/inconsistency: the number of files in a category are listed, but not the number of comments. It seems that the number of files belongs in the 'threads' column, while the number of comments belongs in the 'posts' column. Currently the number of files is listed in the 'posts' column.
Reply With Quote
  #250  
Old 03-30-2010, 07:01 AM
CThiessen CThiessen is offline
 
Join Date: May 2007
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
I do have problems to get webthumbs runnig.

Easywebthumbs is working.
Normal Upload is working
Thumbnails for Uploaded Photos is working.
Directory is set to 777

But whatever i edit with the webthumbs plug in enabled give me a error:
Code:
Parse error: syntax error, unexpected ')' in /x/x/x/x/home/forum/includes/local_links_include.php(1932) : eval()'d code on line 642
Or have anyone an Idea how to use http://fadeout.de/ for that.
They have very nice screen shots and it for free.

Thanks
Christian
Reply With Quote
  #251  
Old 03-30-2010, 07:38 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CThiessen View Post
Hi,
I do have problems to get webthumbs runnig.

Easywebthumbs is working.
Normal Upload is working
Thumbnails for Uploaded Photos is working.
Directory is set to 777

But whatever i edit with the webthumbs plug in enabled give me a error:
Code:
Parse error: syntax error, unexpected ')' in /x/x/x/x/home/forum/includes/local_links_include.php(1932) : eval()'d code on line 642
Or have anyone an Idea how to use http://fadeout.de/ for that.
They have very nice screen shots and it for free.

Thanks
Christian
Christian, there's a coding bug in the plugin, which had been there for some time but no-one had noticed.

You can fix it easily as follows:

- go to vb/admincp/products and plugins/manage plugins
- edit the plugin called "Links and Downloads Manager - Use BlugaNet WebThumb to autoimage a site" which is atached to hook ldm_link_autoimage
- go almost to the end of the code (it's quite long) and find the sequence:

Code:
		$path = ldm_make_filename($links_defaults['upload_dir'], $my_webdir);
		$fullpath = ldm_get_local_filename($path);
		require_once(DIR . '/includes/functions_file.php');
		ldm_create_directory($fullpath, $links_defaults['secure_nullindexfile'])) {
and change the last of these lines to

Code:
		ldm_create_directory($fullpath, $links_defaults['secure_nullindexfile']);
- Save

That should do it.
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 11:52 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.05067 seconds
  • Memory Usage 2,362KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)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
  • (2)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete