Page 1 of 1

How to set up multiple member levels in s2Member Pro?

PostPosted: December 13th, 2011, 9:33 am
by adamarling
Hi, I have s2Member Pro installed and need to go beyond the 4 initial member levels. I tried adding " define("MEMBERSHIP_LEVELS", 5); " to my wp-config.php file, however I see no update in my s2Member Dashboard for Membership Levels.

Am I missing something here, or adding that line to the wrong location?

Any help is appreciated.

thanks,
Adam

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 13th, 2011, 9:52 am
by Eduan
Do you have s2Member Pro?
I believe this feature is for s2Member Pro only...

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 13th, 2011, 10:13 am
by adamarling
Yes, I do have s2Member Pro.

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 13th, 2011, 10:43 am
by Eduan
Are you following these steps?:
With s2Member "Pro" installed, you may configure an unlimited number of Membership Levels. You can set the number of Membership Levels by adding this line to your /wp-config.php file: define("MEMBERSHIP_LEVELS", 4);. Feel free to change the default value of 4 to whatever you need. The minimum allowed value is 1. The recommended maximum is 100.

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 13th, 2011, 5:41 pm
by adamarling
Yes, added that line to my file and do not see any additional membership levels within my WP / s2Member Dash. This is why I was wondering did I add it to the correct /wp-config.php file (root within my WP install directory)?

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 13th, 2011, 6:25 pm
by adamarling
Can anyone elaborate on this? Has anyone tried this?

How can I extend s2Member beyond four Levels?

With s2Member "Pro" installed, you may configure an unlimited number of Membership Levels. You can set the number of Membership Levels by adding this line to your /wp-config.php file: define("MEMBERSHIP_LEVELS", 4);. Feel free to change the default value of 4 to whatever you need. The minimum allowed value is 1. The recommended maximum is 100.


Thanks...

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 15th, 2011, 5:17 am
by Cristián Lávaque
Adam, try putting it near the top of the file.

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 15th, 2011, 8:35 pm
by adamarling
Hi Christian,

I placed that line of code as the first line in wp-config.php. Still nothing. Basically, I have WordPress installed in my root directory for my domain. This is the only place I believe wp-config.php exists.

Once uploaded, I go to my s2Member Dashboard > General Options > Membership Levels/Labels, and still only 4 exist.

Am I looking in the correct place for this change to take affect?

thanks again,
Adam

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 17th, 2011, 4:22 am
by Cristián Lávaque
OK... Are you adding that after the <?php or before it? It should be after.

Code: Select all
<?php
define
("MEMBERSHIP_LEVELS", 5); 


I just tried it and it worked for me.

Also, what version of s2Member are you running? Your quote from the documentation is missing the mention of the opening PHP tag.

Unlimited Membership Levels ( via /wp-config.php )
With s2Member Pro installed, you may configure an unlimited number of Membership Levels. You can set the number of Membership Levels by adding this line to the top of your /wp-config.php file: define("MEMBERSHIP_LEVELS", 4);. This line should be inserted at the top of your /wp-config.php file,right after the <?php tag. Feel free to change the default value of 4 to whatever you need. The minimum allowed value is 1. The recommended maximum is 100 ( when/if needed ).

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 17th, 2011, 11:20 am
by adamarling
Hi Christian,

I actually just updated my WordPress installation to 3.3, and updated s2Member to the latest version and now it works! Thanks for your help...

- Adam

Re: How to set up multiple member levels in s2Member Pro?

PostPosted: December 19th, 2011, 4:59 am
by Cristián Lávaque
Awesome! :)