function fetch_leader_board_api_ajax() { $desktop_html = ''; $mobile_html = ''; $divison_html = ''; if (!isset($_POST['event_id']) || empty($_POST['event_id'])) { wp_send_json(array("status" => false, 'message' => 'Please select an event')); } $event_id = $_POST['event_id']; $site_id = get_current_blog_id(); // NEW: Check if this is an individual event global $wpdb; $individual_event = $wpdb->get_row($wpdb->prepare( "SELECT * FROM wp_sync_sites_events WHERE usssa_id = %d AND (all_state_event = 1 OR individual_event = 1 OR custom_event = 1)", $event_id )); if ($individual_event) { // Handle individual event via REST API handle_individual_event_leaderboard($event_id, $individual_event); } else { // Handle team event via existing API handle_team_event_leaderboard($event_id); } } /** * Handle individual event leaderboards */ function handle_individual_event_leaderboard($event_id, $event_data) { // Call our REST API endpoint $api_url = get_rest_url(null, "lbrd/v1/events/{$event_id}/leaderboards?abc=" . time()); $response = wp_remote_get($api_url, array( 'timeout' => 30, 'headers' => array( 'Content-Type' => 'application/json', ) )); if (is_wp_error($response)) { wp_send_json(array( "status" => false, 'message' => '

Error loading leaderboard

Please try again later.

' )); } $body = wp_remote_retrieve_body($response); $api_event_data = json_decode($body, true); // FIXED: Better validation logic // Check if JSON decode failed if (json_last_error() !== JSON_ERROR_NONE) { wp_send_json(array( "status" => false, 'message' => '

Invalid response format

Please try again later.

' )); } // Check if we have the required data structure for leaderboards if ( !$api_event_data || !isset($api_event_data['players']) || !isset($api_event_data['divisions']) || empty($api_event_data['players']) || empty($api_event_data['divisions']) ) { // If API response has its own error message, use it if (isset($api_event_data['message'])) { $message = $api_event_data['message']; } else { $message = '

No leaderboard data available

Player stats are still being compiled. Please check back again shortly.

'; } wp_send_json(array("status" => false, 'message' => $message)); } // Process the data using the same logic as team events $processed_data = process_leaderboard_data($api_event_data, 'individual'); wp_send_json(array( "status" => true, 'desktop_leaderboard' => $processed_data['desktop_leaderboard'], 'mobile_leaderboard' => $processed_data['mobile_leaderboard'], 'divison_html' => $processed_data['divison_html'] )); } /** * Handle team event leaderboards (existing logic) */ function handle_team_event_leaderboard($event_id) { $site_sport_assign = get_option('site_sport_assigned'); $api_url = 'https://api.tournamentgear.com/events/' . $event_id . '/leaderboards'; // Get Data $response = wp_remote_get( $api_url, array( 'headers' => array( 'x-api-key' => '500aca9b-664a-41b6-bca7-777e51a9402f', ) ) ); if (is_wp_error($response)) { wp_send_json(array("status" => false, 'message' => 'data api error')); } $body = wp_remote_retrieve_body($response); $api_event_data = json_decode($body, true); if (!empty($api_event_data['players']) && !empty($api_event_data['divisions'])) { $processed_data = process_leaderboard_data($api_event_data, 'team'); wp_send_json(array( "status" => true, 'desktop_leaderboard' => $processed_data['desktop_leaderboard'], 'mobile_leaderboard' => $processed_data['mobile_leaderboard'], 'divison_html' => $processed_data['divison_html'] )); } wp_send_json(array( "status" => false, 'message' => '

Player stats are still being compiled

Please check back again shortly.

' )); } /** * Process leaderboard data (unified logic for both event types) * NEW: Enhanced with filter options support for individual events */ function process_leaderboard_data($api_event_data, $event_type = 'team') { $site_sport_assign = get_option('site_sport_assigned'); $site_sport_slug = ($site_sport_assign == 16) ? 'fastpitch' : 'baseball'; $players_data = $api_event_data['players']; $players_html = ''; $divison_html = ''; // NEW: Get filter options for individual events $filter_options = isset($api_event_data['filterOptions']) ? $api_event_data['filterOptions'] : array(); $divison_html .= ''; return array( 'desktop_leaderboard' => $players_html, 'mobile_leaderboard' => $players_html, 'divison_html' => $divison_html ); } // Keep your existing action hooks add_action('wp_ajax_fetch_leader_board_api_ajax', 'fetch_leader_board_api_ajax'); add_action('wp_ajax_nopriv_fetch_leader_board_api_ajax', 'fetch_leader_board_api_ajax'); 20th Annual Breast Cancer Awareness 10-12-14U (2025) - Columbus, IN - USSSA Indiana Fast Pitch

EVENT DETAILS

20th Annual Breast Cancer Awareness 10-12-14U

  • Tournament Date
    Oct 10 - Oct 12 2025
  • Entry Fee
    $435
  • Stature
    Qualifier
  • Age Groups
    9U - 18U
  • Admission
    TBA

Tournament Division

Division Entry Fee Gate Fee Max Entries Teams
Entered
Game
Guarantee
Format

Event Ballparks

Venue Name Address Maps link
Blue River Memorial Park 725 Lee Blvd, Shelbyville, IN, 46176 Open in Maps
Clifty Park 1 S Marr Rd, Columbus, IN, 47201 Open in Maps
Dunn Stadium 876 Spears Street, Columbus, IN, 47201 Open in Maps
Venue Name
Blue River Memorial Park
Address
725 Lee Blvd, Shelbyville, IN, 46176
Venue Name
Clifty Park
Address
1 S Marr Rd, Columbus, IN, 47201
Venue Name
Dunn Stadium
Address
876 Spears Street, Columbus, IN, 47201

Event Lodging

Note: If you don't know which venue you'll be playing at and want to book in advance, click here to find hotels that are geographically centered between all venues.

Venue Name Address Dates Details
Blue River Memorial Park 725 Lee Blvd, Shelbyville, IN, 46176 Oct 10-12 Find Hotels
Clifty Park 1 S Marr Rd, Columbus, IN, 47201 Oct 10-12 Find Hotels
Dunn Stadium 876 Spears Street, Columbus, IN, 47201 Oct 10-12 Find Hotels
Venue Name
Blue River Memorial Park
Address
725 Lee Blvd, Shelbyville, IN, 46176
Dates
Oct 10-12
Venue Name
Clifty Park
Address
1 S Marr Rd, Columbus, IN, 47201
Dates
Oct 10-12
Venue Name
Dunn Stadium
Address
876 Spears Street, Columbus, IN, 47201
Dates
Oct 10-12

Leaderboard

For more information in regards to this event, please contact:

THE USSSA MOBILE APP

  • USSSA on the App Store
  • USSSA on the Play Store
  • Explore upcoming & past events
  • Get updated schedules, scores & standings
  • Book and manage your event lodging
  • Stay informed with important event updates
  • Find your fit with custom event apparel
  • Easily view & navigate to event venues