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

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

Category: Major Additions - Version: 3.6.x Rating:
Released: 06-18-2006 Last Update: 02-03-2008 Installs: 661
DB Changes Uses Plugins
Additional Files Translations  
No support by the author.

Version 2.3.0 of LDM is now the official release. This works with both VB3.7 and VB3.8. You can obtain it here

Version 2.2.8 remains available here, with limited support.

04.02.08: patch-cat.xml 'extra' uploaded - see first post for information

27.10.07: Version 2.2.8-post1 uploaded
French translation of product installer uploaded (other language translations are in the main release zip)

Remember to back up your current database tables before upgrading.

What this is and does

LDM is a general-purpose link and file manager, which handles user uploads and downloads in a flexible way. A range of media players is integrated into LDM and others are included as plugin extras. LDM is described below in the first post of this thread, which also contains a brief list of the currently-known bugs.

This release of LDM works correctly with all VB versions 3.6.x and recent versions of vbadvanced.

Documentation, screen shots, etc, are provided as a Wiki at http://www.eirma.org/wikis/index.php...nloads_Manager

Thank you to everyone who has tested, given suggestions, helped with the translations, etc.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
VIP Hawaii

Comments
  #1522  
Old 03-31-2007, 01:51 PM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
Have you set default_forumid on the LDM admin page?
Yes, I've got it set for the main category that holds the subboards, which on their turn should contain the autogenerated topics.

I'm trying to get the setting 'Parent Forum - Defines viewing permissions', set on the category edit page, to work as standard forum to generate automated topics for files upload to that category, rather than asking the user what forum to post it in (which is the default, and only visible to admins while I want it to work without question and for regular users as well).

Hopefully I've explained it clear enough, thanks for your time and fantastic work so far.
Reply With Quote
  #1523  
Old 03-31-2007, 02:47 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz View Post
Yes, I've got it set for the main category that holds the subboards, which on their turn should contain the autogenerated topics.

I'm trying to get the setting 'Parent Forum - Defines viewing permissions', set on the category edit page, to work as standard forum to generate automated topics for files upload to that category, rather than asking the user what forum to post it in (which is the default, and only visible to admins while I want it to work without question and for regular users as well).

Hopefully I've explained it clear enough, thanks for your time and fantastic work so far.
If you have a default_forumid set, then all new entries will, by default, be associated with that forumid. If things are working properly (!!), the autocreate will also post its thread into that forum.

The difference between admins and others (actually between users with and without *can_set_permissions* permission) is that the first group gets presented with a full forum list with the default_forumid selected whereas the rest are forced to accept it (it becomes a hidden field in the template instead of a select list). So your normal users' posts will automatically be associated with the forum you want. Admins will have to be careful not to change the forumid - and if you want, you can edit the links_addnewlink template to change that. Look for the sequence:
Code:
<if condition="$links_permissions['can_set_permissions']">
<tr>
	<td class="alt1">
	<strong>$vbphrase[ll_forumparent]</strong><br />
	<span class="smallfont">
	$curforumtitle<br />
	$vbphrase[ll_forumparent_text]
	</span>
	</td>
	<td class="alt1">
	<table><tr>
	<td valign="top">
	<select class="select" name="pforum" size="6" style="width:400px; height:100px;" id="linkforum">
	<optgroup label="$vbphrase[ll_forumparent]">
	<option value="$DEFAULT_FORUMID" <if condition="$curforumid==$DEFAULT_FORUMID">selected="selected"</if>>$vbphrase[ll_none]</option>
	$jumpforumbits
	</optgroup>
	</select>
	</td>
	<td valign="top" width="20">
	<table><tr>
	<td><a href="#" onclick="return ldm_size_style('100px', '400px', 'linkforum')"><img src="$stylevar[imgdir_editor]/resize_0.gif" border="0" alt="$vbphrase[decrease_size]" /></a></td>
	</tr><tr>
	<td><a href="#" onclick="return ldm_size_style('400px', '400px', 'linkforum')"><img src="$stylevar[imgdir_editor]/resize_1.gif" border="0" alt="$vbphrase[increase_size]" /></a></td>
	</tr>
	</table>
	</td>
	</tr></table>
	</td>
</tr>
<else />
<tr style="display:none;">
	<td class="alt1" colspan="2">
	<input type="hidden" name="pforum" value="$curforumid" />
	</td>
</tr>
</if>

The problem you described is to get the threads created in a forum where these users doin't have permission?
Reply With Quote
  #1524  
Old 03-31-2007, 03:15 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Joep11 View Post
Hi all,

Just got an new laptop with Vista. However, LDM video's are not streaming anymore. In XP they do though. I also have a problem with internetradio. Does anyone know the solution?
I just read a magazine article that describes something similar - users with IE7 unable to view embedded video files in the browser.

Solution is apparently IE7/Tools/Internet Options/Security/Custom Level/enable Display video and animation on a web page that doesn't use an external player.

Haven't found this to be a problem myself, but for what it's worth...
Reply With Quote
  #1525  
Old 03-31-2007, 06:58 PM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
If you have a default_forumid set, then all new entries will, by default, be associated with that forumid. If things are working properly (!!), the autocreate will also post its thread into that forum.

[..]cut[..]


The problem you described is to get the threads created in a forum where these users don't have permission?
You're indeed right, it should work like that. I've looked into the generated sourcecode for both administrators and regular users; the correct forum is in the hidden form (and selected for the admins), [S]but yet no thread is generated for any usergroup but the admins - something that is odd, considering the fact I've given both exactly the same permissions on that particular forum, I'm completely clueless.[/S]

I've found the bug; threads are only generated when the selected usergroup is able to bypass the moderation queue (can_moderate_links); when this is selected no problems occur. Sadly this option isn't much of a solution, hopefully you can come up with a solution, I'd be grateful.
Reply With Quote
  #1526  
Old 04-01-2007, 06:26 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz View Post
You're indeed right, it should work like that. I've looked into the generated sourcecode for both administrators and regular users; the correct forum is in the hidden form (and selected for the admins), [S]but yet no thread is generated for any usergroup but the admins - something that is odd, considering the fact I've given both exactly the same permissions on that particular forum, I'm completely clueless.[/S]

I've found the bug; threads are only generated when the selected usergroup is able to bypass the moderation queue (can_moderate_links); when this is selected no problems occur. Sadly this option isn't much of a solution, hopefully you can come up with a solution, I'd be grateful.
OK, now I understand. When moderation is on, the thread create is (I hope!) delayed until the moderator accepts it. This was deliberate.

The solution, I think, is for you to duplicate the plugin that is tied to the ldm_addlink_inserted hook and tie it to the ldm_addlink_inserted_tomoderate hook.
Reply With Quote
  #1527  
Old 04-01-2007, 06:41 AM
itsblack itsblack is offline
 
Join Date: Dec 2005
Location: Augsburg
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Andrew, again, I have a suggestion about create thread.
As you know, when a new entry is submitted, it will check the url, when the url is invalid, then I must edit it or bypass it. The problem is, in this situation, a new thread will not be auto created. So, can you add a little function that can force the entry create a new thread when I edit it?
Thank you in advance.
Reply With Quote
  #1528  
Old 04-01-2007, 09:40 AM
Yorixz Yorixz is offline
 
Join Date: Jun 2005
Location: Netherlands
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AndrewD View Post
OK, now I understand. When moderation is on, the thread create is (I hope!) delayed until the moderator accepts it. This was deliberate.

The solution, I think, is for you to duplicate the plugin that is tied to the ldm_addlink_inserted hook and tie it to the ldm_addlink_inserted_tomoderate hook.
Sir, you're a genious Doing so indeed fixed it on the first sight, you're my hero.

Little addition; combined with the two lines of '$vbulletin->bf_ugp_forumpermissions['canpostnew']' removed from the code (handling that with LDM) it's working perfectly as I want it to, thanks once again.

Addition two; one drawback has been spotted though; the creation of the thread isn't delayed until the link/file has been approved but is generated instantly. And the last addition; when a user hits 'Add entry' in a certain category but decides to pick another one before submitting, the topic is still generated in the category first chosen, again a minor issue that I've fixed by removing the forum selector but perhaps it could be fixed in a new version later on - if you plan on having one.

The final edit, a little bug report; when you choose to moderate entries in the queue, select them and choose to delete an error occurs (or at least for me); 'Fatal error: Call to undefined function delete_ldm_entry() in /home/user/html/local_links_actions.php on line 584'.
Reply With Quote
  #1529  
Old 04-01-2007, 12:08 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz View Post
Sir, you're a genious Doing so indeed fixed it on the first sight, you're my hero.

Little addition; combined with the two lines of '$vbulletin->bf_ugp_forumpermissions['canpostnew']' removed from the code (handling that with LDM) it's working perfectly as I want it to, thanks once again.

Addition two; one drawback has been spotted though; the creation of the thread isn't delayed until the link/file has been approved but is generated instantly. And the last addition; when a user hits 'Add entry' in a certain category but decides to pick another one before submitting, the topic is still generated in the category first chosen, again a minor issue that I've fixed by removing the forum selector but perhaps it could be fixed in a new version later on - if you plan on having one.

The final edit, a little bug report; when you choose to moderate entries in the queue, select them and choose to delete an error occurs (or at least for me); 'Fatal error: Call to undefined function delete_ldm_entry() in /home/user/html/local_links_actions.php on line 584'.
I'll note the suggestions for improvement - the logic may need rethinking in order to address these points.

As far as the bug is concerned, the call to delete_ldm_entry() should be a call to delete_link(). I'm gradually renaming all the functions to avoid clashes with other hacks - delete_ldm_entry will be the new name in due course and it somehow got included in one place in this release.
Reply With Quote
  #1530  
Old 04-01-2007, 12:10 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by itsblack View Post
Hi Andrew, again, I have a suggestion about create thread.
As you know, when a new entry is submitted, it will check the url, when the url is invalid, then I must edit it or bypass it. The problem is, in this situation, a new thread will not be auto created. So, can you add a little function that can force the entry create a new thread when I edit it?
Thank you in advance.
Thanks, I'll deal with this in the next release (see also the post immediately after yours).
Reply With Quote
  #1531  
Old 04-01-2007, 07:59 PM
Streicher Streicher is offline
 
Join Date: Oct 2001
Location: Reinbek, Germany
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have upgraded to the new version 2.2.7 with the fixes. I use the german version, but when i want to save the setting, i only get a blank page.
Reply With Quote
 


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 01:11 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.06213 seconds
  • Memory Usage 2,334KB
  • 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
  • (1)bbcode_code
  • (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
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete