Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-29T16:02:20-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=35 2011-04-29T16:02:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=13801#p13801 <![CDATA[Re: Single Page Download - unlimited?]]> ~ Much appreciated.

Statistics: Posted by Jason Caldwell — April 29th, 2011, 4:02 pm


]]>
2011-04-28T04:24:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=13657#p13657 <![CDATA[Re: Single Page Download - unlimited?]]>
I have tried both. Both worked like a charm.
1.) Tested the first download from outside, it directed my download link to member options page. I used 2nd email to register and login into protected page, can just download there.

2) The 2nd download-advanced option was more complicated. However, I still could download on the protected page at instant speed ( Time sensitive ).
Many things need to be done before using PHP code. I was using the first time and I set it straight!


From WP dashboard: Usage Configurations-Executing PHP code

exec-php/docs/readme.html#execute_php

With Exec-PHP you can execute PHP code in the excerpt and the content portion of your posts and pages (in the following called articles) as also as in text widgets. To execute code, just type in the PHP code as you usually would, encapsulated in <?php ?> tags.

Writing code in articles or text widgets may require some further tuning to the blog and user settings. To have the plugin work properly with PHP code in the content of a users article, do as follows:

* Disable tag balancing 'WordPress should correct invalidly nested XHTML automatically' through the 'Settings > Write' menu in WordPress
* Disable the WYSIWYG editor in the user's settings through the 'Users > Your Profile' menu
* Assign the 'unfiltered_html' capability to the user
* Assign the 'exec_php' capability to the user

>> Write articles with php, must off the visual editor from my profile.
>>Write articles without php, just ignore the warnings.

Enabling Visual Editor: Install plugins below
"deactive-visual-editor".


Thank you for S2 member
Have a great day

Statistics: Posted by fbapps — April 28th, 2011, 4:24 am


]]>
2011-03-06T14:17:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=7452#p7452 <![CDATA[Re: Single Page Download - unlimited?]]>
First of all I am not a 100% fluent in english, so please excuse any mistake.

I sell digital downloads, and I was trying ot use the Specific Post/Page feature, meaning I don't want my customers to have to log in in order to download the files they just bought.

Right now everything is working perfect up to the point where they click on the file to perform the download, as soon as they do all they get is this message:

503 ( Invalid Key ): Sorry, your access to this file has expired. Please contact Support for assistance.

This should not happen, because they are comming straight back from Paypal, hence a new fresh key should have generated; but for some reason the system seems to be either failing to read the key or not generating a key at all, I don't know.

What am I doing wrong? Any ideas?

Here is an example of the link code I am currently using:

<a href="http://mysite.com/?s2member_file_download=File.avi&s2member_file_download_key=<?php echo s2member_file_download_key("File.avi"); ?>Click her to download - File.avi</a>

Please let me know if you would like to me give you ftp access, or if you need my help to replicate the error so can you take a look at it. I am also willing to pay for your troubleshooting.

BTW, I think S2member is awesome.

Statistics: Posted by donlagarto — March 6th, 2011, 2:17 pm


]]>
2010-08-05T16:36:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2171#p2171 <![CDATA[Re: Single Page Download - unlimited?]]>

1) when someone purchases via Paypal e-check, is the download DELAYED until the funds clear? And if not, is there a way to delay the email that sends the download cheque, otherwise they can get the product for free if their cheque does not clear.

No, at the present time ( s2Member v3.1.5 ), an e-check transaction passes through; just like any other transaction, without any concern for whether it's pending or not. This may change in a future release; but for now, you can either accept eChecks, or you can choose to NOT accept eChecks. If you would rather not accept eCheck transactions, you can disable them from inside your PayPal account
( PayPal Account -> My Profile -> Payment Receiving Preferences )


2) if someone disputes via Paypal after paying for the product saying they did not receive the e-product, is there a log that can be shown to Paypal to prove that the download link was sent?

Yes. However, you will need to enable this feature. From your WP Dashboard, go to: s2Member -> PayPal Options -> Account Details, and enable s2Member's logging routines. s2Member will record when/why and to whom the email was sent. This information is stored inside: /plugins/s2member-logs/paypal-ipn.log

Statistics: Posted by Jason Caldwell — August 5th, 2010, 4:36 pm


]]>
2010-08-05T16:16:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2166#p2166 <![CDATA[Re: Single Page Download - unlimited?]]> 1) when someone purchases via Paypal e-check, is the download DELAYED until the funds clear? And if not, is there a way to delay the email that sends the download cheque, otherwise they can get the product for free if their cheque does not clear.
2) if someone disputes via Paypal after paying for the product saying they did not receive the e-product, is there a log that can be shown to Paypal to prove that the download link was sent?
Thank you!

Statistics: Posted by mrsshopper — August 5th, 2010, 4:16 pm


]]>
2010-08-05T15:09:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2149#p2149 <![CDATA[Re: Single Page Download - unlimited?]]> Statistics: Posted by Jason Caldwell — August 5th, 2010, 3:09 pm


]]>
2010-08-05T14:03:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2138#p2138 <![CDATA[Re: Single Page Download - unlimited?]]> Statistics: Posted by mrsshopper — August 5th, 2010, 2:03 pm


]]>
2010-08-05T13:57:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2136#p2136 <![CDATA[Re: Single Page Download - unlimited?]]>

I currently have it set at 3 IPs per customer. So if I had 3 IPs per customer, and had sent the link to 3 computers at 3 different locations it would all be accessible, but if I sent it to a 4th location then the link would be disabled (punished?) Just want to be clear - so perhaps I should only have 2 IPs per customer in that case - ideally it would be 1 IP but most people I know would access via their computer, iphone, work, etc.

Yes, you are correct in all cases; and yes.. having just ONE unique IP would probably cause complaints.

Statistics: Posted by Jason Caldwell — August 5th, 2010, 1:57 pm


]]>
2010-08-05T13:55:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2134#p2134 <![CDATA[Re: Single Page Download - unlimited?]]> Statistics: Posted by mrsshopper — August 5th, 2010, 1:55 pm


]]>
2010-08-05T13:50:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2133#p2133 <![CDATA[Re: Single Page Download - unlimited?]]>
Yes, that tinyURL is generated by s2Member so it can pass through an email gracefully. This link IS protected though. It cannot be passed around the Internet, because it is protected by the IP protection routines that can be configured inside your WP Dashboard, under:
s2Member -> General Options -> IP Restrictions

In addition, the link will self-expire, based on the way
you generated your PayPal Button Code. In this example, that is 1 day.

Statistics: Posted by Jason Caldwell — August 5th, 2010, 1:50 pm


]]>
2010-08-05T13:47:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2132#p2132 <![CDATA[Re: Single Page Download - unlimited?]]> Your order can be retrieved here:
%%sp_access_url%%
( link expires in %%sp_access_exp%% )

Statistics: Posted by mrsshopper — August 5th, 2010, 1:47 pm


]]>
2010-08-05T13:44:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2130#p2130 <![CDATA[Re: Single Page Download - unlimited?]]>

Your order can be retrieved here:
http://tinyurl.com/[and there is a short number here]
( link expires in 1 day )


When one clicks on that tiny url, or copy/pastes it, it gives them access to my product. That is fine if they paid for it, but they can email that link and others can access the page and downloads as well.

As to where the tiny.url link comes from, I assumed it was from s2member because the rest of the email is from s2member (my site).

Statistics: Posted by mrsshopper — August 5th, 2010, 1:44 pm


]]>
2010-08-05T13:37:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2128#p2128 <![CDATA[Re: Single Page Download - unlimited?]]> Where is the tinyURL coming from exactly?

Statistics: Posted by Jason Caldwell — August 5th, 2010, 1:37 pm


]]>
2010-08-05T13:29:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2127#p2127 <![CDATA[Re: Single Page Download - unlimited?]]> Statistics: Posted by mrsshopper — August 5th, 2010, 1:29 pm


]]>
2010-08-05T12:16:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2123#p2123 <![CDATA[Re: Single Page Download - unlimited?]]>
~ I've put together a video tutorial covering this very topic.
http://www.s2member.com/file-download-options-video/

Please let me know if you have any questions after having watched the video.

Statistics: Posted by Jason Caldwell — August 5th, 2010, 12:16 pm


]]>
2010-08-05T12:12:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2121#p2121 <![CDATA[Re: Single Page Download - unlimited?]]>

The only way a visitor can gain access to this Download Link with a Key in it, is if they purchased Access to Post ID #121. Once a visitor gains access to this protected Post, a special Download Link is automatically generated specifically for them, and it cannot be shared. The download link is also time-sensitive.

How come the link can't be shared?
Because s2member_file_download_key ("eBook.pdf") = an installation-specific hash of s2member_xencrypt(date("Y-m-d") . $_SERVER["REMOTE_ADDR"] . $_SERVER["HTTP_USER_AGENT"] . $file)


What step am I missing? Specifically, I don't understand this part:

Because s2member_file_download_key ("eBook.pdf") = an installation-specific hash of s2member_xencrypt(date("Y-m-d") . $_SERVER["REMOTE_ADDR"] . $_SERVER["HTTP_USER_AGENT"] . $file)
[/quote]

Statistics: Posted by mrsshopper — August 5th, 2010, 12:12 pm


]]>
2010-08-03T01:37:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=2034#p2034 <![CDATA[Re: Single Page Download - unlimited?]]>
I received the email with the URL to the page, clicked on it, and received access. To test it, though, I forwarded that email to another email on another computer. I opened that email, clicked on the link and I could access it as well. Does this mean someone can purchase my product (download), and then forward to others and they can access the page as well?

I read your post on the keys and not sure I get that either, especially the part that reads the key will allow access for the day only - what if I wanted the access to be 3 days?

Thanks in advance for your help, much appreciated.

Statistics: Posted by mrsshopper — August 3rd, 2010, 1:37 am


]]>
2010-07-22T19:50:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1744#p1744 <![CDATA[Re: Single Page Download - unlimited?]]>
mrsshopper wrote:
When I go that page, I see the Paypal button and the link that reads "Welcome" but when I click on the link, it goes nowhere. What have I missed?


It sounds like you might have placed the Download Link on your Membership Options Page. The Download Link needs to be inserted into the protected Post/Page that a Customer is purchasing access to.

*OK....* I was able to reproduce this bug just now. I'm opening a ticket on this issue. It appears there is an issue with this in the latest release of s2Member. I'll report back shortly.

Sorry, false alarm. This has been tested with the latest release again ( v3.1.4+ ); and all is working OK. The only oddity is that you have to make sure that you've configured a Membership Options Page before s2Member's File Download Protections are enabled; even for links with a Download Key.

In v3.1.5+, this behavior will be modified, so that a Membership Options Page will NOT have to be configured for protection on files with a Download Key. Download Key protection should be completely independent from Membership Level Access; so this will be changed for conformity.

Other that minor issue, everything appears to be in good working order. Please try this again when s2Member v3.1.5+ becomes available later this evening. If you continue to have problems, please let me know. Or better yet, send us a demo URL so I can see this problem in action. That will help greatly in a diagnosis.

Statistics: Posted by Jason Caldwell — July 22nd, 2010, 7:50 pm


]]>
2010-07-21T16:45:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1686#p1686 <![CDATA[Re: Single Page Download - unlimited?]]> - created a sales page for downloadable product
- created a download page (protected)
- set up paypal button on sales page
- downloaded Exec-PHP and activated it
- added the above code (<a href="http://www.yoursite.com/?s2member_file_download=eBook.pdf&s2member_file_download_key=<?php echo s2member_file_download_key("eBook.pdf"); ?>">Download My eBook</a>) to the download page (I changed all the custom names to my site, changed "download my ebook" to "welcome"etc)
- uploaded product (.flv) to my server (/plugins/s2member-files/)

When I go that page, I see the Paypal button and the link that reads "Welcome" but when I click on the link, it goes nowhere. What have I missed?

Thank you!

Statistics: Posted by mrsshopper — July 21st, 2010, 4:45 pm


]]>
2010-07-07T18:42:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1437#p1437 <![CDATA[Re: Single Page Download - unlimited?]]> There are no dense questions here.
~ It's all good.

So let's say you have eBook.pdf
You upload that file here:
/wp-content/plugins/s2member-files/eBook.pdf

Ok, so now the file is protected by s2Member.

So now, from your WP Dashboard, go to:
s2Member -> Download Options -> Inline Extensions
and type "pdf" into the Inline Extensions field.

You now have two choices in how you provide access to this file.

1. You can let s2Member's configuration take care of everything. You configure Download Restrictions in your WP Dashboard, by navigating to: s2Member -> Download Options -> Protected File Downloads. You can configure which Levels have access, and how many files they're allowed to download in any given period of time. In this case, you would just link to the file on your site, anywhere, without concern for link sharing, because a Member has to be logged in to gain access.
Code:
http://www.yoursite.com/?s2member_file_download=eBook.pdf
s2member_file_download = location of the file, relative to the /s2member-files/ directory.
In other words, just the file name itself, and that's it.

2. You can use Advanced Download Keys.
In this case, you need to have the Exec-PHP plugin installed, or have access to your WP theme files. One or the other; because you need to use a PHP tag in order to generate the encrypted ( time sensitive ) Download Key that is unique to each and every Internet User. In this example, we're using the s2Member API function, called "s2member_file_download_key()".
Code:
http://www.yoursite.com/?s2member_file_download=eBook.pdf&s2member_file_download_key=<?php echo s2member_file_download_key("eBook.pdf"); ?>

So, in your case; a real world example, might be the following.

You sell Specific Post/Page Access to Post ID# 121, titled: "My Special eBook".
You install the Exec-PHP plugin, and in the content for this protected Post ( Post ID #121 ), you add a link that reads "Download My eBook", and it looks like this in the HTML tab of your WordPress Editor.
Code:
<a href="http://www.yoursite.com/?s2member_file_download=eBook.pdf&s2member_file_download_key=<?php echo s2member_file_download_key("eBook.pdf"); ?>">Download My eBook</a>

To summarize:
The only way a visitor can gain access to this Download Link with a Key in it, is if they purchased Access to Post ID #121. Once a visitor gains access to this protected Post, a special Download Link is automatically generated specifically for them, and it cannot be shared. The download link is also time-sensitive.

How come the link can't be shared?
Because s2member_file_download_key ("eBook.pdf") = an installation-specific hash of s2member_xencrypt(date("Y-m-d") . $_SERVER["REMOTE_ADDR"] . $_SERVER["HTTP_USER_AGENT"] . $file)

There are many other ways in which Download Key's could be used/generated, but this is one example that I think best applies to your situation. Let me know if anything is unclear. ~Thanks.

Statistics: Posted by Jason Caldwell — July 7th, 2010, 6:42 pm


]]>
2010-07-03T20:34:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1379#p1379 <![CDATA[Re: Single Page Download - unlimited?]]>
Jason Caldwell wrote:
Hopefully your plug-in will have a way to handle the huge eCommerce market where what we sell is simply a download and the actual link to the file is hidden and protected.

P.S.

The eCommerce is sold separately from memberships and I don't want the buyer to have to become any kind of a member.

Please read back over the updated documentation for "Download Keys" in s2Member v3.1.2+.
See: s2Member -> Download Options -> Advanced Download Restrictions
~Thanks. I think we have what you need in s2Member 3.1.2+
Please let me know if you have any questions, or if we are still not there yet.


I've read about the keys but can't follow it - maybe a concrete example might help.

I just can't get it going.

Where do I put this protected file? And how does the key work?

I really want to have a page describing an eBook and a button to click to buy it and return to a download page that is only good for so many days or so many downloads and sharing that link won't work for others.

I just don't understand the Key thing and how it works. I don't see how a PayPal button links to a download page after payment.

All I get are 404 errors:
404: Sorry, file download not found. Please contact Support for assistance.

Sorry, if I'm dense on this topic - I just need a real world example to help me.

Statistics: Posted by PerryM — July 3rd, 2010, 8:34 pm


]]>
2010-06-30T16:42:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1334#p1334 <![CDATA[Re: Single Page Download - unlimited?]]> ~ and thanks for the suggestion also.

Statistics: Posted by Jason Caldwell — June 30th, 2010, 4:42 pm


]]>
2010-06-29T14:33:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1314#p1314 <![CDATA[Re: Single Page Download - unlimited?]]>
It works like a charm. I tested it against so many download and leech programs and your name all over it :) You should have something like (This file been protected by s2Member) on the Pop Box

Thank you :)

Statistics: Posted by drbyte — June 29th, 2010, 2:33 pm


]]>
2010-06-29T01:49:07-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1302#p1302 <![CDATA[Re: Single Page Download - unlimited?]]>

Hopefully your plug-in will have a way to handle the huge eCommerce market where what we sell is simply a download and the actual link to the file is hidden and protected.

P.S.

The eCommerce is sold separately from memberships and I don't want the buyer to have to become any kind of a member.

Please read back over the updated documentation for "Download Keys" in s2Member v3.1.2+.
See: s2Member -> Download Options -> Advanced Download Restrictions
~Thanks. I think we have what you need in s2Member 3.1.2+
Please let me know if you have any questions, or if we are still not there yet.

Statistics: Posted by Jason Caldwell — June 29th, 2010, 1:49 am


]]>
2010-06-28T00:20:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=35&p=1279#p1279 <![CDATA[Re: Single Page Download - unlimited?]]>

Sam

Statistics: Posted by drbyte — June 28th, 2010, 12:20 am


]]>