latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

How do I create more than 4 levels?

Home Forums Community Forum How do I create more than 4 levels?

This topic contains 9 replies, has 4 voices. Last updated by  Cristián Lávaque 4 years, 2 months ago.

Topic Author Topic
Posted: Tuesday Oct 16th, 2012 at 8:22 pm #28612
Anissa Eve
Username: anissa

Hello,
I just upgraded to pro because I need more than 4 levels. I see that I have to go into my database and make code changes. I have no idea how to begin…all I know is how to get into my cpanel, can you give me step by step instructions for what to do after I am in my cpanel? Thanks!

List Of Topic Replies

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Wednesday Oct 17th, 2012 at 9:04 am #28679

Hi Anissa.

No, you don’t need to touch the database, you just need to add a line of code to your /wp-config.php file. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Levels/Labels[/hilite]

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 [hilite code]

I hope that helps. :)

Posted: Wednesday Oct 17th, 2012 at 12:55 pm #28719
Anissa Eve
Username: anissa

I went into my cpanel then file manager, I found the file and I put in this code define(“MEMBERSHIP_LEVELS”, 4); and changed the “4” to “24”…i saved it, but when I go back into my wordpress s2member I dont see these other levels…i still see only 4…do I have to create them somewhere else? what is my next step?

  • This reply was modified 4 years, 2 months ago by  Anissa Eve.
  • This reply was modified 4 years, 2 months ago by  Anissa Eve.
  • This reply was modified 4 years, 2 months ago by  Anissa Eve.
Posted: Wednesday Oct 17th, 2012 at 6:17 pm #28764
Raam Dev
Username: Raam
Staff Member

Could you please try deactivating and then reactivating the s2Member plugin? Be sure to enable Deactivation Safeguards before you do this so that you don’t lose any existing configuration: Dashboard -› s2Member® -› General Options -› Deactivation Safeguards.

Posted: Wednesday Oct 17th, 2012 at 6:36 pm #28774
Anissa Eve
Username: anissa

ok I deactivated and then reactivated and I still only see 4 levels…
this is what it looks like in my cpanel
<?php
/**
define("MEMBERSHIP_LEVELS", 24);

Posted: Wednesday Oct 17th, 2012 at 9:06 pm #28786
Eduan
Username: Eduan
Moderator

Hello Anissa,

Make it so that it’s like this:

<?php
define("MEMBERSHIP_LEVELS", 24);
/**

Otherwise it will not be read by s2Member or WordPress.

Hope this helps. :)

Posted: Thursday Oct 18th, 2012 at 8:34 am #28825

Right, it’s like Eduán said. The [hilite code]/**[/hilite] is the start of a comment block, so they line you added is inside a comment, you need to put it before that, like Eduán showed you. :)

Posted: Thursday Oct 18th, 2012 at 1:05 pm #28869
Anissa Eve
Username: anissa

Perfect! got it! thanks!

Posted: Thursday Oct 18th, 2012 at 1:16 pm #28873
Eduan
Username: Eduan
Moderator

Great! Glad I was able to help. :)

Posted: Friday Oct 19th, 2012 at 7:59 am #28985

Cool. :)

Viewing 9 replies - 1 through 9 (of 9 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.