Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-24T20:32:44-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6521 2011-05-24T20:32:44-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15809#p15809 <![CDATA[Re: 503 error using the s2member key url]]> Statistics: Posted by Cristián Lávaque — May 24th, 2011, 8:32 pm


]]>
2011-05-24T19:46:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15802#p15802 <![CDATA[Re: 503 error using the s2member key url]]>
I'm putting it back on the list now. Thank you!
@TODO: Shortcode for Download Links with Keys.

Statistics: Posted by Jason Caldwell — May 24th, 2011, 7:46 pm


]]>
2011-05-24T11:37:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15770#p15770 <![CDATA[Re: 503 error using the s2member key url]]>
Jason, wouldn't it be good to have a shortcode for the key? E.g.
Code:
[s2Get download_key="example.zip" /]


Or even a full URL version like
Code:
<a href="[s2Get download_key_url="example.zip" /]">download</a>

Statistics: Posted by Cristián Lávaque — May 24th, 2011, 11:37 am


]]>
2011-05-24T05:38:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15757#p15757 <![CDATA[Re: 503 error using the s2member key url]]>
Code:
<a href="http://www.successfulflyfishing.com/?s2member_file_download=successfulflyfishing-demoebook.zip&amp;s2member_file_download_key=&lt;?php echo s2member_file_download_key('successfulflyfishing-demoebook.zip'); ?&gt;">DOWNLOAD DEMO eBOOK</a> 

Statistics: Posted by coloradoflyfisherman — May 24th, 2011, 5:38 am


]]>
2011-05-23T17:38:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15694#p15694 <![CDATA[Re: 503 error using the s2member key url]]>
This code snippet:
Code:
 <a href='http://www.successfulflyfishing.com/?s2member_file_download=successfulflyfishing-expire.zip&s2member_file_download_key=<?php echo s2member_file_download_key("successfulflyfishing-expire.zip"); ?>'>DOWNLOAD DEMO eBOOK</a>

... should ultimately produce a clickable link that looks something like this:
Code:
http://www.successfulflyfishing.com/?s2member_file_download=successfulflyfishing-expire.zip&s2member_file_download_key=98234kljsdf9234sssf9wruw
* If your "Key" on the end, doesn't look something like this, I suspect there is a problem with the PHP tag not being evaluated. You might also try placing the code snippet directly into a PHP template file for your theme. This code will not work inside a Post/Page unless you have a PHP execution plugin installed/configured properly.

Statistics: Posted by Jason Caldwell — May 23rd, 2011, 5:38 pm


]]>
2011-05-23T13:18:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15656#p15656 <![CDATA[Re: 503 error using the s2member key url]]> http://s2member.com/contact

Statistics: Posted by Cristián Lávaque — May 23rd, 2011, 1:18 pm


]]>
2011-05-23T09:26:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15639#p15639 <![CDATA[Re: 503 error using the s2member key url]]>
1st thanks for wp-show-id plugin. This plugin works great.
2nd I installed the php plugin you recommended and activated it. Then tried the s2member key link in a post and in a page with the same 503 error returned.

Since I had a WP blog get hacked badly in Jan, I am much more careful about php being executed. I am running some code in my .htaccess file that may be causing the problem.

If you wish to see the code I will send directly to you. Is there a way to send you a private email on the forum?

Statistics: Posted by coloradoflyfisherman — May 23rd, 2011, 9:26 am


]]>
2011-05-23T04:41:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15630#p15630 <![CDATA[Re: 503 error using the s2member key url]]> Thanks for reporting this important issue.

Did you use this code inside a Post/Page?
If so, make sure you've got a PHP Execution plugin installed first:
http://wordpress.org/extend/plugins/php ... on-plugin/

Statistics: Posted by Jason Caldwell — May 23rd, 2011, 4:41 am


]]>
2011-05-22T14:12:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6521&p=15592#p15592 <![CDATA[503 error using the s2member key url]]>
Code:
<a href='http://www.successfulflyfishing.com/?s2member_file_download=successfulflyfishing-expire.zip&s2member_file_download_key=<?php echo s2member_file_download_key("successfulflyfishing-expire.zip"); ?>'>DOWNLOAD DEMO eBOOK</a>


This is the 503 error I get when clicking the link.
503 ( Invalid Key ): Sorry, your access to this file has expired. Please contact Support for assistance.

I have the download limit set to 10 in 365 days so that should not be it.

Any help appreciated.

Statistics: Posted by coloradoflyfisherman — May 22nd, 2011, 2:12 pm


]]>