Home › Forums › WPLMS AddOns › WPLMS Appointments › Appointment Configuration
Tagged: appointment
- This topic has 43 replies, 2 voices, and was last updated 4 years, 8 months ago by wailokcc.
-
AuthorPosts
-
January 11, 2020 at 8:44 am #239054wailokccBlockedI have similar needs like this post: https://wplms.io/support/forums/topic/wplms-configuration-inquiry/ I would like to restrict the options for teachers and provide some default values to those options. #1. Break into Slots of Minutes Per Day: Hide this option (Default = Appointments Minimum Slot Time) #2. Appointment Type: Hide this option (Default = Free slots) #3. Assign to Course: Hide this option (Default = the first course, if available) #4. Online Meeting / Conference: Hide this option (Default = Enable) Would you help me achieve these? Thanks!January 13, 2020 at 5:50 am #239143DianaParticipant@wailkocc, Please check the reply thereJanuary 13, 2020 at 6:41 am #239147wailokccBlocked#4. Do you mean Online Meeting / Conference cannot be enabled by default? What about #1 #2 #3? Is the able to assign default values to these options?January 14, 2020 at 10:27 am #239308DianaParticipant@wailkocc, The customizations you want is actually not feasible Point 1: We don't have any filter for that added in the code. It shows the minutes according to the minutes added for Appointment Minimum Time Slot. Example: IF 70 minutes set there, the option will only show Full Slot. If the schedule created is for more than 70minutes Point 2: Yes, we have filter for this, add below code in your wplms customizer plugin. It will only show free slots add_filter('wplms_appointments_schedule_types','change_appointment_schedule_types'); function change_appointment_schedule_types(){ $m = array( 'free_slots'=>__('Free slots','wplms-appointments') ); return $m; } Point 3: Assign To course: Here courses option visible according to the created courses of the instructor. If users booking Instructor A. Then all the courses created by that instructor will be visible there. Point 4: No this is not possible to enable this by defaultJanuary 15, 2020 at 4:17 am #239380wailokccBlockedThis reply has been marked as private.January 15, 2020 at 5:20 am #239389wailokccBlockedSorry, the code works. How can I add Reserved and Booked to the type as well? Thanks!January 15, 2020 at 2:08 pm #239494DianaParticipant@wailokcc, You have to write the code like this: add_filter('wplms_appointments_schedule_types','change_appointment_schedule_types'); function change_appointment_schedule_types(){ $m = array( 'free_slots'=>__('Free slots','wplms-appointments'), 'reserved'=>__('Reserved','wplms-appointments'), 'booked'=>__('Booked','wplms-appointments') ); return $m; }January 21, 2020 at 12:24 pm #240096wailokccBlockedThis reply has been marked as private.January 21, 2020 at 2:15 pm #240115wailokccBlockedThis reply has been marked as private.January 22, 2020 at 12:24 pm #240241DianaParticipantThis reply has been marked as private.January 24, 2020 at 2:43 am #240419wailokccBlocked@Diana/ I was wondering if you found out the problem? Thank you!January 27, 2020 at 8:02 am #240701DianaParticipantThis reply has been marked as private.January 28, 2020 at 4:27 pm #240884wailokccBlockedThank you! Just let me know if fixedJanuary 30, 2020 at 1:57 pm #241067DianaParticipantThis reply has been marked as private.February 2, 2020 at 3:14 am #241242wailokccBlocked@Diana, I was wondering how is it going?
-
AuthorPosts
- The topic ‘Appointment Configuration’ is closed to new replies.