{"id":123384,"date":"2020-06-22T21:47:29","date_gmt":"2020-06-22T21:47:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/mindbody-access-management\/"},"modified":"2021-06-05T20:12:09","modified_gmt":"2021-06-05T20:12:09","slug":"mindbody-access-management","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/mindbody-access-management\/","author":11623700,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.6","stable_tag":"2.1.6","tested":"5.7.15","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"mZ Mindbody Access","header_author":"mZoo.org","header_description":"Child plugin for mZoo Mindbody Interface, which can limit user access to content based on MBO client account details.","assets_banners_color":"4f5356","last_updated":"2021-06-05 20:12:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=A95ZEELLHGECE","header_plugin_uri":"http:\/\/www.mzoo.org\/","header_author_uri":"http:\/\/www.mZoo.org\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1607,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"mikeill","date":"2020-06-22 21:48:59"},"1.0.2":{"tag":"1.0.2","author":"mikeill","date":"2020-06-25 03:29:38"},"1.0.3":{"tag":"1.0.3","author":"mikeill","date":"2020-07-14 17:35:12"},"1.0.4":{"tag":"1.0.4","author":"mikeill","date":"2020-07-17 20:50:20"},"1.0.5":{"tag":"1.0.5","author":"mikeill","date":"2020-07-20 14:23:00"},"1.0.6":{"tag":"1.0.6","author":"mikeill","date":"2020-08-30 22:18:15"},"1.0.8":{"tag":"1.0.8","author":"mikeill","date":"2021-01-11 23:09:01"},"1.0.9":{"tag":"1.0.9","author":"mikeill","date":"2021-01-25 17:35:49"},"2.0.6":{"tag":"2.0.6","author":"mikeill","date":"2021-02-01 16:19:38"},"2.0.7":{"tag":"2.0.7","author":"mikeill","date":"2021-02-08 16:10:23"},"2.0.9":{"tag":"2.0.9","author":"mikeill","date":"2021-04-02 22:27:21"},"2.1.0":{"tag":"2.1.0","author":"mikeill","date":"2021-04-09 22:06:38"},"2.1.2":{"tag":"2.1.2","author":"mikeill","date":"2021-05-02 21:46:03"},"2.1.3":{"tag":"2.1.3","author":"mikeill","date":"2021-05-04 18:26:06"},"2.1.4":{"tag":"2.1.4","author":"mikeill","date":"2021-05-07 01:26:37"},"2.1.5":{"tag":"2.1.5","author":"mikeill","date":"2021-05-14 17:01:33"},"2.1.6":{"tag":"2.1.6","author":"mikeill","date":"2021-06-05 20:12:09"},"trunk":{"tag":"trunk","author":"mikeill","date":"2021-01-28 17:02:52"}},"upgrade_notice":{"v1.0.1":""},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2543125,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2543125,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2543125,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2543125,"resolution":"1544x500","location":"assets","locale":""},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2543125,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2543125,"resolution":"772x250","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2543125,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.8","1.0.9","2.0.6","2.0.7","2.0.9","2.1.0","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","trunk"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2543125,"resolution":"1","location":"assets","locale":""},"screenshot-10.png":{"filename":"screenshot-10.png","revision":2543125,"resolution":"10","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2543125,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2543125,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2543125,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2543125,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2543125,"resolution":"6","location":"assets","locale":""},"screenshot-9.png":{"filename":"screenshot-9.png","revision":2543125,"resolution":"9","location":"assets","locale":""}},"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."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[416,34343,34334,4062,10311],"plugin_category":[40],"plugin_contributors":[88667,199026],"plugin_business_model":[],"class_list":["post-123384","plugin","type-plugin","status-publish","hentry","plugin_tags-calendar","plugin_tags-mbo","plugin_tags-mindbody","plugin_tags-schedule","plugin_tags-yoga","plugin_category-calendar-and-events","plugin_contributors-mikeill","plugin_contributors-sunspotswifi","plugin_committers-mikeill"],"banners":{"banner":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/banner-772x250.png?rev=2543125","banner_2x":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/banner-1544x500.png?rev=2543125","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/icon.svg?rev=2543125","icon":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/icon.svg?rev=2543125","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-1.png?rev=2543125","caption":"Admin Tab in MZ Mindbody Access Settings page"},{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-2.png?rev=2543125","caption":"Mindbody Login Form"},{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-3.png?rev=2543125","caption":"Welcome, Client. Access denied."},{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-4.png?rev=2543125","caption":"Welcome, Client, redirect access denied."},{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-5.png?rev=2543125","caption":"Welcome, Client, redirect access level (1 or 2)."},{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-6.png?rev=2543125","caption":"Logged Out."},{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-9.png?rev=2543125","caption":""},{"src":"https:\/\/ps.w.org\/mindbody-access-management\/assets\/screenshot-10.png?rev=2543125","caption":""}],"raw_content":"<!--section=description-->\n<p>Install and you can limit content based on user MBO memberships:<\/p>\n\n<p>[mbo-client-access access_levels=\"1, 2\"]\nRESTRICTED CONTENT HERE\n[\/mbo-client-access]<\/p>\n\n<p>You can also redirect users based on their access level.\nUntil later in 2020, requires access to MBOs v5 (not v6) API.<\/p>\n\n<h3>Notes<\/h3>\n\n<p>None yet. Hopefully will work well.<\/p>\n\n<!--section=installation-->\n<p>Steps to install and configure MZ MBO Access:<\/p>\n\n<ol>\n<li>If not already, install MZ Mindbody API plugin.<\/li>\n<li>Upload the directory, <code>mz-mbo-access<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Set MBO credentials and access levels in Settings-&gt;MZ Mindbody Settings page.<\/li>\n<li>Add shortcode as desired, surrounding restricted content.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='coming%20soon%2C%20no%20doubt.'><h3>Coming soon, no doubt.<\/h3><\/dt>\n<dd><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>v2.1.6<\/h4>\n\n<p>Bypass access check for non-logged clients.<\/p>\n\n<h4>v2.1.5<\/h4>\n\n<p>Remove Carbon Fields from strauss\/mozart management, as need's to be in\nown namespace in order to not conflict with other instances.\nReturn empty arrays from check_mbo methods when checked items not\npresent.\nBugfix: Cast \"level\" string to int so strict comparison passes.\nBugfix: Refactor date comparisons, see: https:\/\/stackoverflow.com\/a\/14084301\/2223106\nSimplify default login form.\nAllow users to select from posts or pages for access level redirect.<\/p>\n\n<h4>v2.1.4<\/h4>\n\n<p>Only populate Access Levels forms from MBO if on that page.<\/p>\n\n<h4>v2.1.3<\/h4>\n\n<p>Initialize deactivation on admin_init.\nReturn empty arrays from get_contracts, etc by default.<\/p>\n\n<h4>v2.1.2<\/h4>\n\n<p>Bugfix: Slash deactivation function.<\/p>\n\n<h4>v2.1.1<\/h4>\n\n<p>Refactor use of hooks on activation, deactivation, initialization.\nAdd arbitrary number of levels configured by repeater field.<\/p>\n\n<h4>v2.1.0<\/h4>\n\n<p>More WP Standards compliance.<\/p>\n\n<h4>v2.0.9<\/h4>\n\n<p>More WP Standards compliance.\nAdd third access level and ability to consider MBO \"Services\".<\/p>\n\n<h4>v2.0.8<\/h4>\n\n<p>Updates and Documention to more closely adhere with WP Standards.\nAllow calls to check_ajax_referrer to die on fail.<\/p>\n\n<h4>v2.0.7<\/h4>\n\n<p>Support access by Contract on top of access by Service.<\/p>\n\n<h4>v2.0.6<\/h4>\n\n<p>Set access level zero as default.\nAdd method to retrieve client access level.\nUpdate $_Session when client details requested.\nReturn full mbo_result from session in get_clients.<\/p>\n\n<h4>v2.0.5<\/h4>\n\n<p>Pass client_id to methods so can make requests prior to creating $_SESSION.<\/p>\n\n<h4>v2.0.4<\/h4>\n\n<p>Clear cookie on logout routing.<\/p>\n\n<h4>v2.0.3<\/h4>\n\n<p>Return client details in ajax call.\nUtilize Eric Mann Sessionz more effectively.<\/p>\n\n<h4>v2.0.2<\/h4>\n\n<p>Remove some debug logging.\nAdd new method to return single client details.<\/p>\n\n<h4>v2.0.1<\/h4>\n\n<p>Update composer dependencies.<\/p>\n\n<h4>v2.0.0<\/h4>\n\n<p>Add more client details, including (limited) credit card<\/p>\n\n<h4>v1.0.9<\/h4>\n\n<p>Bugfix: Correct broken code in function that returns main plugin instance!<\/p>\n\n<h4>v1.0.8<\/h4>\n\n<p>Bugfix: Correct Namespace in activator call.<\/p>\n\n<h4>v1.0.7<\/h4>\n\n<p>Bugfix: Correctly echo notice when parent plugin not installed and activated.<\/p>\n\n<h4>v1.0.6<\/h4>\n\n<p>Bugfix: Remove call to Deactivation hook, which returns error and isn't doing anything.<\/p>\n\n<h4>v1.0.5<\/h4>\n\n<p>Update shortcode example.<\/p>\n\n<h4>v1.0.4<\/h4>\n\n<p>Bugfix: Fix template path for case-sensitive support.<\/p>\n\n<h4>v1.0.3<\/h4>\n\n<p>Bugfix: Vendor directory was missing.<\/p>\n\n<h4>v1.0.2<\/h4>\n\n<p>Bugfix: Add missing namespace so autoload works on EMANN objects as well.<\/p>\n\n<h4>v1.0.1<\/h4>\n\n<p>Add cache-busting to script.\nAdd support for overriding buttons.\nAdd password reset request button.\nInclude server check for SOAP installed.<\/p>\n\n<h4>v1.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Restrict wordpress content based on client Mindbody account details. Create two access levels based on MBO membership details.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/123384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=123384"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mikeill"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=123384"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=123384"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=123384"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=123384"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=123384"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=123384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}