Troubleshooting aMember and WordPress Levels

The View Level plugin is a popular and solid solution for assigning a ‘wordpress level’ to each article. If you’re not seeing the correct behavior as far as posts being displayed according to a member’s level, make sure that you have taken all the necessary steps to integrate aMember and WordPress.

Be sure that the WordPress plugin has been selected in the aMember Admin CP > Setup / Configuration > Plugins page.

If you have properly installed and configured the WordPress plugin for aMember, when you go to aMember Admin CP > Setup / Configuration > Plugins > WordPress you should see the name of your database and table prefix in the one field on this screen and you should not see a red error message. If there is no error message the plugin is ready to go.

Be sure to hit the ‘Rebuild DB’ link for all your changes in aMember admin to take effect.

Have you edited your wp-config.php file? Remember, these lines must be added to the file just before require_once(ABSPATH.’wp-settings.php’);

define(’COOKIEPATH’,'/’);
define(’SITECOOKIEPATH’, ‘/’);
define(’COOKIEHASH’, md5($_SERVER[HTTP_HOST]));

The “You do not have sufficient permission to access this page” Error

I’m not entirely sure what the deal is with this issue, as far as what casuses it to appear in some installations of aMember+WordPress and not others, but a solution is to

create a WordPress Admin product in your aMember admin

Go to to Manage Products and create a new product. Call it ‘WordPress Admin’ or similar. Select ‘lifetime subscription’ . The Product URL field (as with all of your subscription products) should be the URL of your protected site. This is where users will be taken once they have logged in.

For Price Group ID fill in a negative number (such as -37356) to make sure this subscription product does not appear on member registration pages.

WordPress role should be set to Administrator and the wordpress level to 10.