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™

Free access to a large group of new users

s2Member Plugin. A Membership plugin for WordPress®.

Free access to a large group of new users

Postby s_d_p » February 3rd, 2012, 5:47 pm

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.
User avatar
s_d_p
Registered User
Registered User
 
Posts: 23
Joined: July 26, 2011

Re: Free access to a large group of new users

Postby Cristián Lávaque » February 4th, 2012, 5:03 am

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
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: Free access to a large group of new users

Postby s_d_p » February 4th, 2012, 12:54 pm

Perfect. Thanks.
User avatar
s_d_p
Registered User
Registered User
 
Posts: 23
Joined: July 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests