Home › Forums › Community Forum › Too Many IP Addresses and multiple users
This topic contains 8 replies, has 3 voices. Last updated by Vincent Miele 3 years, 10 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Mar 7th, 2013 at 4:54 am #43937 | |
|
|
I am trying to give away a paid for download, (no membership required). Obviously, I want this page protected and the link is given out in an email. I also want to link to expire after 24 hours once the page is accessed. So I manually generated a Paypal post/page access link, and set the expiration to a “year” – then took that link and placed it in an autoresponder email that the customer gets after ordering. Problem is now they are getting the “Too many IP addresses accessing one secure area! s2member”. I ASSUME it’s because too many different customers have tried to access the same link? Correct? Obviously, I want this on auto-pilot. Need the download protected, need protection from hackers and sharing, and dont want to manually created a link for every customer. Can you please advise what is the best way to handle this? (no membership is required, a protected FREE download, not going through Paypal) thanks |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Thursday Mar 7th, 2013 at 5:48 pm #44001 | |
|
|
Hello Vincent, This error you’re getting is caused by the settings under Dashboard -› s2Member® -› Restriction Options -› Unique IP Access Restrictions. It’s when several IPs login to the same account, and in this case when they all use the same unique page/post link. – Eduan |
|
Posted: Thursday Mar 7th, 2013 at 6:27 pm #44013 | |
|
|
Hi Eduan Here is a summary of scenario: Customer goes through our shopping cart (not paypal) and orders a digital download They are not members, this is a one time download for them. Currently, I created a link, but too many people are using it, causing the error. Plus I want the link to be somewhat secure. What I am trying to avoid is having to manually generate a link everytime someone places an order. Is this scenario possible? |
|
Posted: Saturday Mar 9th, 2013 at 9:24 pm #44175 | |
|
|
Hi Vincent. I’m afraid that other than removing the Unique IP restriction, there won’t be a way to use the same Specific Post/Page Access link for all your customers the way you set it up. And removing the Unique IP restriction, giving that special link is pretty much the same as just using a hidden page with no protection. Users won’t be prevented very much from sharing the link and non-paying users getting to download. You basically need to have a way to tell each user apart if you want to protect the download properly. What I suggest is that you have them register on your site to get to the protected download. But this too would be a problem, because you’re selling outside of what s2Member controls, so you’d need to give them an access link to register on your site, but it’d only be good to register once. You’ll have to integrate the sales process with s2Member so each user gets his own unique registration link or Specific Post/Page link. You can sell with s2Member’s buttons/pro-forms. This would be the best, because it doesn’t require a special integration with s2Member. But you would need to alter your sales process a bit, since you’re using a cart to sell now. You could integrate your current process so the return after payment is to s2Member’s URL with the variables it needs, to process the sale and send a unique link to the user. You can use the PayPal IPN with Proxy Key. The guide to create buttons over at PayPal will also help see the variables needed by s2Member. Or, using the Remote Operations API you can have your system create a account for the user after he purchases. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Remote Operations API[/hilite] Or create a customization so that after purchase in your cart, an s2Member Specific Post/Page access link is generated for that specific user and send the email with it from your customization, not the autoresponder service. I hope that helps. :) |
|
Posted: Saturday Mar 9th, 2013 at 11:52 pm #44183 | |
|
|
Christian, you guys and s2member are amazing. I didn’t think I could do this, but I’ve made some headway on this and we’re 90% there. There are 2 issues that I have to resolve. I implemented this code in the “thank you page”
It successfully created the user and generated the email admin and the user. Wondeful! That said, 1. For the test, i used custom capability, which I can use to deliver the protected content. But that’s not really how I want to deliver it. I want the give access to the protected Specific Post/Page link. Is there a line I can add in there for that? 2. Orders are coming in through our shopping cart (1shoppingcart). The script above generates a user name with their FULL NAME. Problem is if the “email account already exists” as a member, it says API error, email already exists. In other words, the customer may ALREADY have an account, but under a different username (other than their full-name) with the same email. One possible solution to this may be creating a custom field in the shoppingcart, but I’d have to figure that out and see if I can pass that value. However, this may not be realistic since the membership option is product specific. So another solution may be needed. Thank you again for you help. |
|
Posted: Tuesday Mar 12th, 2013 at 10:46 am #44364 | |
|
|
Thanks for the kudos! :)
You could first check by email address if the user is already registered.
You can use s2Member’s method to generate an access link dynamically. http://www.s2member.com/codex/stable/s2member/sp_access/c_ws_plugin__s2member_sp_access/#src_doc_sp_access_link_gen%28%29 Here’s an example: http://www.s2member.com/forums/topic/giving-my-level-1-customers-a-12-hour-link/#post-41816 The code there is all spread out so it’s easier to learn, you can obviously write it like this: [hilite pre_code][/hilite] Since you already register the user, though, I think custom capabilities are a much better way to go, because you can manage his access better. Access links can’t be cancelled, once you gave it, you can’t remove it before it expires, or without changing the protection itself (which would remove access for every other user too). With ccaps you can just edit his profile and that’s it, but ccaps don’t have individual expirations, so that’s a disadvantage. Well, there’s a plugin that I think adds ccap expiration… http://www.s2member.com/forums/topic/ccap-drip-timer-drip-multiple-courses/ I hope that helps. |
|
Posted: Tuesday Mar 12th, 2013 at 7:51 pm #44438 | |
|
|
Chritian I’m almost there. I just didn’t understand the first part That’s the biggest part of this. This might not be feasable…or require really advanced programming, 1. If user does not have an account at all, create it at level 1 Any final help on this subject would be appreciated |
|
Posted: Thursday Mar 14th, 2013 at 9:09 am #44600 | |
|
|
http://codex.wordpress.org/Function_Reference/get_user_by
An email match would be enough to know it’s the same user, right? |
|
Posted: Thursday Mar 14th, 2013 at 1:14 pm #44633 | |
|
|
Yes Christian, an email match may be enough to know. Unfortunately, this coding is beyond my capabilites. I’ll have to adandon this little project. But thanks for the help anyway Vin |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.