Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-06T03:33:00-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10039 2011-06-06T03:33:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10039&p=20187#p20187 <![CDATA[Re: Advanced downloads]]>
Here it's fixed

Code:
<a href="http://mysite.com/?s2member_file_download=filename.zip&s2member_file_download_key=<?php echo s2member_file_download_key("filename.zip"); ?>">Link Name</a>


I hope that helps. :)

Statistics: Posted by Cristián Lávaque — June 6th, 2011, 3:33 am


]]>
2011-06-05T16:18:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10039&p=20096#p20096 <![CDATA[Advanced downloads]]>
I have been working for hours it seems trying to get this darn thing to work correctly. I have looked a posts here on the forum and still have been unable to get a download to work for "anyone," not just a member.

I have the link on a unprotected "page" on the site and I have tried both ways listed below and neither one seem to work:
Code:
<a href="http://mysite.com/?s2member_file_download=filename.zip<?php echo s2member_file_download_key("filename.zip"); ?">Link Name</a>

<a href="http://mysite.com/?s2member_file_download=filename.zip&s2member_file_download_key=<?php echo s2member_file_download_key("filename.zip"); ?">Link Name</a>



The download file is in the root of the s2member-files directory.

Does anyone see anything wrong with this?

Thanks

Rick

Statistics: Posted by mannclann — June 5th, 2011, 4:18 pm


]]>