This project is designed to create a single sign-on environment between a WordPress website and its companion phpBB forum. The goal of this website is: when a user signs into the membership website using the WordPress login, they can access the phpBB forums without having to sign in a second time.
**This project will be a fork of the members plugin by Justin Tadlock located [here][1].**
**Additional code you can use as a model may be found here:**
**<[login to view URL]>**
**
**
## Deliverables
This plugin will fork the [Member's plug-in by Justin Tadlock][1] to add additional functionality as described below:
## Soft Paywall functionality
The plugin must add a meta box to the Dash board with a checkbox that says: "Protect with Paywall." When that checkbox is checked, user login is necessary to view the content. (See: [add_meta_box][2]). Both pages and posts should have the option to be protected by Paywall.
## Single Sign-On functionality
When a user logs into the membership site using the WordPress authentication methods that are built into WordPress, the that login process will automatically authenticate (programmatically) with phpBB.
## Plugin Settings
The plugin must have the following settings defined in a submenu of the Relationship HQ administration menu. (See: Figure 1: Paywall Submenu on page 5):
Paywall Error: Text to be displayed if a visitor attempts to access protected content. (Single Textbox)
Call to Action: Field that allows us to enter custom HTML to give instructions on how the visitor can become a member and gain access to the content. (Multi-Line Text Area Box).
## A Note on Forum Permissions
WordPress and phpBB both have different permissions levels. Members should all be standardized on a standard forum user permission set. Administrators should be given administrator permissions on the forums.