Community Support Forums — WordPress® ( Users Helping Users ) — 2010-11-20T07:40:38-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=1230 2010-11-20T07:40:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1230&p=4821#p4821 <![CDATA[Re: File Download Redirects to Log-in page .. already logged]]> I read a post somewhere in this forum about the www or without www, being consistant.
Anyway, glad to hear you got the issue fixed.

I got all my issues resolved yesterday thanks to help I got here in the forum...'crushthenet' is very reliable and there are others here that have helped me 'drdave' (I think is his UN).

Statistics: Posted by willieg — November 20th, 2010, 7:40 am


]]>
2010-11-19T18:04:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1230&p=4813#p4813 <![CDATA[Re: File Download Redirects to Log-in page .. already logged]]>
On the Settings page in wordpress I had my blog address set as http://mysite.com
I was linking to the files at http://www.mysite.com/?s2member_file_download=test.mov

So the difference was, I had www in one spot and not in the other - that is what made the problem.

Statistics: Posted by PorridgePot — November 19th, 2010, 6:04 pm


]]>
2010-11-19T17:43:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1230&p=4812#p4812 <![CDATA[Re: File Download Redirects to Log-in page .. already logged]]>

Statistics: Posted by PorridgePot — November 19th, 2010, 5:43 pm


]]>
2010-11-19T13:16:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1230&p=4803#p4803 <![CDATA[Re: File Download Redirects to Log-in page .. already logged]]>
PorridgePot wrote:
I have installed the S2member plugin and got everything set up. Version 3.2.9

I have uploaded a file to the s2member-files directory
When I am logged in with an account, even one with unlimited downloads - when I click on the file download link I get the 'warning' that I will be using up one download spot (like should happen) but am then redirected to the login page
Code:
http://mysite.com/my-membership-options-page/?s2member_level_req=0&s2member_file_download_req=Untitled.wma

am I missing something??

thanks


I had a the same problem and if my memory serves me correctly...I had changed the name of the "protected-page" and the permalink didn't change, I tried to edit but no success, I think I had to change the name of the protected page in the general options - Login Welcome Page.
I have had a few brain f**ts along the way and made some simple mistakes, so check that you have the right pages set in the general options tabs.(simple mistakes-no fault of the script...it is great)

Good Luck

Statistics: Posted by willieg — November 19th, 2010, 1:16 pm


]]>
2010-11-19T12:46:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1230&p=4802#p4802 <![CDATA[Re: File Download Redirects to Log-in page .. already logged]]>
Code:
http://www.mysite.com/?s2member_file_download=Untitled.wma

Statistics: Posted by PorridgePot — November 19th, 2010, 12:46 pm


]]>
2010-11-19T12:07:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1230&p=4800#p4800 <![CDATA[Re: File Download Redirects to Log-in page .. already logged]]>
This is the only link structure that works as far as I know....

Code:
http://mysite.com/?s2member_file_download=example-file.zip


I don't think there is any way to check for membership level in the URL.

Only the ability to show or not show links based on level, like example below.

Code:
<?php if (current_user_is("s2member_level1")){ ?>
    Download Links for Members at exactly Level# 1.
<?php } else if(is_user_not_logged_in()) { ?>
    Some public content.
<?php } ?>

Statistics: Posted by crushthenet — November 19th, 2010, 12:07 pm


]]>
2010-11-19T11:46:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=1230&p=4798#p4798 <![CDATA[File Download Redirects to Log-in page .. already logged in]]>
I have uploaded a file to the s2member-files directory
When I am logged in with an account, even one with unlimited downloads - when I click on the file download link I get the 'warning' that I will be using up one download spot (like should happen) but am then redirected to the login page at this address
Code:
http://mysite.com/my-membership-options-page/?s2member_level_req=0&s2member_file_download_req=Untitled.wma


instead of letting me download the file.

am I missing something??

thanks

Statistics: Posted by PorridgePot — November 19th, 2010, 11:46 am


]]>