Page 1 of 1

2 free and 2 paid memberships

PostPosted: May 28th, 2010, 9:03 am
by EastCoaster
Hi,

How do you set two free levels of membership in s2member? I tried setting the amount due to 0.00 but that didn't work.

Please help! Thanks!

Re: 2 free and 2 paid memberships

PostPosted: May 28th, 2010, 9:10 am
by rossagrant
See s2Member -> General Options -> Login Welcome Page -> Allow Free Subscribers.

For details of allowing Free Subscriptions.

Re: 2 free and 2 paid memberships

PostPosted: May 28th, 2010, 9:25 am
by EastCoaster
Hi, thanks for your post. I did that however thats just one step. How do I define each role?

Also what about the paypal buttons? Do I just not put an buttons for the two free levels?

Thanks!

Re: 2 free and 2 paid memberships

PostPosted: May 28th, 2010, 9:55 am
by rossagrant
If the level is free then no button is required as there is no payment needed. The free members can upgrade by using the 2 paid buttons at any time. In terms of assigning different roles for free users, jason (the plugin author) may be best in aiding you with this. I imagine it will be a case of setting up custom capabilities or you could manually asign members roles in the admin panel. There must be an automated route though Im sure.

Im sure jason will reply with a solution soon.
Sorry I can't be of more help.

Re: 2 free and 2 paid memberships

PostPosted: May 28th, 2010, 10:09 am
by EastCoaster
Ok thanks for the claification. I'll wait to hear more from Jason. Thanks again!

Re: 2 free and 2 paid memberships

PostPosted: May 28th, 2010, 11:09 am
by EastCoaster
One more question... Because I have 2 free memberships and 2 paid memberships, how can I setup two different welcome pages. One that welcomes free member and another that welcomes paid members? Is it possible?

Re: 2 free and 2 paid memberships

PostPosted: June 23rd, 2010, 10:30 pm
by Jason Caldwell
I'm considering this in a future release; by providing site owners with a way to set a different Login Welcome Page for each Level. Until this is integrated into the s2Member Framework, I would suggest using Advanced Conditionals for this, inside your existing Login Welcome Page.

There is more information on Advanced Conditionals, inside your WP Dashboard, under:
s2Member -> API Scripting -> Advanced Conditionals

Here is a quick example.

Step 1. Install the Exec-PHP plugin.
http://wordpress.org/extend/plugins/exec-php/

Step. 2. Place something like this in your Login Welcome Page, using the HTML tab.
Code: Select all
<?php if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL === 0){ ?>

    Login Welcome Page content for Free Subscribers.

<?php } else if(S2MEMBER_CURRENT_USER_ACCESS_LEVEL > 0) { ?>

    Login Welcome Page content for paid Members with a Level > 0.

<?php } ?>