![]() |
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...
|
Quote:
Edit local_links.php and go down to line 2094, for the sequence that reads: Code:
if (HEADER_BEHAVIOUR == "inline") { Code:
if (HEADER_BEHAVIOUR == "inline") { Code:
if (HEADER_BEHAVIOUR == "inline") { 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... |
Quote:
Code:
if (($user_mac or $user_windows) and get_mimetype($urlType) and in_array($urlType, $musicboxtypes)) $is_musicbox = 1; Code:
if(stristr($linkurlurl, 'video.google.com/videoplay?docid=')) $is_musicbox = 1; |
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! |
Quote:
|
Quote:
If you mean something else, could you give me more details? |
Quote:
|
Quote:
|
Quote:
Maybe Firefox gurus have developed an addin, but I don't think this is something I can solve... |
never mind.
|
Quote:
Code:
<if condition="$links_defaults['allow_duplicates']"> Code:
<if condition="$links_defaults['allow_duplicates']"> The error message they get when they try is not great, and I will correct this in the next release. |
Quote:
Thank you! |
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? |
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? |
Quote:
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. |
Quote:
Code:
$sltype = strtolower($type); 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. |
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!!! |
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 |
Quote:
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? |
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 |
Quote:
|
seems I edited my last post when you were replying.
can files be stored and called that are outside of the web root? |
What about integrating the newly uploaded file into a podcast xml file directly ? that'd be nice.
|
....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?
|
Quote:
|
Thank you so much for this add-on andrew, I really appreciate your hard work and efforts on this.
|
Quote:
|
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!
|
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/uploadDirmy 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); Thanks again |
Quote:
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 |
ok, I will try this!
Thank you again! |
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"; 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 |
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: |
Quote:
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'. |
Quote:
|
Quote:
I assume what I need to do next is to create categories and go on from there. |
Quote:
|
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 |
Does LDM run on PHP 5.1.2 or higher?
|
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|