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™

Membership options help - S2Members Pro.

s2Member Plugin. A Membership plugin for WordPress®.

Membership options help - S2Members Pro.

Postby MediocreFred » November 24th, 2011, 11:18 pm

Hello,

Just purchased S2Member Pro because it has the Google Checkout option - happens to be the only option that the site owner supports.

Our existing membership form (site is for a non-profit organization that organizes various events - some events are free for members while the rest have discounted tickets for members) looks like this:

1. Single Adult Member (Primary) - $100
2. Couple + 1 child (Primary) - $200
3. Add adult member to a Primary membership - $50
4. Add a child to a Primary membership - $25

5. Donor - Single Adult - $250
6. Donor - Family - $500
7. Add adult Donor - $100
8. Add child D0nor - $50

9. Sponsor - Individual - $500
10. Sponsor - Family - $1000

Pretty much the only usage pattern is that a new (or renewing member) would come to the membership form page, pick one or more (so there needs to be a quantity option) from the list (for example, 1 single donor and 1 single member, or, 1 Couple membership and add an adult or add 2 adults and 2 children). They would then be prompted to enter the names (and preferably ages of the children) for the additional members and checkout using Google Checkout. Only the person entering this needs a login/user account. We have no issues with members of the family sharing the account and don't need to track that.

How would I implement something like this in an S2Member Pro form? The only payment option is Google Checkout.

Thanks,
MediocreFred.
User avatar
MediocreFred
Registered User
Registered User
 
Posts: 10
Joined: November 21, 2011

Re: Membership options help - S2Members Pro.

Postby MediocreFred » December 6th, 2011, 9:12 pm

No suggestions at all? Is there no way to accomplish this?

Does this mean that my $69 purchase of S2Members Pro license was a waste?

Thanks,
MediocreFred.
User avatar
MediocreFred
Registered User
Registered User
 
Posts: 10
Joined: November 21, 2011

Re: Membership options help - S2Members Pro.

Postby Bruce C » December 6th, 2011, 9:54 pm

Sounds like you're going to need to pass variables into the form somehow depending on the number of people. You need to set up a form on a page with either a dropdown or a radio group and allow it to post into a variable on a PHP form. If you need help post back and I'll give you a code sample to work with
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Membership options help - S2Members Pro.

Postby MediocreFred » December 7th, 2011, 5:14 pm

Thanks Bruce. I am still unclear on how I would implement it.

Here's a dev version of the site I am putting together. http://rasikaportland.ravisnet.com/?page_id=75. I originally used WP ECommerce to build the membership page (defined membership as a product category) but had no way of tying a membership to a user account. Hence, the decision to use s2member pro (got the pro because it supports Google CheckOut).

I am a php rookie (but, am a c#/java/asp.net developer professionally) and so, would appreciate any samples you can provide.

The functionality that I think is a must-have is that a person signing up needs to be able to pick multiple items, pay using Google Checkout and then have his transaction confirmation (or equivalent) tied to his user account along with the date of the transaction. So, if an admin browses through the list of users, he should be able to see which users have purchased memberships and on what date.

The site will have a total of around 1000 users with probably 200 (max) paying members/donors. So, if the admins get an email for every new paid membership, they can go in and add additional user info (such as member level (member/donor/sponsor), the amount paid and when the subscription expires) manually.

A nice to have will be to capture the names of additional members that are being added to a membership.

Thanks,
MediocreFred.
User avatar
MediocreFred
Registered User
Registered User
 
Posts: 10
Joined: November 21, 2011

Re: Membership options help - S2Members Pro.

Postby Bruce C » December 7th, 2011, 5:27 pm

You'll need to make multiple checkboxes:

<input type="checkbox" name="paymentoptions" value="option1"/>, and have it in a form that will be sent to another page which checks the values, then run an array check to see how much each is worth.

Code: Select all

<?php
$amount 
= 0;
if (isset($_POST['paymentoptions']['option1']))
    $amount = $amount + 100;
else if (isset... /* continue checking for each, and all the value... then use that value to fill a shortcode below */
?>
[s2member-fake-shortcode amount="<?php echo $amount; ?>"/]


Not sure if that code's 100% correct, but it should get you started.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: Membership options help - S2Members Pro.

Postby Cristián Lávaque » December 9th, 2011, 2:05 am

About the profile fields, you could, instead of having a field for each person in the family, you could have two custom fields: spouse, children. Then the children one would just let the person enter all the names there. You could probably ask to have the ages entered next to the name, e.g.: John (8), Mary (10). Would that work?
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: Membership options help - S2Members Pro.

Postby MediocreFred » December 9th, 2011, 9:31 am

Hi Cristián,

Yes, that would work. I'd like to keep this as simple as possible and still get at least the membership going.

Bruce's suggestion is way more than what I can accomplish at this time.

Is there any way I can customize any of the S2Members Pro registration forms easily to add a quantity option?

The fallback option that I really don't like is to use the Membership page as is (using WP-ECommerce as linked above in post #4) and use S2Members just to capture the registration. An admin would then have to go in, and based on the GoogleCheckout Confirmation email, assign a membership level/role to the member and add in the expiry date too. Going this route would make my $69 purchase of S2Members Pro a waste (probably my fault for not evaluating the plugin in detail first, but, I was hopeful the combination of customizable registration forms, Google Checkout and the active forum would be all I needed to make this work).

Another reason I cringe at using separate plugins for the registration and membership purchase is that tying the membership account to the gmail account used during Google CheckOut becomes a manual process and so, prone to error.

One option I thought of is to force a new member to sign up for 1 individual/family membership first using S2Members Pro. Then the member could go in and add additional individuals to the existing membership. The problem with it is that it is a few extra steps and they would have to checkout twice. And, for renewing members, it's still has hassle.

I am open to any suggestions and changes/tweaks to the workflow. Am even open to having the site admins do some manual data entry for each member. But, if there is any reasonably easy way to customize S2Member Pro's registration forms to add the options I need, that will be fantastic.

Thanks,
MediocreFred.
User avatar
MediocreFred
Registered User
Registered User
 
Posts: 10
Joined: November 21, 2011

Re: Membership options help - S2Members Pro.

Postby Cristián Lávaque » December 10th, 2011, 8:18 pm

OK. Hmm...

You have an unusual membership setup, which is hard to fit into the Levels model that gives incremental access. I'm not even sure I understand if you'll be restricting access to the content based on these.

You could create this with custom capabilities, but custom profile fields can't be controlled with theses yet (coming in the near future), that only works with Levels or you just have them for everyone.

If you don't mind having the custom fields show for everyone, then watch this intro video on custom capabilities: http://www.s2member.com/custom-capabilities-video/

Otherwise, you'd need to make it work with Levels for now. You could have the Level 1 be 1 adult, Level 2 a couple, Level 3 a couple and one child, Level 4 with two children, etc. Then the honor statuses could be given with the custom capabilities.

About the form, you could have a previous step where the person chooses the plan and submits to the page where the pro-form is, which could be adjusted dynamically as explained here: viewtopic.php?f=36&t=1604

I hope it gives you some ideas. :)
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: Membership options help - S2Members Pro.

Postby MediocreFred » December 11th, 2011, 8:50 am

Thanks Cristián.

As for restricting access to content, the site is largely public. However, there will be some content that is accessible only to users with an active paid membership (no distinction between levels of membership and so, no incremental access); for instance, everybody will be able to access details of events and purchase tickets; however, only active paying members will be able to post comments, download video/audio snippets etc.

I went through a couple of the initial videos; will go through the custom capabilities one and ponder on your other suggestions. Will post back in a couple of days.

Most of our members like the ease of use of the current Membership page. I am hoping that this new form/workflow remains as easy to use, but, improves ease of administration (for starters, tying a paying member to a wordpress user account reliably is a big step!).

Thanks,
MediocreFred.
User avatar
MediocreFred
Registered User
Registered User
 
Posts: 10
Joined: November 21, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 2 guests

cron