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

Reply
 
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
  #2902  
Old 02-24-2008, 04:10 AM
RikiB RikiB is offline
 
Join Date: Dec 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am currently trying to use the JW flv player. Here are a few problems I am having, maybe someone can give me some tips:

1. Why are the settings not changeable through the admin control? I have to edit the .xml plugin to change the size and other settings?
2. The player seems to play mp3 files fine outside the webroot but is having troubles with flv files? ( i installed the mime plugin but it didnt help, I also edited to plugin to "stream")
3. Is there a way to point to a playlist xml instead of a single flv file?
4. Can I customize the jukebox page to only play the player and no jukebox icons or anything?

Thanks!
Reply With Quote
  #2903  
Old 02-24-2008, 04:27 AM
RikiB RikiB is offline
 
Join Date: Dec 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also:

5. When I enter the video player it resizes the browser window, can this be disabled.
6. Ive read the earlier posts about having the player play inside the links view instead of opening in another window, having this open in lightbox, or greybox, or even right there would be a great addition.

Thanks again.
Reply With Quote
  #2904  
Old 02-24-2008, 04:41 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RikiB View Post
I am currently trying to use the JW flv player. Here are a few problems I am having, maybe someone can give me some tips:

1. Why are the settings not changeable through the admin control? I have to edit the .xml plugin to change the size and other settings?
2. The player seems to play mp3 files fine outside the webroot but is having troubles with flv files? ( i installed the mime plugin but it didnt help, I also edited to plugin to "stream")
3. Is there a way to point to a playlist xml instead of a single flv file?
4. Can I customize the jukebox page to only play the player and no jukebox icons or anything?

Thanks!
Point 1 - fixed in 2.2.9.

Point 2 - fixed in 2.2.9 (I hope) - I think I'd made a mistake with urlencoding

Point 3 - not currently - I think this may get done for the final release of 2.2.9

Point 4 - edit the links_playbit template
Reply With Quote
  #2905  
Old 02-24-2008, 04:45 AM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RikiB View Post
also:

5. When I enter the video player it resizes the browser window, can this be disabled.
6. Ive read the earlier posts about having the player play inside the links view instead of opening in another window, having this open in lightbox, or greybox, or even right there would be a great addition.

Thanks again.
5 - edit the links_play_standalone template and kill the Javascript self.resizeTo

6 - I agree. there is an addon in the 2.2.9 extras directory (inline-JW-player) which puts the player in the linkbit. It would be much cooler to put videos in the lightbox, and I'll see if I can work out how.
Reply With Quote
  #2906  
Old 02-24-2008, 04:51 AM
RikiB RikiB is offline
 
Join Date: Dec 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much!, let me know if you need a 2.29 beta tester .
Reply With Quote
  #2907  
Old 02-24-2008, 10:06 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We ran into an issue tonight. I have checked the permissions, and this gal should be able to upload, however, we get the following error

Quote:
Username Rachel's Stuff not recognised
Her username is Rachel's Stuff (just like that).

She's in the correct usergroup, she has permissions, but it's deny her the right to upload. Any ideas (I am thinking it's because of her username).
Reply With Quote
  #2908  
Old 02-24-2008, 11:18 PM
Ophelia Ophelia is offline
 
Join Date: Feb 2006
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One more thing.

We now require them to comment before they can download, the problem with this is that once the first person makes a comment the (Rate/Comment) link changes to [1 comments/ratings]. There is no obvious visual indicator on how to comment. A button that would bring up the comment box, without forcing them to view the other comments would be wonderful, or even just a button that does.. just a button all together
Reply With Quote
  #2909  
Old 02-25-2008, 12:42 PM
Christian96 Christian96 is offline
 
Join Date: Feb 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi AndrewD !

Congratulations for your LDM, works great !

I have two questions:
- How can i add the LDM seach to the navigation bar of the vBulletin main page ?
- I also want that new posts in the LDM are shown up in the New Posts of the vBulletin main page ?

Many thanks,
Christian
Reply With Quote
  #2910  
Old 02-25-2008, 04:51 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
We ran into an issue tonight. I have checked the permissions, and this gal should be able to upload, however, we get the following error



Her username is Rachel's Stuff (just like that).

She's in the correct usergroup, she has permissions, but it's deny her the right to upload. Any ideas (I am thinking it's because of her username).
Yes, this is a username problem.

I can't recall which version of LDM you are running - if it is 2.2.8, you can fix the problem (I hope) as follows:

edit includes/local_links_include.php
find function lookup_userids (around line 1843)

replace the following sequence of lines:

Code:
	$ids = array();
	foreach ($usernames as $k=>$v) {
		$usernames[$k] = trim($vbulletin->db->escape_string(htmlspecialchars_uni($v)));
		$ids[$k] = 0;
	}
	$userlist = implode("' ,'", $usernames);
	if (!trim($userlist)) return $ids;

	$query = "
		SELECT userid, username
		FROM " . TABLE_PREFIX . "user AS user
		WHERE username IN ('" . $userlist . "')
		";
	$asb = $vbulletin->db->query_read($query);

	while ($rec=$vbulletin->db->fetch_array($asb)) {
		foreach ($usernames as $k=>$v) {
			if ($v==$rec['username']) {
				$ids[$k] = $rec['userid'];
				continue;
			}
		}
	}
	$vbulletin->db->free_result($asb);

	return $ids;
by

Code:
	$ids = array();
	$safe_usernames = array();
	foreach ($usernames as $k=>$v) {
		$safe_usernames[$k] = trim($vbulletin->db->escape_string(htmlspecialchars_uni($v)));
		$ids[$k] = 0;
	}
	$safe_userlist = implode("' ,'", $safe_usernames);
	if (!trim($safe_userlist)) return $ids;

	$query = "
		SELECT userid, username
		FROM " . TABLE_PREFIX . "user AS user
		WHERE username IN ('" . $safe_userlist . "')
		";
	$asb = $vbulletin->db->query_read($query);

	while ($rec=$vbulletin->db->fetch_array($asb)) {
		foreach ($usernames as $k=>$v) {
			if ($v==$rec['username']) {
				$ids[$k] = $rec['userid'];
				continue;
			}
		}
	}
	$vbulletin->db->free_result($asb);

	return $ids;
Basically, replace most of the references to usernames with safe_usernames.

This will be fixed in the next version of 2.2.9.
Reply With Quote
  #2911  
Old 02-25-2008, 04:54 PM
AndrewD AndrewD is offline
 
Join Date: Jul 2002
Location: Scotland
Posts: 3,486
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ophelia View Post
One more thing.

We now require them to comment before they can download, the problem with this is that once the first person makes a comment the (Rate/Comment) link changes to [1 comments/ratings]. There is no obvious visual indicator on how to comment. A button that would bring up the comment box, without forcing them to view the other comments would be wonderful, or even just a button that does.. just a button all together
Noted.
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 01:01 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.10446 seconds
  • Memory Usage 2,328KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_code
  • (5)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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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