PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Download Restriction Questions

s2Member Plugin. A Membership plugin for WordPress®.

Download Restriction Questions

Postby marcuslhoward » September 9th, 2011, 5:59 pm

Hello,

I would like to thank you all again for a great plug-in. My team and I are using the plug-in to control downloads for the files on our website. All files are available to registered members but we use the different levels to control how many files they can download. So for example level 0 can access 1 file per week. Level 1 can access one file, level 2 five files, and level 3 twelve files.

We do not need a time limit on any of the paid membership levels (1,2 & 3) but we are looking for a way to give users the ability to reset their subscription once they reach the download limit. So let's say they purchase level 2 with five files and they download five files, they can purchase level two again to download five more files.

And that's where we are hitting a snag and I wanted to ask the community some questions:

1. Is it possible for once a member hits a download limit they get demoted back down to a free member?
2. Is it possible for a member to purchase the same membership level twice? And if so, once they make the purchase will the download count be reset?
3. If the download count doesn't get reset, is there a way to code in a download count refresh once they repurchase their membership level.

If none of these things are possible...can you suggest a possible solution to how we can have members purchase a set number of downloads and then repurchase another set of downloads and the current download count be reset?

Thanks in advance.
User avatar
marcuslhoward
Registered User
Registered User
 
Posts: 6
Joined: August 16, 2011
Location: Austin, TX

Re: Download Restriction Questions

Postby Cristián Lávaque » September 10th, 2011, 2:04 am

Thanks for the kudos! :)

Jason would be much better at answering these, but I'll try to help in the meantime:

1. Not that I know.

2. Yes, he can purchase the same level again. This would update the EOT time for Buy Now purchases, or reset the recurring date for subscriptions. I'm not sure what happens to download counts. You could test it and see what happens.

3. You could use the Notifications API to have a custom script reset the download count for that user.

Download times can't be sold as such that I know, so i don't know what to suggest for that.

I hope that helps. I'm emailing Jason about this too.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Download Restriction Questions

Postby marcuslhoward » September 10th, 2011, 11:13 am

Thanks Cristián,

I will wait for a response from Jason.
User avatar
marcuslhoward
Registered User
Registered User
 
Posts: 6
Joined: August 16, 2011
Location: Austin, TX

Re: Download Restriction Questions

Postby Jason Caldwell » September 12th, 2011, 5:54 pm

1. Is it possible for once a member hits a download limit they get demoted back down to a free member?

Sorry, that's not possible yet. However, you can create a Download Limit Exceeded Page, and tell s2Member about it. When/if a Customer hits their limit, they'll be redirected to the Download Limit Exceeded Page automatically. There, you could have something like this in the Page.
Code: Select all
<?php
if(($user = wp_get_current_user()) && current_user_is("s2member_level1"))
    $user->set_role("subscriber");
?>
* Note, PHP code won't work inside a WordPress Page without this plugin:
http://wordpress.org/extend/plugins/php ... on-plugin/
2. Is it possible for a member to purchase the same membership level twice? And if so, once they make the purchase will the download count be reset?
Yes, anytime a payment takes place, the Download counter is reset, and the new permissions associated with their new purchase are applied going forward, with a fresh start. The only exception to this is with Independent Custom Capabilities. The sale of Independent Custom Capabilities does NOT affect anything about their Membership, it only adds new Capabilities, nothing more.
3. If the download count doesn't get reset, is there a way to code in a download count refresh once they repurchase their membership level.
Not necessary :-)
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Download Restriction Questions

Postby marcuslhoward » September 12th, 2011, 6:45 pm

Thanks Jason,

This truly helps a lot. I was 99.9% done with the website and ran into pretty significant snag. I will implement this right away.

Thanks again for this great plug-in.
User avatar
marcuslhoward
Registered User
Registered User
 
Posts: 6
Joined: August 16, 2011
Location: Austin, TX


Return to s2Member Plugin

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron