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)

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 04:35 AM.

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.04593 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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