Exclude Certain Email Domains from Membership Signup

In this recipe, we demonstrate how to exclude members from using specific email domains when signing up. It’s a useful recipe when you are trying to blocking disposable email accounts. This is an inverse recipe for a previous post that demonstrated how to require members to use one or more approved email domains….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Restrict Membership Signup by Email Domain (Useful for Education, Corporate, or Association Memberships)

In this recipe, we demonstrate how to require members to use an approved email domain. For example, all members must use their valid university or corporate email account in order to be accepted as a member….

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now

Redirect Away from Checkout if User Doesn’t Meet Membership Requirements

We’ve blogged previously about requiring a specific level to allow registration for another level. In that post, the registration check occurs after the user submits the checkout form. This new code gist immediately redirects away from the checkout page if the user’s current membership level is not ID = 1 or is unset. Again… why…

This page requires a Plus Account or higher.


Already have an account?

Log In

New to this site?

Register Now