PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
deny from all
Options -Indexes
site:your-website.com (filetype:mp3 OR inurl:mp3)
justawizard wrote:Keep in mind I do NOT want anyone, no matter their member level, to be able to download, only listen to the mp3's....
Cristián Lávaque wrote:Not accessed by anyone directly, but he does want the files to be streamed via the embedded audio player.
May I see a sample of the code that is being used to embed the audio?
[audio:http://www.domain.com/folder/audiofile1.mp3,http://www.domain.com/folder/audiofile2.mp3]
http://www.example.com/?s2member_file_download=file.mp3
<?php
add_filter ("ws_plugin__s2member_files_dir", "my_files_directory");
function my_files_directory ()
{
return "/server/path/to/files/on/siteA";
}
?>
[audio:http://www.siteb.com/?s2member_file_download=audiofile1.mp3&s2member_file_inline=yes]
justawizard wrote:I suppose I could or should place the mp3's back on site B (my membership site) inside the s2member-files location? - if I did that, no person would be able to access any file there unless logged in, correct? - except that if they see the file path, they can access any and all files in that folder, correct?
Users browsing this forum: Yahoo [Bot] and 1 guest