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™

How input new levels after editing wp-config.php

s2Member Plugin. A Membership plugin for WordPress®.

How input new levels after editing wp-config.php

Postby bluej » August 3rd, 2011, 9:18 pm

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.
User avatar
bluej
Registered User
Registered User
 
Posts: 19
Joined: August 3, 2011

Re: How input new levels after editing wp-config.php

Postby Cristián Lávaque » August 4th, 2011, 12:28 am

Thahnk you very much for reporting this. I'll let Jason know about it.
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: How input new levels after editing wp-config.php

Postby bluej » August 4th, 2011, 12:34 am

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.....)
User avatar
bluej
Registered User
Registered User
 
Posts: 19
Joined: August 3, 2011

Re: How input new levels after editing wp-config.php

Postby Cristián Lávaque » August 4th, 2011, 1:04 pm

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. :)
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: How input new levels after editing wp-config.php

Postby bluej » August 19th, 2011, 1:26 pm

Thank you that worked
User avatar
bluej
Registered User
Registered User
 
Posts: 19
Joined: August 3, 2011

Re: How input new levels after editing wp-config.php

Postby Cristián Lávaque » August 19th, 2011, 10:05 pm

Cool. :)
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


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron