vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

|oR|Greg 11-08-2006 07:14 PM

Ok, I know it's controlled somewhere between lines 1587 and 1680 in the local_links.php... I just don't know how, or what...

AndrewD 11-08-2006 07:47 PM

Quote:

Originally Posted by elsupremo
Andrew,

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:

Code:

        if (HEADER_BEHAVIOUR == "inline") {
//                @header("Content-disposition: inline; filename=\"".$dfname."\"");
                @header("Content-disposition: inline; filename=".$dfname."");
        } else {
                @header("Content-type: application/x-download");
//                @header("Content-disposition: attachment; filename=\"".$dfname."\"");
                @header("Content-disposition: attachment; filename=".$dfname."");
        }

You can do one of two things, depending on your preference. Either swap round the comment flags, so that code reads:

Code:

        if (HEADER_BEHAVIOUR == "inline") {
                @header("Content-disposition: inline; filename=\"".$dfname."\"");
//                @header("Content-disposition: inline; filename=".$dfname."");
        } else {
                @header("Content-type: application/x-download");
                @header("Content-disposition: attachment; filename=\"".$dfname."\"");
//                @header("Content-disposition: attachment; filename=".$dfname."");
        }

(which takes it back to 2.2.5 behaviour) or replace the lines by the following:

Code:

        if (HEADER_BEHAVIOUR == "inline") {
                @header("Content-disposition: inline; filename=".str_replace(" ", "_", $dfname)."");
        } else {
                @header("Content-type: application/x-download");
                @header("Content-disposition: attachment; filename=".str_replace(" ", "_", $dfname)."");
        }

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.

As far as the first problem goes, I can't think straight about this - I've just got off the train from a 5 hour journey and need to sleep...

AndrewD 11-08-2006 07:54 PM

Quote:

Originally Posted by |oR|Greg
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:
PHP Code:

if(stristr($url'video.google.com/videoplay?docid=') == TRUE) { 
$player "google"

$google_patterns = array(
    
'http://video.google.com/videoplay\?docid=(.*?)&(.*?)',
    
'http://video.google.com/videoplay\?docid=(.*?)',
);
$google_rep = array(
    
'http://video.google.com/videoplay?docid=$1',
    
'http://video.google.com/videoplay?docid=$1',
);
$url preg_replace($google_patterns$google_rep$url);
}

if(
stristr($url'youtube.com/watch?v=') == TRUE) { 
$player "youtube";

$youtube_patterns = array(
    
'http://www.youtube.com/watch\?v=(.*?)&(.*?)',
    
'http://www.youtube.com/watch\?v=(.*?)',
    
'http://youtube.com/watch\?v=(.*?)&(.*?)',
    
'http://youtube.com/watch\?v=(.*?)',
);
$youtube_rep = array(
    
'http://www.youtube.com/watch?v=$1',
    
'http://www.youtube.com/watch?v=$1',
    
'http://www.youtube.com/watch?v=$1',
    
'http://www.youtube.com/watch?v=$1',
);
$url preg_replace($youtube_patterns$youtube_rep$url);


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...
  1. 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.
  2. 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;
Try adding something like:

Code:

if(stristr($linkurlurl, 'video.google.com/videoplay?docid='))  $is_musicbox = 1;

FARMER 11-08-2006 08:57 PM

I don't know which file I can browse it to play music (using jukebox) & I don't know where I can manager me media???

plz help me!

elsupremo 11-08-2006 09:05 PM

Quote:

Originally Posted by AndrewD
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!

AndrewD 11-09-2006 06:29 AM

Quote:

Originally Posted by obmob
Sweet, that did the trick! Thanks. :D

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?

|oR|Greg 11-09-2006 12:05 PM

Quote:

Originally Posted by AndrewD
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;
Try adding something like:

Code:

if(stristr($linkurlurl, 'video.google.com/videoplay?docid='))  $is_musicbox = 1;

I'll wait till the final 2.2.6... any idea on a date?

AndrewD 11-09-2006 04:21 PM

Quote:

Originally Posted by |oR|Greg
I'll wait till the final 2.2.6... any idea on a date?

soon... someone's doing what I hope is the final testing on it at present.

AndrewD 11-09-2006 04:35 PM

Quote:

Originally Posted by elsupremo
Andrew,

... 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...

Alfa1 11-09-2006 06:27 PM

never mind.

AndrewD 11-09-2006 07:15 PM

Quote:

Originally Posted by reitube
Hi Andrew,

LDM (2.2.5) works fine, but when I use the "allow_duplicates"-option with "no", it seems to have no effect. The users get the option "New entry even if it exits". And some of them use it with "yes".

Is there any chance to prevent duplicates effectively? Or did I miss another option?

Thanx
Regards

For the time being, you can fix this by editing the links_addnewlink template. Find the sequence that reads:
Code:

<if condition="$links_defaults['allow_duplicates']">
        <input type="radio" name="linkdups" value="1" checked="checked" /> $vbphrase[ll_yes]
        <input type="radio" name="linkdups" value="-1" /> $vbphrase[ll_no]
<else />
        <input type="radio" name="linkdups" value="1" /> $vbphrase[ll_yes]
        <input type="radio" name="linkdups" value="-1" checked="checked" /> $vbphrase[ll_no]
</if>

and replace it by the following
Code:

<if condition="$links_defaults['allow_duplicates']">
        <input type="radio" name="linkdups" value="1" checked="checked" /> $vbphrase[ll_yes]
        <input type="radio" name="linkdups" value="-1" /> $vbphrase[ll_no]
<else />
<if condition="$links_permissions['can_set_permissions']">
        <input type="radio" name="linkdups" value="1" /> $vbphrase[ll_yes]
        <input type="radio" name="linkdups" value="-1" checked="checked" /> $vbphrase[ll_no]
<else />
        <input type="hidden" name="linkdups" value="-1" /> $vbphrase[ll_no]
</if>
</if>

This will effectively stop anybody who does not have LDM's can_set_permissions priv from adding a duplicate entry when allow_duplicates is off.

The error message they get when they try is not great, and I will correct this in the next release.

obmob 11-09-2006 08:53 PM

Quote:

Originally Posted by AndrewD
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?

Yeah, exactly, to show the download icon and maybe the text... and of course to be able to click on it or the text and download the file. :D

Thank you!

pplc 11-10-2006 04:47 AM

Andrew, Loving this product but I can't seem to figure one problem out. My users can upload files, and in some cases, some of them are images. Documents are fine because they have no thumbnail associated with them. But some upload images and the thumbnails don't seem to be working.

I have my link_image size set to 150 and my thumbnail directory set to /bb/ldmthumbs (bb is my forum directory). And when I FTP to my server, sure enough the thumbnail directory is completely empty. So I started to just explore the admin area thinking maybe I missed something and found a link for reset thumbs. I clicked that, and the thumbnails showed up. I was relieved! Until I hit refresh, and the thumbnails were gone again. And of course they aren't in my thumbnail directory.

Edited to add: I just noticed when I right click on the missing image it is giving the correct URL of where the image should be pulling from, but I finally found the thumbnails on the server. It is making another folder "bb" under the folder "bb" that is already there. It's like the uploading of the thumbnails is not pulling from the same place is the downloading for viewing of the thumbnails. ANy idea where i can fix this at?

amnesia623 11-10-2006 04:56 AM

Having a wimpy problem.

I had to reinstall wimpy and LDM and now I'm having a problem getting wimpy to play the mp3. I see the wimpy player, the file name shows (as a string of numbers - anyway to get the ID3 or name to show?) but the file doesn't stream.

It almost seems as if wimpy can't find the file, but I look in the source code of the pop-up that plays the jukebox and the file path seems to be correct.

I had this problem before when I set it up, but figured it out. I think it has something to do with file paths, but I can't remember.

any thoughts?

AndrewD 11-10-2006 06:58 AM

Quote:

Originally Posted by pplc
Andrew, Loving this product but I can't seem to figure one problem out. My users can upload files, and in some cases, some of them are images. Documents are fine because they have no thumbnail associated with them. But some upload images and the thumbnails don't seem to be working.

I have my link_image size set to 150 and my thumbnail directory set to /bb/ldmthumbs (bb is my forum directory). And when I FTP to my server, sure enough the thumbnail directory is completely empty. So I started to just explore the admin area thinking maybe I missed something and found a link for reset thumbs. I clicked that, and the thumbnails showed up. I was relieved! Until I hit refresh, and the thumbnails were gone again. And of course they aren't in my thumbnail directory.

Edited to add: I just noticed when I right click on the missing image it is giving the correct URL of where the image should be pulling from, but I finally found the thumbnails on the server. It is making another folder "bb" under the folder "bb" that is already there. It's like the uploading of the thumbnails is not pulling from the same place is the downloading for viewing of the thumbnails. ANy idea where i can fix this at?

This is a caching problem - the first time LDM draws the thumbnail, it creates the image from the original file. If you have provided a thumbnail directory, then it tries to store a copy in that directory, which it should use in future to save time. (If you do not give a thumbnail directory, then it will recreate the thumb every time.) This is why you are seeing the image the first time round.

The question is why the software is looking in the wrong place for the pre-created thumbs. Sometimes this is happening because the main settings on your vb admincp are wrong, sometimes because of server settings. The easiest way for me to answer this is to take a look at your site. If you want me to do this, send me a PM with the url and a username/password that has vb admin privs. Glad to help.

AndrewD 11-10-2006 07:08 AM

Quote:

Originally Posted by amnesia623
Having a wimpy problem.

I had to reinstall wimpy and LDM and now I'm having a problem getting wimpy to play the mp3. I see the wimpy player, the file name shows (as a string of numbers - anyway to get the ID3 or name to show?) but the file doesn't stream.

It almost seems as if wimpy can't find the file, but I look in the source code of the pop-up that plays the jukebox and the file path seems to be correct.

I had this problem before when I set it up, but figured it out. I think it has something to do with file paths, but I can't remember.

any thoughts?

Wimpy's a bit sensitive to the characters in the url it plays. Try editing the wimpy plugin to read as follows:

Code:

$sltype = strtolower($type);
if ($sltype=='mp3' or $sltype=='swf' or $sltype=='flv') {

// Either use this...
        $wimpy_url = "local_stream.php?action=stream&id=".$linkid;
// Or just use this (will not work if you have set local_file_root/local_file_root_prefix) ...
//        $wimpy_url = $url;

        $wimpy_url = urlencode($wimpy_url);
        $player = "Wimpy";

}

You can also try the attached plugin, which launches the wimpy button instead of the main player (you'll need to put the wimpy_button.swf into your getid3 directory)

Concerning the text in the wimpy window, I'm still looking into thtis. The main javascript toolkit that the wimpy people provide does not interpret the id3 info correctly.

amnesia623 11-10-2006 01:19 PM

Thanks Andrew, I will try the suggestions above!

I am wondering if you could explain the local_file_root and local_file_root_prefix because I am not sure how this effects the way I specify the uploads directory root.

I have nothing set in the local_file_root_prefix and the local_file_root set to no. I have the uploads dir specified as media/demo/.

If I were to call the mp3 file from a browser I would put www.domain.com/forum/media/demo/1/filename.mp3 (the 1/filename is appended by LDM).

Thanks for your help, this add-on is going to be a key feature for my site and I appreciate your help!!!

amnesia623 11-10-2006 01:31 PM

Another question -
Would there be a way to just append the user's name to the beginning of the file instead of completely renaming the file? For example if my mp3 file was named 'demo.mp3' I would upload it and the name would be changed to 'amnesia623_demo.mp3'?

I realize this isn't the best practice for the intended use of LDM, but I am using it to allow musicians/DJs to upload their demos and stream their work back thru the wimpy player

Thanks so much

AndrewD 11-10-2006 01:49 PM

Quote:

Originally Posted by amnesia623
Thanks Andrew, I will try the suggestions above!

I am wondering if you could explain the local_file_root and local_file_root_prefix because I am not sure how this effects the way I specify the uploads directory root.

I have nothing set in the local_file_root_prefix and the local_file_root set to no. I have the uploads dir specified as media/demo/.

If I were to call the mp3 file from a browser I would put www.domain.com/forum/media/demo/1/filename.mp3 (the 1/filename is appended by LDM).

Thanks for your help, this add-on is going to be a key feature for my site and I appreciate your help!!!

Normally local_file_root and local_file_root_prefix are unset. They are available to increase security on your site.

Setting local_file_root tells LDM to locate local files (ie file held on the server) relative to the root directory of the server, rather than the default which is relative to the root directory of the web site. (e.g. your web site might actually be sitting somewhere like /users/your/website/dir)

Setting local_file_root_prefix places a fixed prefix in front of all local file names. This is *always* a good idea if local_file_root is set, and *may be* a good idea if it is not set. It ensures that people can't go walkabouts on your server.

If you set local_file_root and local_file_root_prefix, then these also modify where LDM looks for the specified uploads directory.

e.g., suppose you set upload_dir to /forum/media/demo/ and do not set local_file_root and local_file_root_prefix. Then the files will be found where you say, i.e. www.domain.com/forum/media/demo/1/filename.mp3

If you leave local_file_root unset and set local_file_root_prefix to /forum, then the same setting of upload_dir would mean that files could be found at http://www.domain.com/forum/forum/me...1/filename.mp3

If you set both, then it would place the files outside your web tree, and no diurect url could find them.

However, the url http://www.domain.com/forum/local_st...=stream&id=NNN would find the file correctly.

Clear?

amnesia623 11-10-2006 02:15 PM

I understand. So it *could* be used to upload/store dirs that are away from forum dirs, etc.

somehow, it works!

So is there anyway to control the trackname that is displayed in the wimpy player (yet?)

Thanks

AndrewD 11-10-2006 02:19 PM

Quote:

Originally Posted by amnesia623
I understand. So it *could* be used to upload/store dirs that are away from forum dirs, etc.

Just so

amnesia623 11-10-2006 02:21 PM

seems I edited my last post when you were replying.

can files be stored and called that are outside of the web root?

maroceve 11-10-2006 02:23 PM

What about integrating the newly uploaded file into a podcast xml file directly ? that'd be nice.

amnesia623 11-10-2006 02:24 PM

....and how can I protect my files that are uploaded so they can't be downloaded thru a direct request from the browser? I take it I have to mess with the directory permissions?

AndrewD 11-10-2006 02:30 PM

Quote:

Originally Posted by amnesia623
somehow, it works!

So is there anyway to control the trackname that is displayed in the wimpy player (yet?)

Thanks

Am working on that, this weekend...

amnesia623 11-10-2006 02:33 PM

Thank you so much for this add-on andrew, I really appreciate your hard work and efforts on this.

AndrewD 11-10-2006 02:40 PM

Quote:

Originally Posted by amnesia623
....and how can I protect my files that are uploaded so they can't be downloaded thru a direct request from the browser? I take it I have to mess with the directory permissions?

That's part of the point of the local_file_root setting. Once the files are held outside the web tree, a direct browser request cannot get at them. You have to use the various LDM scripts, either local_links?action=jump&id=NN to download item id NN and local_stream.php?action=stream&linkid=NN to stream it.

amnesia623 11-10-2006 02:49 PM

That's what I would like to do. I will go over to your online manual and see what it tells me to do! thanks again!

amnesia623 11-10-2006 03:09 PM

Please excuse my 1000's of questions, but I'm just trying to understand how to do this.

I want to store and stream files from this directory on my server:
home/user/uploadDir
my forums sit here:
home/user/public_html/forum/
In order to get LDM to open home/user/uploadDir (where files are stored) I have to turn on local_file_root and set local_file_root_prefix to home/user/uploadDir and then put this in the LDM wimpy plugin:
Code:

$sltype = strtolower($type);
if ($sltype=='mp3' or $sltype=='swf' or $sltype=='flv') {
$wimpy_url = "local_stream.php?action=stream&id=".$linkid;
    $wimpy_url = urlencode($wimpy_url);
    $player = "Wimpy";}

Is this correct? Or instead of using the local_file_root_prefix would I have to use the openbase_dir ?

Thanks again

AndrewD 11-10-2006 04:15 PM

Quote:

Originally Posted by amnesia623
Please excuse my 1000's of questions, but I'm just trying to understand how to do this.

I want to store and stream files from this directory on my server:
home/user/uploadDir
my forums sit here:
home/user/public_html/forum/
In order to get LDM to open home/user/uploadDir (where files are stored) I have to turn on local_file_root and set local_file_root_prefix to home/user/uploadDir and then put this in the LDM wimpy plugin:
Code:

$sltype = strtolower($type);
if ($sltype=='mp3' or $sltype=='swf' or $sltype=='flv') {
$wimpy_url = "local_stream.php?action=stream&id=".$linkid;
    $wimpy_url = urlencode($wimpy_url);
    $player = "Wimpy";}

Is this correct? Or instead of using the local_file_root_prefix would I have to use the openbase_dir ?

Thanks again

Almost correct, just one catch. You will need to set upload_dir as well as local_file_root_prefix, so you may find yourself with another subdirectory in there somewhere:

e.g. local_file_root_prefix - /home/user/files
upload_dir - /upload_dir
will put the uploads into subdirectories of /home/user/files/upload_dir

amnesia623 11-10-2006 04:20 PM

ok, I will try this!

Thank you again!

amnesia623 11-10-2006 09:45 PM

Hi Andrew -

Ok, I have successfully gotten LDM to upload to a dir outside of the web root.

Now I can't get wimpy to stream. Here is my plugin code:

Code:

$player = "Wimpy";
$wimpy_url = "local_stream.php?action=stream&id=".$linkid;
    $wimpy_url = urlencode($wimpy_url);


It loads the player, and I see the title, but it doesn't stream.

What am I doing wrong? Is there a setting in the local_stream file I need to set?

Thanks

berayiwu5 11-11-2006 02:37 AM

I am still new to Links and Downloads. I read the manual quite closely, but I still can't seem to make it work with vBulletin. I think I've taken the necessary steps. I have enabled can_access_links, etc. and set the necessarily daily downloads and bandwidth allowances. For testing purpose, I uploaded a couple of files as attachments and set the daily downloads to 2 for administrators. But for some reason, I can still download these attachments many times. And when I click on "view hits," there is no information about anyone having downloaded the attachments. What am I missing? For your reference, I am including the following info. on the LDM admin panel:

---------------------------------
Links and Downloads Manager
Code 2.2.1
MySQL 4.1.21-log
PHP 4.4.4
local_file_root 0
local_file_root_prefix
allow_url_fopen Yes
cURL Yes
GD2 Yes
open_basedir Unset
post_max_size 25M
upload_max_filesize 25M
upload_max_filesize>=post_max_size
------------------------------------

BTW, I don't quite understand how the category function works. All I need for now is to limit the viewing/downloading of attachments I upload along with the posts I create.

Thanks for your help for this newbie.:confused:

AndrewD 11-11-2006 03:30 AM

Quote:

Originally Posted by berayiwu5
I am still new to Links and Downloads. I read the manual quite closely, but I still can't seem to make it work with vBulletin. I think I've taken the necessary steps. I have enabled can_access_links, etc. and set the necessarily daily downloads and bandwidth allowances. For testing purpose, I uploaded a couple of files as attachments and set the daily downloads to 2 for administrators. But for some reason, I can still download these attachments many times. And when I click on "view hits," there is no information about anyone having downloaded the attachments. What am I missing? BTW, I don't quite understand how the category function works. All I need for now is to limit the viewing/downloading of attachments I upload along with the posts I create.

Thanks for your help for this newbie.:confused:

I'm a bit confused myself ;) Maybe I'm misunderstanding you.

LDM does not interact in any way with the attachments system in VB posts. It provides a completely separate link (url) and document management system. So you can't use it directly to limit access to the attachments included within the vbulletin posts.

In effect, LDM allows you to create a structure of categories (in effect virtual filing cabinets) in which you place documents or pointers to documents. It then manages and controls access to these documents. But the documents are not 'vbulletin attachments'.

AndrewD 11-11-2006 03:31 AM

Quote:

Originally Posted by amnesia623
Hi Andrew -

Ok, I have successfully gotten LDM to upload to a dir outside of the web root.

Now I can't get wimpy to stream. Here is my plugin code:

Code:

$player = "Wimpy";
$wimpy_url = "local_stream.php?action=stream&id=".$linkid;
    $wimpy_url = urlencode($wimpy_url);


It loads the player, and I see the title, but it doesn't stream.

What am I doing wrong? Is there a setting in the local_stream file I need to set?

Thanks

That should be working - I use essentially the same approach myself for my music collection. Maybe I should take a look at your site? Send me a PM if you want with admin username and pwd.

berayiwu5 11-11-2006 03:37 AM

Quote:

Originally Posted by AndrewD
I'm a bit confused myself ;) Maybe I'm misunderstanding you.

LDM does not interact in any way with the attachments system in VB posts. It provides a completely separate link (url) and document management system. So you can't use it directly to limit access to the attachments included within the vbulletin posts.

In effect, LDM allows you to create a structure of categories (in effect virtual filing cabinets) in which you place documents or pointers to documents. It then manages and controls access to these documents. But the documents are not 'vbulletin attachments'.

I've got to laugh at myself!:D

I assume what I need to do next is to create categories and go on from there.

AndrewD 11-11-2006 03:53 AM

Quote:

Originally Posted by maroceve
What about integrating the newly uploaded file into a podcast xml file directly ? that'd be nice.

I think it will be easy to provide a plugin to do this.

amnesia623 11-11-2006 03:55 AM

Hello AndrewD - PM sent.

I think wimpy isn't getting the correct file path. I can download the file, but not stream it thru wimpy.

I really appreciate your help with this

Alfa1 11-11-2006 03:51 PM

Does LDM run on PHP 5.1.2 or higher?

AndrewD 11-11-2006 04:11 PM

Quote:

Originally Posted by Alfa1
Does LDM run on PHP 5.1.2 or higher?

naturally... I'm running 5.1.6 and 4.4.4


All times are GMT. The time now is 03:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03743 seconds
  • Memory Usage 1,928KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (14)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete