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™

Protecting both page content and media file not working!

s2Member Plugin. A Membership plugin for WordPress®.

Protecting both page content and media file not working!

Postby weseoin » January 12th, 2012, 10:29 am

My membership site is in the form of a blog, where each post has link to a video tutorial.

I use the code, [s2If current_user_can(access_s2member_level1)] video link [/s2If], so that the blog is visible to all but the video link is protected and is only visible to members.

Now the video in the link also has to be protected, so I've uploaded the video to this directory, http://www.mysite.com/s2member-files/ac ... /video.mp4

I now use the URL, http://www.mysite.com/?s2member_file_do ... /video.mp4, as the video link in the blog page.

However, the video link does not work when I click on the link in the blog page. My role here is as the administrator.

Please help!!
User avatar
weseoin
Registered User
Registered User
 
Posts: 21
Joined: December 3, 2011

Re: Protecting both page content and media file not working!

Postby Raam Dev » January 17th, 2012, 2:01 pm

Have you tried accessing the URL when logged in as a member who should have access (an account other than the Administrator)?

Also, have you read through all the documentation in WP Admin -> s2Member -> Download Options, including JW Player® & RTMP Protocol Examples?
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 10 guests

cron