Page 1 of 1
How input new levels after editing wp-config.php
Posted:
August 3rd, 2011, 9:18 pm
by bluej
Hi,
I just purchased s2member pro to add more membership levels.
I have 0-4 configured and I want to add 2 more
I edited wp-config.php, adding the following after the last line:
define("MEMBERSHIP_LEVELS", 6);
Now this updated wp-config.php file is on the server. Now, how to I type in labels and levels? The admin interface still only has input boxes for levels 0-4.
Please help thanks.
Re: How input new levels after editing wp-config.php
Posted:
August 4th, 2011, 12:28 am
by Cristián Lávaque
Thahnk you very much for reporting this. I'll let Jason know about it.
Re: How input new levels after editing wp-config.php
Posted:
August 4th, 2011, 12:34 am
by bluej
This applies to configuring the buttons and the access restrictions, too, I suppose. All the configuration options go from 0 - 4....
(I am wondering if I can just hand-edit the PayPal shortcode generated for option 4 and add Option 5.....)
Re: How input new levels after editing wp-config.php
Posted:
August 4th, 2011, 1:04 pm
by Cristián Lávaque
Jason figured out what the problem was, the line should go near the top of the
wp-config.php file. He updated the documentation for the coming release:
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 into the top of your /wp-config.php file, right after after the <?php tag. Feel free to change the default value of 4 to whatever you need. The miniumum allowed value is 1. The recommended maximum is 100 ( when/if needed ).
I tried it and it worked for me. I hope that solves your problem.
Re: How input new levels after editing wp-config.php
Posted:
August 19th, 2011, 1:26 pm
by bluej
Thank you that worked
Re: How input new levels after editing wp-config.php
Posted:
August 19th, 2011, 10:05 pm
by Cristián Lávaque
Cool.