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™

registration link

s2Member Plugin. A Membership plugin for WordPress®.

registration link

Postby Grimpops » September 6th, 2010, 5:53 am

Hello,

I am setting up a website which will require users to sign up to a subscription in order to post content. Like a classifieds board.

I've got it all working fine with s2Member/PayPal however im quite worried that anyone can access the registration page if they know the standard wordpress registration url. (The one that is masked with tinyurl in the confirmation email).

Is there anyway of checking upon login that the user has the wp_s2member_subscr_id column populated with a payment ID, so unless they have a valid payment ID and definatley signed up with a subscription they won't be allowed in?

Thanks
Grimpops
Guest User
Guest User
 

Re: registration link

Postby Elizabeth » September 6th, 2010, 12:11 pm

User avatar
Elizabeth
Moderator
Moderator
 
Posts: 160
Joined: May 12, 2010

Re: registration link

Postby Jason Caldwell » September 7th, 2010, 10:51 pm

Hi there. Thanks for your inquiry.

By default, Open Registration is turned OFF. So the only way a public visitor could register on your site is with paid access. Upon returning from PayPal, s2Member will send your Customer a link where they are granted access to the registration form, and given the ability to register ONE Username.
There is further discussion here. And video tutorials are available here:
http://www.s2member.com/videos/

That being said, I understand your concern over this matter. If you are integrating s2Member into a custom theme or another plugin, and you just want to make double-sure that a Customer paid, you can do something like this:
Code: Select all
if(current_user_can("access_s2member_level1") && get_user_option("s2member_subscr_id")){
// yep, they're a paid Customer!
} 
~ 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


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron