Version: 2.2.8, by AndrewD
Developer Last Online: Apr 2010
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.
I don't know how long this has been going on, but it seems the 2.2.6 series of upgrades have created a problem with Firefox. For one thing, "Save Link As" does not work, and it instead tries to download an html page instead of the download. Secondly, and more significantly, if I left click on the link, the save as dialogue box only has the first 2 characters in my file name - and no extension. Example: I have a file name named: CC 10-07-06 720.wmv. When I left click on it in Firefox, the dialogue box only has "CC" in the save as line, with no extension added.
The left click and save target as functions work normally in both Opera and Internet Explorer (6 and 7).
Thank you for any advice in resolving this issue. I hope you are able to replicate this issue.
Yes, there was a change in the HTTP headers sent before the file, to try to get round another problem. I spotted this in 2.2.6 rc1 but hadn't yet made the new rc available.
Edit local_links.php and go down to line 2094, for the sequence that reads:
I'm SO close to making Google Video and You Tube videos play within LDM... I just need one last step!!!!
Andrew, I got the IF statement working inside the links_playbit template by adding some more code to the original WIMPY Player plugin that I changed for the FLV Player. Here is the code that I added to the plugin:
Now, here is the code I added to the links_playbit:
HTML Code:
<if condition="$player=='youtube'"><object width="640" height="480" type="application/x-shockwave-flash" data="$url"><param name="movie" value="$url" /><param name="wmode" value="transparent" /><em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em></object></if><if condition="$player=='google'"><object width="640" height="480" type="application/x-shockwave-flash" data="$url"><param name="movie" value="$url" /><param name="allowScriptAccess" value="sameDomain" /><param name="quality" value="best" /><param name="scale" value="noScale" /><param name="wmode" value="transparent" /><param name="salign" value="TL" /><param name="FlashVars" value="playerMode=embedded" /><em><strong>ERROR:</strong> If you can see this, then <a href="http://video.google.com/">Google Video</a> is down or you don't have Flash installed.</em></object></if>
There are 2 prolems I think...
When I add a new url entry to LDM like http://www.youtube.com/watch?v=X4ery9QRfpA, it goes OFF-site and opens a new window rather then opening in the same window with an embeded player, all because it's not a local file.
The jukebox settings require a file type. There is none for this, so I don't know what to do for that either.
Pretty please help me out, I'm SOOO close to embedding these (I think). Aren't you proud of me too, because I wrote my first plugin code?
For your second question, edit includes/local_links_include.php, and go to line 2451 (in 2.2.6 rc), which reads
Code:
if (($user_mac or $user_windows) and get_mimetype($urlType) and in_array($urlType, $musicboxtypes)) $is_musicbox = 1;
Edit local_links.php and go down to line 2094...
...replace the lines by the following:
which is how I intend to handle this in the final 2.2.6 (space in file names will be translated into underscore characters).
Let me know how this works.
Andrew you fixed it. Save link as still doesn't work, but that's a smaller issue. Thanks!
Now, i have a feature request... hope Andrew won't kick me :laugh:
Well, there is a links_favbit, and links_editbit... you think it might be possible, in a future release, to include a links_downloadbit?
This would be a simple download link to be shown, the same as edit ot favorites... well, just that ^^
Thanks for everything!
You mean you'd like to show the green download arrow icon when the user is allowed to download the file? That's easy - I'll include this in the final 2.2.6.
If you mean something else, could you give me more details?
... It seems the 2.2.6 series of upgrades have created a problem with Firefox. For one thing, "Save Link As" does not work, and it instead tries to download an html page instead of the download.
This is not due to LDM. It is a well-discussed 'feature' of Firefox (see https://bugzilla.mozilla.org/show_bu...id=299372#c89). Basically, IE/Opera go to the server to find out some header information, whereas Firefox doesn't. The arguments for Firefox's behaviour are straightforward - they want to make downloads start up more quickly.
Maybe Firefox gurus have developed an addin, but I don't think this is something I can solve...