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™

Can't insert my podcast!

s2Member Plugin. A Membership plugin for WordPress®.

Can't insert my podcast!

Postby Confused_Dude » December 27th, 2011, 9:17 am

I'm using WordPress 3.3 and a podcast plugin that I've used for with no problems for many years, called "Blubrry PowerPress". I have the latest version of s2Member installed.

In order to insert a podcast into a post, one must insert the media url pointing to the mp3 file. NOTE: my media files are located in the s2member protected directory as shown below.

http://mywebsite.com/wp-content/plugins ... odcast.mp3

When I point Blubrry to s2Members protected directory where my media files are located, Blubrry tell mes "Error occurred downloading media file." However if I have the very same podcast media file is located outside the s2member protected directory and I then point Blubrry to the same file, Blubrry see and verifies the mp3's location and is the mp3 is playable on the post page with no problem.

Problem is I DO want s2Member to protect my media files from the outside world, but I being the admin of my site, also need to be able to insert the url into a post with Blubrry without get the error message mentioned before: "Error occurred downloading media file." I can't insert the mp3/podcast file into my post if s2Member refuses to let Blubrry see and verify the files url.

What do I do??? I do I resolve this problem??? :?: :?: :?:
User avatar
Confused_Dude
Registered User
Registered User
 
Posts: 20
Joined: November 30, 2011

Re: Can't insert my podcast!

Postby Raam Dev » December 27th, 2011, 4:37 pm

Hi Confused_Dude,

If you attempt to access the s2Member-protected podcast URL directly in your browser, what happens?

If you get a confirmation dialog, you probably need to disable that before using the URL in your podcast player. Please see WP Admin -> s2Member -> Download Restrictions -> Shortcode Attributes & API Functions ( Explained ) -> skip_confirmation.

You may also want to take a look at the inline attribute as well and read WP Admin -> s2Member -> Download Restrictions -> Inline File Extensions.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Can't insert my podcast!

Postby Confused_Dude » December 27th, 2011, 6:26 pm

Raam Dev wrote:Hi Confused_Dude,

If you attempt to access the s2Member-protected podcast URL directly in your browser, what happens?


Raam, when I am logged out of my WP admin, and attempt to access the s2Member-protected podcast URL directly in your browser, I am redirected to my "membership options" page as I should be. If I am logged in to my WP admin and attempt to access the s2Member-protected podcast URL directly in your browser, I am prompted with a download pop up window.

Thanks for the other info you provided, I'll consider your suggestions and report back soon. Does anyone else out there have any other bright ideas for me to try???
User avatar
Confused_Dude
Registered User
Registered User
 
Posts: 20
Joined: November 30, 2011

Re: Can't insert my podcast!

Postby Confused_Dude » December 27th, 2011, 7:18 pm

Raam Dev wrote:Hi Confused_Dude,

If you get a confirmation dialog, you probably need to disable that before using the URL in your podcast player. Please see WP Admin -> s2Member -> Download Restrictions -> Shortcode Attributes & API Functions ( Explained ) -> skip_confirmation.

You may also want to take a look at the inline attribute as well and read WP Admin -> s2Member -> Download Restrictions -> Inline File Extensions.



Raam, I read thru the stuff you suggested above, but I still don't see anything that will enable me to post my podcast media link in the my podcast plugin that will not be blocked by s2Member. What link can I post in that will validate in my podcast plugin that s2Member won't block??? I need a normal url link that I can insert into my podcast plugin so it can validate the media file that will be inside my wordpress post. HELP!
User avatar
Confused_Dude
Registered User
Registered User
 
Posts: 20
Joined: November 30, 2011

Re: Can't insert my podcast!

Postby Raam Dev » December 28th, 2011, 10:39 pm

You can modify your URL to look like the following (notice the extra options after the filename):

Code: Select all
http://mywebsite.com/wp-content/plugins/s2member-files/access-s2member-level0/podcasts/this-is-my-podcast.mp3?s2member_file_inline=1&skip_confirmation=1
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Can't insert my podcast!

Postby Confused_Dude » December 29th, 2011, 5:56 pm

Raam Dev wrote:You can modify your URL to look like the following (notice the extra options after the filename):

Code: Select all
http://mywebsite.com/wp-content/plugins/s2member-files/access-s2member-level0/podcasts/this-is-my-podcast.mp3?s2member_file_inline=1&skip_confirmation=1


Thanks Raam for your input. Unfortunately Blubrry Powerpress does not allow the media/podcast url to contain special character like "&" or "?". Therefore the above code you provide is not usable in this case.
User avatar
Confused_Dude
Registered User
Registered User
 
Posts: 20
Joined: November 30, 2011

Re: Can't insert my podcast!

Postby Confused_Dude » December 29th, 2011, 6:03 pm

Raam Dev wrote:You can modify your URL to look like the following (notice the extra options after the filename):

Code: Select all
http://mywebsite.com/wp-content/plugins/s2member-files/access-s2member-level0/podcasts/this-is-my-podcast.mp3?s2member_file_inline=1&skip_confirmation=1


Thanks Raam for your input. Unfortunately Blubrry Powerpress does not allow the media/podcast url to contain special character like "&" or "?". Therefore the above code you provide is not usable in this situation.
User avatar
Confused_Dude
Registered User
Registered User
 
Posts: 20
Joined: November 30, 2011

Re: Can't insert my podcast!

Postby Raam Dev » December 30th, 2011, 3:46 pm

Hi Confused_Dude,

In that case I don't think Blubrry Powerpress is compatible with s2Member.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Can't insert my podcast!

Postby Cristián Lávaque » December 31st, 2011, 6:00 am

You can add the mp3 extension to the list of files to be served inline, then you won't need that variable in the URL. WP Admin -> s2Member -> Download Options -> Inline File Extensions

About skipping the confirmation, you could try adding that variable to $_GET with a hack. Create the dir/file /wp-content/mu-plugins/s2hacks.php and in it add:

Code: Select all
<?php 
$_GET
['skip_confirmation'] = 1;
?>


Let us know if it helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron