Page 1 of 1

Free access to a large group of new users

PostPosted: February 3rd, 2012, 5:47 pm
by s_d_p
Is there a way to allow a large group of users free access based on their email addresses?

My client is using s2Member Pro to sell access to specific posts. The client is negotiating a deal with several universities to allow their students free access to the entire site. For example, all subscribers with an @school.edu email address would gain free access to all the posts. I would very much appreciate any advice on how to accomplish this, or something similar.

Re: Free access to a large group of new users

PostPosted: February 4th, 2012, 5:03 am
by Cristián Lávaque
You'd need to create a hack that checks the user's email after registration and change his role based on that.

You can probably use the registration notification for this, with a custom script. WP Admin -> s2Member -> API / Notifications -> Registration

This will help you too: viewtopic.php?f=36&t=2599

Re: Free access to a large group of new users

PostPosted: February 4th, 2012, 12:54 pm
by s_d_p
Perfect. Thanks.