Page 1 of 1

s2Member + BuddyPress initial settings

PostPosted: October 13th, 2010, 8:52 am
by LONDONPHOTOGRAPHER
Hi there, I am new here having found s2Member plugin for Wordpress as an integrated companion for BuddyPress. I have worked through my BP setup and integration and now I am turning my attention to getting s2Member working with BP.

I have the basic s2Member Plugin installed along with BuddyPress and my customised WP theme.

I now need to know how to set up a user registration flow as follows

a) New members register using the buddypress 'Sign Up' page.
b) When the Sign Up fields are complete the new member clicks the BP 'Complete Sign Up' button.
c) The new member is redirected to the s2 'Membership Options' page.
d) The new member can choose a Free (level 0) or a paid membership level.
e) 'Free' account option results in an activate account email
f) Paid account option, directs to Paypal and finally though to activate account email.

As a result the the user is added as a member with a buddypress profile and associated s2 account attributes.

    Is there a video or set of instructions I can refer to?
    Do I need s2 basic or s2 Pro to accomplish this?
    If I require s2 Pro then are the relevant buddypress instructions/guide provided as a part of this add-on module?

Apologies if this has already been asked and answered - I did have a search on this forum but could not find the answer.

With thanks, Ian

Re: s2Member + BuddyPress initial settings

PostPosted: October 15th, 2010, 6:22 am
by LONDONPHOTOGRAPHER
I am actually thinking it would be better to present the s2member 'Member Options' page first then direct to BuddyPress registration page then onto PayPal if a paid subsription was chosen.

In this case I need to know how to override the BuddyPress 'Sign Up' option so that s2 'Member Option' is displayed first. Then direct to the BuddyPress registration page, followed by PayPal if the member selected a paid subscription.

I am genuinely stuck on this as s2 has a vast array of options I really do not know where to start.

Many thanks, Ian (total utter newbie)

Re: s2Member + BuddyPress initial settings

PostPosted: October 17th, 2010, 1:46 pm
by gwc_wd
I'm not sure exactly what you are asking because there could be a lot of different things from the open-ended of the post. But I'll give it a try.

Under S2M General Options, you'll find the setting for "Membership Options Page" which it appears you have already created.

This page is properly understood as the sign-up page. "Membership Options" in this context means options for what level of membership. So, as in the S2M notes, it is where you place your paypal buttons.

If the goal is to have a new user complete the "regular" registration and then click a button to go to the purchase options page, in principle you could create a custom field in the BP Profiles set-up, pick a text field and simply key in the http address of your S2M Member Options page. I think.

The way I do it is to have a free membership and then use S2M to redirect unregistered and free registered to the Member Options Page when the user tries to access restricted content.

S2M does not support Custom Registration fields if you are using BuddyPress so you may want to have the BP Registration process to go first.

As to have the Membership Options page provide two choices -- one to paid or one to email, the paid is easy, just insert a paypal button they can click. Email validation I don't know.

As to the question about tutorials, the S2Member Info on the S2M menu contains a LOT of helpful information and going through each of the options in the config has very good notes about each option mostly with examples. A lot of the questions asked in the forum are actually clearly answered right under the option -- redirecting to a BP user's home page for example has the actual code written right there.

You do not need the Pro version to do any of the above. But, if you value your time at all, a custom install is well worth the price and Jason clearly documents what he does when he goes in to get your system working.

The Pro version is mostly useful if you are going to use PayPal Pro and there are good reasons to do so. But I am not using PayPal Pro and I still got the Pro version because for me the most important thing is to ensure Jason is deriving enough income to keep developing what has become a highly complex and very valuable library of thousands of lines of code.

Hope I've been of some help.

Re: s2Member + BuddyPress initial settings

PostPosted: October 22nd, 2010, 4:54 am
by LONDONPHOTOGRAPHER
Yes you have been a really big help, thank you!!!

To clear up any vagaries I mentioned about my required registration flow:

Website HomePage showing BP Nav menu -> Redirect 'BP Signup' menu option to 'S2 Member Options Page'
'S2 Member Options Page' -> User selects 'Free' or 'Paid button'
'Free' or 'Paid button' -> Redirect to 'BP Signup' page
'BP Signup' page submit -> redirect to PayPal or BP Signup Complete page

From my point of view I really just have no idea how to actually go about harnessing the BP nav menu and then redirect a user to the right page - so from your reply I am thinking I need to look into how custom fields work and scripting conditionals?

May be I just need to set aside the time to watch all the videos and on screen help. At least there is the custom install option.

Many thanks. I'm excited about eventually getting this working :-)