Easy Appointments
Features
Screenshots
Privacy Policy
Help & Docs
Support forum
Documentation
Hooks and callbacks
How to Connect with System Scheduler – Cron
How to Setup PayPal – Extension plugin
Twilio (SMS) setup tutorial – Extension plugin
FAQ
Demo
Single column – Responsive
Two columns – Responsive
Full Calendar
Responsive single column Right-to-Left layout
Predefined selections – Responsive
Responsive with remaining slots
Standard single column layout
Extension plugin – Smart Button PayPal example
Extension – PayPal example (Legacy Checkout)
Lars
Questions(0)
Answers(0)
Posts(0)
Comments
Why even ask...
On
Answer for User roles management still missing
Hello?
On
Answer for User roles management still missing
Quick fix. Put it in your functions.php. This will select the last available worker after selecting the location. The if clause must be changed to your desires.add_action('wp_footer', 'appointments_js');function appointments_js(){ if(get_the_id()==YOUR_PAGE_ID_WHERE_YOU_USE_EA) {$output =<<<EOFjQuery(document).ready(function($){$('select[name="location"]').change(function(e) {setTimeout (function() {$('select[name="worker"]').find('option:last-child()').prop('selected',true).trigger('change');},1000);});});EOF;echo $output; }}
On
Hide worker choice, display all available slots
Can you check this. please? Ajax Calls are not working with the new hook.
On
Answer for User roles management still missing
After updating to the latest version and using the filter, none of the ajax calls work anymoreError 400 responseResponse is: 0Example: wp-admin/admin-ajax.php?=&_wpnonce=2705a95683&action=ea_services
On
Answer for User roles management still missing
Same for the ajax call on a submenu page:Error 400 responseExample: wp-admin/admin-ajax.php?=&_wpnonce=2705a95683&action=ea_servicesResponse is: 0I really wonder if my approach is faulty or you do not test this at all?
On
Answer for User roles management still missing
Thanks for fixing the ajax call but now everything is broken. When trying to access the top menu, it says "you are not allowed to view the page" This code is in the functions and worked before the latest update:add_filter('easy-appointments-user-menu-capabilities', 'custom_capabilities', 10, 2);function custom_capabilities($default_capability, $menu_slug) {$menus = array('easy_app_top_level','easy_app_locations','easy_app_services','easy_app_workers','easy_app_connections','easy_app_vacation','easy_app_reports','easy_app_new_reports');return ( current_user_can( 'manage_woocommerce' ) && in_array($menu_slug,$menus) ) ? 'manage_woocommerce' : $default_capability;}
On
Answer for User roles management still missing
After searching the docs, there is a small info about the new filter but it's totally incomplete.What is the purpose of showing the menu slugs to special user roles when the ajax call is forbidden and so NO content at all is shown at each menu slug.ajax.php line 1085: private function validate_access_rights()This must be filtered and probably line 107, too.Did you even test this before you release it?
On
Answer for User roles management still missing
Hi. I see a new version but not settings or info what to change.ajax.php contains "manage_posts",admin.php contains a "user_capability_callback" but also no backend settings/infos
On
Answer for User roles management still missing
3 new updates since you said you would offer us the needed part of code.Is this a joke to you?
On
Answer for User roles management still missing
wow, what a big disappointment this is. 2 months. promises but no help in the end.
On
Answer for User roles management still missing
Okay there is finally your update but still lacking the code you were mentioning more than a month ago.
On
Answer for User roles management still missing
What do you mean by "quick fix"? :D2 weeks, not yet one reply
On
Answer for User roles management still missing
Havent heard from you. Can you provide the code, please?
On
Answer for User roles management still missing
That would be very helpful. Currently I hardcoded it into the plugin (not update-proof)Can you post/send the hooks, please?
On
Answer for User roles management still missing
Crop