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™

URI Restriction Problems

s2Member Plugin. A Membership plugin for WordPress®.

URI Restriction Problems

Postby ctomek » October 13th, 2011, 10:35 pm

I am trying to restrict access to certain audio files. Not a page, just a file. I've tried entering the URI for all uploads as /wp-content/uploads/ but it doesn't work - I can still access the audio file when I'm logged off. I've tried entering just / at level 0, and that worked. I've tried entering a page uri at level 1, and that worked. I just can't seem to make the audio files work. Does the uri have to be from an actual page, and not just a file? Any help is greatly appreciated.
User avatar
ctomek
Registered User
Registered User
 
Posts: 3
Joined: October 13, 2011

Re: URI Restriction Problems

Postby Eduan » October 14th, 2011, 7:38 am

Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: URI Restriction Problems

Postby ctomek » October 14th, 2011, 8:30 am

Thanks Eduan, I took a look at the videos but did not find the answer. Am I doing something wrong, or is there something flawed with s2member, or am I trying to make it do something it can't do?
User avatar
ctomek
Registered User
Registered User
 
Posts: 3
Joined: October 13, 2011

Re: URI Restriction Problems

Postby Eduan » October 14th, 2011, 8:47 am

¿Your problem is that you can't protect the files; That they don't work; or both?
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: URI Restriction Problems

Postby ctomek » October 14th, 2011, 9:08 am

When someone goes to my site, they go to a particular post. They can read the post whether or not they are a member, but they can listen to the audio only if they are a member. So there is a button on the post that says "Click to Listen - Subscription Required." The button links to the audio file. If the person is a member, it takes them to the audio file. If the person is not a member, it takes them to the membership options page.
So I am trying to protect the audio files by using the URI restrictions. I've tried various snippets of the URI, but it doesn't protect the audio files. When I log out and click on the "Click to Listen" button, the file is available to anyone.
User avatar
ctomek
Registered User
Registered User
 
Posts: 3
Joined: October 13, 2011

Re: URI Restriction Problems

Postby Eduan » October 14th, 2011, 9:30 am

Have you put the audio/video file in the protected s2Member folder?
If not this video may help: http://www.s2member.com/file-download-options-video/
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron