=== WordPress Access Control === Contributors: brandon.wamboldt Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y398QNA6FM9TA Tags: members, only, plugin, restricted, access, menus, 3.0, wp_nav_menu, nonmembers Requires at least: 2.9 Tested up to: 3.2 Stable tag: 3.0.2 Restrict pages, posts and custom post types to members, nonmembers or specific roles and still add to navigation == Description == **Now with shortcodes and post/custom-post-type support, as well as a comprehensive admin interface for setting plugin defaults** WordPress Access Control is a plugin designed to integrate into membership sites where certain pages, posts and custom post types should only be available to members of the site. The plugin offers fine tuned features for this purpose, including the ability to set site wide defaults and override these on a per-page basis. You can easily set a page to be accessible only by members of your site, or even a specific role. You can also set pages to be accessible only to non-members of your site, useful for registration pages. By default, you can add Members only pages to your menus, and users who cannot access them (non-members) won't be able to see them. This applys to the children of a menu item as well, making it easy to build a separate menu for your members. Additionally, you have the ability to customize search pages, completely hiding posts/pages from search results if a user can't access them, showing search results without an excerpt, or showing search results normally. **Translators:** The POT file is included with the plugin and all text output uses gettext functions. Alternatively, you may download the POT file from http://brandonwamboldt.ca/files/wordpress-access-control.pot. **Documentation:** The plugin includes comprehensive documentation file accessible via the plugin directory == Installation == Installation is very simple: 1. Upload wordpress-access-control/ to your websites plugins folder (/wp-content/plugins/ by default) 2. Login to your WordPress admin 3. Navigate to Plugins 4. Activate WordPress Access Control You can change settings by going to Settings > Members Only Settings == Frequently Asked Questions == **I don't see the controls on the page/post edit screens** Please make sure you have the meta enabled under the Screen Options panel (top right next to help) **This plugin doesn't work with theme XYZ** Please leave a comment at http://brandonwamboldt.ca/plugins/members-only-menu-plugin/ and I will address it A.S.A.P. == Screenshots == 1. The meta box added by this plugin 2. The comprehensive admin settings interface == Changelog == = 3.0.2 - June 2, 2011 = * Added do_shortcode commands to allow nested shortcodes in the [members] and [nonmembers] shortcodes = 3.0.1 - June 1, 2011 = * Fixed an issue where a members only blog with no redirect link specified would cause an infinite loop = 3.0 - May 26, 2011 = * Added an admin options page * Added an option to allow pages to show up in menus even if a user cannot access them * Added support to make an entire blog members only * Added options to set the defaults of all options for pages and posts * Added support for posts * Added support for searching/archives * Added better support for custom post types * Added a redirect_to argument even when using custom redirect links * Added [member][/member] and [nonmember][/nonmember] shortcodes = 2.1 = * Added an icon on the page list dialog that shows Non-member or Member only statuses * Bug Fix: Fixed a PHP4 bug by replacing self with the full class name thanks to `itpixie` * Bug Fix: Fixed a bug where pages with roles set could lock an administrator out (Thanks to `evlapix` for reporting) * Bug Fix: After logging in you are now redirected back to the page you were trying to access = 2.0 = * Added the ability to mark pages as non-members only * Added the ability to restrict pages to specific roles * Added the ability to set the redirect URL for users with incorrect permissions = 1.6.4 = * Fixed a problem with certain themes that use wp_list_pages as my plugin didn't affect that function. It does now, as we hook into get_pages. Also updated some of the code to better reflect WordPress coding standards = 1.6.3 = * Fixed a problem in pre WordPress 3 instances where a PHP error is generated due to lack of the Walker_Nav_Menu class = 1.6.2 = * Fixed (X)HTML validation errors caused by an empty ul which could occur if all items in a submenu were members only but the parent element was not. = 1.6 = * Fixed a bug where third level menu items with members only attributes would break the HTML/menu = 1.5 = * Fixed an error where submenus would still be generated if the parent was marked as members only. This has been fixed. = 1.4 = * Added support for PHP4 = 1.3 = * Added support for wp_page_menu = 1.2 = * Added a filter which catches a fallback to wp_page_menu and removes our walker class from the arguments list = 1.1 = * Added a filter which removed the need to change the wp_nav_menu commands = 1.0 = * Initial Version == Upgrade Notice == = 1.6.4 = * Fixed several bugs including adding support for wp_list_pages = 1.6 = * Fixed a bug with third level menu items = 1.5 = * Fixed a bug with submenus and the parent being members only = 1.4 = Now supports PHP 4 = 1.3 = Full support for wp_page_menu! = 1.2 = Fixes the code so it no longer degrades terribly when no nav menu is available = 1.1 = Increases compatibility and ease of use by removing the need to change theme file