Page Security by Contexture

Allows admins to create user groups and set access restrictions for any post, page or section.

Author:Veraxus, Contexture (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:4.2.27
Plugin version:1.5.15
Added to WordPress repository:07-07-2010
Last updated:21-04-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:78
Rated by:16
Plugin URI:http://www.contextureintl.com/open-source-pro...
Total downloads:95 920
Active installs:3 000+
plugin download
Click to start download

Page Security & Membership lets YOU decide which users can access which content. Add users to groups, set granular permissions for content, and finally take control of your website!

Groups allow you to organize your users how YOU see fit, then use your groups to choose who can access posts, pages, custom content, or entire sections of your website.
Create an intranet or a members-only area with just a few clicks, or build a subscription based system with automatically expiring memberships. You can even create multiple levels
of security for powerful, granular protection of any sub-section on your site.

PSC is created to be simple, yet powerful – and is designed to integrate seamlessly and intuitively with WordPress. If you know how to use WordPress, you know how to use PSC.

Features

  1. Easy to use and integrates seamlessly with WordPress.
  2. Restrict your ENTIRE website (use WordPress as an intranet)!
  3. Restrict categories, tags, or even custom taxonomy terms!
  4. Subscription support! Set expiration dates for memberships.
  5. Create customized “Access Denied” pages!
  6. Fully Ajax-loaded! All your security updates are saved in real time!
  7. A built-in “Registered Users” group allows you to quickly create “registered users only” sections.
  8. Fully-documented, contextual help is provided for every PSC feature (via the WordPress ‘Help’ tab)!
  9. Use simple, well-documented theme functions to easily automate your group memberships (You could even create an automatic subscription system)!
  10. Professionally maintained with frequent updates and improvements based on YOUR feedback!

Languages

  1. English
  2. Italian (by Tristano Ajmone)
  3. French (by Sparza Benoit)

Theme Functions

As of 1.4.x, Page Security is organized in a way that roughly corresponds to MVC guidelines. If you are a developer and want to take to extend any of PSC’s features, it’s usually as easily as calling any of the included static classes.

Most database-interaction functions can be found in /wp-content/plugins/contexture-page-security/core/queries.php – these are the same ones used by every facet of PSC and should be conveniently exposed to any other plugins or themes.

Here are just a few examples:

Add a User to a Group

$result = CTXPS_Queries::add_membership_with_expiration($user_id,$group_id);

Add a User with Expiration

$result = CTXPS_Queries::add_membership_with_expiration($user_id,$group_id,$expiration_date);

Change Membership Expiration

$grel_id = get_grel($user_id,$group_id);
$result = update_enrollment_grel($grel_id,$expiration_date);

Get a List of Groups

$result = CTXPS_Queries::get_groups();

Get Protection Status of Current Page/Post

$result = CTXPS_Queries::check_protection();