Using The Paid Access Level



The purpose of the paid access level is so you can use it as an additional pre-defined access level.

This will allow for 3 pre-defined access levels that can be used for accessing certain pages:

all = for everyone including visitors (non members)
auth = for all members including free
paid = for Paid Members Only

In the _.php file for the page that you want to use a pre-defined access level, locate the following near the top of the file and add or change the LAST line as shown below:

======================================
require 'includes/common.inc.php';
require _BASEPATH_.'/includes/user_functions.inc.php';
check_login_member('all');
======================================

(in the last line above you can use all, auth or paid)

Note: do not include pre-defined access levels to _left.php files, just in the main _.php files.


Important: if you aren't going to use the paid access level, it's best to leave all membership levels unchecked so it doesn't appear in the site's membership plan comparison chart. For paid access be careful not to ever check non-members or free members.

To edit the access level click the access level's link.

Here you can edit the description which is important as this is what will appear in the site's membership plan comparison chart. Write a brief description as to what type of access it allows.


Advanced Use For Multiple Paid Access Levels:
An example scenerio would be if you have created multiple paid memberships such as Silver, Bronze, Gold, and want to give paid access to pages based on what membership a user has. You could create multiple paid access levels such as "paid_silver", "paid_bronze", paid_gold", or simply "paid", "paid2", "paid3". Then you would just select (check) which membership each paid access applies to, then include it in the _.php file as a pre-defined access.

Click the "Add new" link to create more paid access levels.