Community Support Forums — WordPress® ( Users Helping Users ) — 2010-08-04T21:39:08-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=445 2010-08-04T21:39:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=445&p=2081#p2081 <![CDATA[Re: Cannot use ?s2member_file_download=access-s2member-level]]> Statistics: Posted by Elizabeth — August 4th, 2010, 9:39 pm


]]>
2010-07-28T18:35:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=445&p=1918#p1918 <![CDATA[Re: Cannot use ?s2member_file_download=access-s2member-level]]> Statistics: Posted by devtest — July 28th, 2010, 6:35 pm


]]>
2010-07-28T08:08:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=445&p=1911#p1911 <![CDATA[Re: Cannot use ?s2member_file_download=access-s2member-level]]> I verified that it works here, but it's always good to hear feedback. Thank you!!

Statistics: Posted by Jason Caldwell — July 28th, 2010, 8:08 am


]]>
2010-07-28T07:47:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=445&p=1909#p1909 <![CDATA[Re: Cannot use ?s2member_file_download=access-s2member-level]]> Thanks!

Statistics: Posted by devtest — July 28th, 2010, 7:47 am


]]>
2010-07-28T07:42:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=445&p=1907#p1907 <![CDATA[Re: Cannot use ?s2member_file_download=access-s2member-level]]> I've attached a patch for you. However, this will be fixed in the next official release of s2Member.

For now, you can upload the attached file, and allow it to override your existing file:
Code:
/s2member/includes/functions/file-download-access.inc.php

( you will need to unzip it first )
file-download-access.inc.php.zip

Statistics: Posted by Jason Caldwell — July 28th, 2010, 7:42 am


]]>
2010-07-28T07:27:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=445&p=1906#p1906 <![CDATA[Re: Cannot use ?s2member_file_download=access-s2member-level]]> ~ Investigating now.

Statistics: Posted by Jason Caldwell — July 28th, 2010, 7:27 am


]]>
2010-07-25T11:28:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=445&p=1814#p1814 <![CDATA[Cannot use ?s2member_file_download=access-s2member-level1]]>
Have read through the forums trying to solve my problem, and I think the level of support here is great.

My goal is to set up a subscription-based site for video and text content, so I'm using s2member. I created a PayPal button that gives access to level 1 content, and successfully signed up a test user with a PayPal sandbox account. I verified that this user can access a page that I designated as level 1 in General Options -> Page Access Restrictions, and that non-logged in users cannot access this page. So far so good.

Next I tried to put up videos that are associated with this right and limit their access, but I ran into problems. Based on the Download Options and API / Scripting information sections, I first set up the downloads for 99999999 (infinity) per every 9 days (abitrary), which will allow me to download things protected with s2member. I created the directory .../wp-content/plugins/s2member-files/access-s2member-level1 and inside of it I have the file test.avi.

When I try to access http://mysite/?s2member_file_download=access-s2member-level1/test.avi in Firefox, I get redirected to http://mysite/membership-options?s2member_level_req=0&s2member_file_download_req=access-s2member-level1/test.avi when I am not logged in, but redirected to http://mysite/membership-options?s2member_level_req=21&s2member_file_download_req=access-s2member-level1/test.avi when I am logged in. I would have expected to be redirected when I was not logged in, but to be able to view or download the video when I was logged in.

When I copy test.avi to .../wp-content/plugins/s2member-files directly, I can access this when logged in (as expected) when I navigate to http://mysite/?s2member_file_download=test.avi.

Can someone help me figure out why I cannot create a level subdirectory and access files in there when I am logged in with permissions of that level? I only have one level of subscription at this point, but will more than likely create more levels at some point. Thanks for your help, please let me know if I can clarify anything.

Statistics: Posted by devtest — July 25th, 2010, 11:28 am


]]>