=== MZ MBO Access === Contributors: mikeill Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A95ZEELLHGECE Tags: mindbody, schedule, calendar, yoga, MBO, mindbodyonline, gym, access, restrict Requires at least: 3.0.1 Tested up to: 5.6 Stable tag: 2.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Restrict wordpress content based on client Mindbody account details. Create two access levels based on MBO membership details. Achieved via shortcode(s) on the page, with MBO login form. Option for a form which redirects clients to one of three pages: Level 1, Level 2, No Access. Until later in 2020, requires access to MBOs v5 (not v6) API. == Description == Install and you can limit content based on user MBO memberships: [mbo-client-access access_levels="1, 2"] RESTRICTED CONTENT HERE [/mbo-client-access] You can also redirect users based on their access level. Until later in 2020, requires access to MBOs v5 (not v6) API. == Installation == Steps to install and configure MZ MBO Access: 1. If not already, install MZ Mindbody API plugin. 2. Upload the directory, `mz-mbo-access` to the `/wp-content/plugins/` directory 3. Set MBO credentials and access levels in Settings->MZ Mindbody Settings page. 4. Add shortcode as desired, surrounding restricted content. == Frequently Asked Questions == = Coming soon, no doubt. = == Screenshots == 1. Admin Tab in MZ Mindbody Access Settings page 2. Mindbody Login Form 3. Welcome, Client. Access denied. 4. Welcome, Client, redirect access denied. 5. Welcome, Client, redirect access level (1 or 2). 6. Logged Out. 7. Access Granted. == Changelog == = v2.0.0 = Add more client details, including (limited) credit card = v1.0.9 = Bugfix: Correct broken code in function that returns main plugin instance! = v1.0.8 = Bugfix: Correct Namespace in activator call. = v1.0.7 = Bugfix: Correctly echo notice when parent plugin not installed and activated. = v1.0.6 = Bugfix: Remove call to Deactivation hook, which returns error and isn't doing anything. = v1.0.5 = Update shortcode example. = v1.0.4 = Bugfix: Fix template path for case-sensitive support. = v1.0.3 = Bugfix: Vendor directory was missing. = v1.0.2 = Bugfix: Add missing namespace so autoload works on EMANN objects as well. = v1.0.1 = Add cache-busting to script. Add support for overriding buttons. Add password reset request button. Include server check for SOAP installed. = v1.0 = Initial release. == Upgrade Notice == = v1.0.1 = == Notes == None yet. Hopefully will work well.