get_results( $wpdb->prepare('SELECT * FROM '.CPABC_APPOINTMENTS_CONFIG_TABLE_NAME .' WHERE `'.CPABC_TDEAPP_CONFIG_ID.'`=%d', CP_CALENDAR_ID) ); if ( 'POST' == $_SERVER['REQUEST_METHOD'] && isset( $_POST['cpabc_appointments_post_options'] ) ) echo "

Settings saved.

"; $current_user = wp_get_current_user(); if (cpabc_appointment_is_administrator() || $mycalendarrows[0]->conwer == $current_user->ID) { $request_costs = explode(";",cpabc_get_option('request_cost',CPABC_APPOINTMENTS_DEFAULT_COST)); if (!count($request_costs)) $request_costs[0] = CPABC_APPOINTMENTS_DEFAULT_COST; $request_costs_exploded = "'".str_replace("'","\'",$request_costs[0])."'"; for ($k=1;$k<100;$k++) if (isset($request_costs[$k])) $request_costs_exploded .= ",'".str_replace("'","\'",$request_costs[$k])."'"; else $request_costs_exploded .= ",'".str_replace("'","\'",$request_costs[0]*($k+1))."'"; $nonce_un = wp_create_nonce( 'uname_abc' ); ?>

Appointment Booking Calendar - Manage Calendar Availability


These calendar settings apply only to: uname; ?>

Calendar Configuration / Administration


Public Calendar Settings

Calendar language
* Note that this "Calendar language" setting will affect the calendar area, but the rest of the form texts are translated in the MO/PO files located in the "appointment-booking-calendar/languages" folder. The WP_LANG constant into your config.php file must match the suffix of the MO/PO file to apply.
Calendar visual theme
* This will modify the calendar appearance in the public website. For other appearance modifications check the FAQ.
Date format
Calendar Pages
Military time(24 hours or AM/PM)
Start weekday
Minimum available date
Examples: , today, today +3 days, now +30 hours
Maximum available date
Examples: , today, today +3 days
Open calendar in this initial month/year /
Minimum slots to be selected This is the minimum number of slots that the customer must select in the booking form.
Maximum slots to be selected This is the maximum number of slots that the customer can select in the booking form.
Close floating panel after selecting a time-slot? Default: "Yes". Set to "No" in the case the user have to select various slots in the same date. The price should be set for each total number of slots below (request cost setting).
" />

Submit Button

Submit button label (text):
The class="pbSubmitcp_subbtn" can be used to modify the button styles. The styles can be applied into the CSS Customization Area. For further modifications, the submit button is located at the end of the file "".
- For general CSS styles modifications to the form and samples check this FAQ.

Paypal Payment Configuration

Enable Paypal Payments? The feature for working without PayPal is implemented/available in the commercial versions.
Paypal email
Request cost for each number of time slots
1 slot:
Note: Each box should contain the TOTAL cost for the N slots related. Ex: 1 slot for 25, 2 slots for 50, 3 slots for 75, DON'T put the currency symbol in this field, keep only the price number...
Paypal product name
Currency
URL to return after successful payment
URL to return after an incomplete or cancelled payment
Paypal language
Paypal Mode
* Note that if you are testing it in a localhost site the PayPal IPN notification won't reach to your website and the appointment won't be processed.
Discount Codes The -discount codes- feature is available in the commercial versions.

Notification Settings for Administrators

Notification "from" email
Send notification to email
Note: Comma separated list for adding more than one email address
Email subject notification to admin
Email format?
Email notification to admin

Email Copy to User / Auto-reply

Email field on the form
Email subject confirmation to user
Email format?
Email confirmation to user

Captcha Verification

Use Captcha Verification?
Width: Height: Chars:
Min font size: Max font size: Preview:

security code
Noise: Noise Length:
Background: Border:
Font:

Email Reminder Settings - Available in commercial versions

Enable e-mail reminder? /> * This feature is available in the commercial versions.
Send reminder: hours before the appointment
Note: Hours date based in server time. Server time now is
Reminder email subject
Email format?
Reminder email message

Custom Settings - Available in commercial versions

Options (drop-down select, one item per line with format: price | title)
    Sample Format:
", CPABC_APPOINTMENTS_DEFAULT_EXPLAIN_CP_CAL_CHECKBOXES); ?>
This feature is available in the commercial versions.

Note

To insert the calendar booking form in a post/page, use the dedicated icon '; ?> which has been added to your Upload/Insert Menu, just below the title of your Post/Page.

[Support] | [Documentation]

The current user logged in doesn't have enough permissions to edit this calendar. This user can edit only his/her own calendars. Please log in as administrator to get access to all calendars.