Month: August 2025

Ticket booking system analysis

User <script> window.location='https://fossettscircus.com/success/?eid=" . $order_info->event_date_id . "&oc=" . $order_info->order_code . "'; </script> ' "; goto continue_with_wordpress; exit(); } else { sendErrorMail( "Order not saved", "Order not saved but charge paid" . var_export( $order_info, true ) ); if (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { header('Content-Type: application/json'); echo json_encode([ 'success' => false, 'message' => 'Order could not […]

JavaScript functionality overview

User <script> window.location='https://fossettscircus.com/success/?eid=" . $order_info->event_date_id . "&oc=" . $order_info->order_code . "'; </script> ' "; goto continue_with_wordpress; exit(); } else { sendErrorMail( "Order not saved", "Order not saved but charge paid" . var_export( $order_info, true ) ); if (!empty($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { header('Content-Type: application/json'); echo json_encode([ 'success' => false, 'message' => 'Order could not […]

Export YITH Booking CSV

User edit.php?post_type=yith_booking Give ooption to Export Booking in Admin Admin can filter booking data based on From Date & To Date Booking data will be exported in CSV format with payment status: not paid, paid, partial paid, the amount paid and remaining. Yith premium booking plugin Assistant To add a **custom export feature to the […]

Undefined Array Key Fix

User { "error": { "type": "Breakdance\Lib\Vendor\Whoops\Exception\ErrorException", "message": "Undefined array key "key"", "code": 2, "file": "/home/cateboxi/public_html/wp-content/plugins/feedoptimise/woocommerce-feedoptimise.php", "line": 103, "trace": [ { "file": "/home/cateboxi/public_html/wp-content/plugins/feedoptimise/woocommerce-feedoptimise.php", "line": 103, "function": null, "class": "Breakdance\Lib\Vendor\Whoops\Exception\ErrorException", "args": [ "Undefined array key "key"" ], "snippet": { "98": " if ( isset ( $wp_query->query_vars['woocommerce_feedoptimise'] ) ) {n", "99": " $_REQUEST['action'] = 'woocommerce_feedoptimise';n", "100": " $_REQUEST['key'] […]

AJAX search improvements

User <style> .insta-search-results{display:none;z-index:999999;background-color:#fff;position:absolute;right:0;width:100%;border:none;border-bottom:1px solid #cacaca} @media (min-width:768px){.insta-search-results{width:600px;border:1px solid #cacaca;border-top:none}} @media (min-width:981px){.insta-search-results{position:absolute;right:152px}} .insta-search-results li{width:100%;display:inline-block;list-style:none;} .search-listing{padding:3px 10px;} .search-product{vertical-align:top;} .insta-search-results img{float:left;margin-right:5px;} .search-listing a{text-transform:uppercase;font-size:13px;display:block;min-height:60px;color:#666;} .search-listing .amount, .search-listing .woocommerce-Price-currencySymbol{color:#666;} .search-name{padding:0;font-weight:700;line-height:normal} .insta-search-results .woocommerce-Price-amount.amount{font-weight:700} .search-heading{text-transform:uppercase;background-color:#f8f8f8;color:#999;font-weight:700;font-size:12px;padding:0 10px;border:1px solid #eaeaea} .search-footer{margin:0;} .search-footer a {color:#999;} .search-listing:hover{background: #f2f2f2;} .search-listing:hover a,.search-listing:hover .amount,.search-listing:hover .woocommerce-Price-currencySymbol {color: #08c;} </style> <script> jQuery(document).ready(function($) { function setResultsPos() { //var scrollPos = $(window).scrollTop(); var […]

Mega menu aanpassing

User <style> .mega-overlay-mobile { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(244, 241, 241, 0.95); z-index: 9999; color: #000; overflow-y: auto; } .mega-overlay-content { padding: 40px; max-width: 600px; margin: 100px auto; text-align: center; } #close-mega-menu { position: absolute; top: 0; right: 0; background: none; border: none; font-size: 19px; color: […]

BMI Conversion Precision Fix

User jQuery(function($){ function kgToStLb(kg) { var st = Math.floor(kg * 2.20462 / 14); var lb = (kg * 2.20462) – (st * 14); return {st: st, lb: Math.round(lb * 100 / 100)}; } function stLbToKg(st, lb) { return (parseFloat(st) * 6.35029) + (parseFloat(lb) * 0.453592); } function cmToFtIn(cm) { var totalIn = cm / 2.54; […]

Override YITH Plugin Template

User overrride yith premium booking plugin template in a custom theme Assistant To **override a template from the YITH WooCommerce Booking Premium plugin** in your **custom WordPress theme**, follow these steps carefully: — ### ✅ Step-by-Step Guide #### 1. **Locate the Plugin Template File** Go to the plugin directory: wp-content/plugins/yith-woocommerce-booking-premium/templates/ For example, if you want […]

Enable proxy setup

User how to enable the proxy Assistant To enable a proxy, the method depends on **where** you're trying to enable it (e.g. system-wide, browser, terminal, development tool, etc.). Here's a breakdown of how to enable a proxy in common environments: — ### ✅ **1. System-Wide (Windows)** **Windows 11 / 10:** 1. Go to **Settings > […]

Create custom page CMS

User Create a custom page with controller and manable from cms in silverstripe cms6 Assistant To create a **custom page with a controller** that is **manageable from the CMS** in **Silverstripe CMS 6**, follow these steps: — ### ✅ 1. **Create the Page Type (Model)** Create a PHP file named `CustomPage.php` inside `app/src/PageTypes/` or `app/src/Pages/` […]