Enhanced Import for SportsPress

Description

Enhanced Import for SportsPress extends the default SportsPress CSV importers with advanced features, specifically designed to import fixtures with scores and results data.

What This Plugin Does

This plugin enhances the standard SportsPress Fixtures (CSV) importer by adding support for:

  • Score/Results Import: Import match scores directly from CSV files
  • Automatic Results Processing: Automatically creates and updates match results using SportsPress’s native results system
  • Auto creation of Calendar and League table: Teams are auto assigned to League Table.
  • Backward Compatibility: Works with existing SportsPress CSV formats while adding new capabilities

Key Features

  • Score Support: Import home and away scores directly from CSV
  • Outcome calculation: Use native SportsPress functionality to calculate the outcome of an event.
  • Auto create League Table and Calendar: Gives the ability to the user to automacally create a new League Table or/and a new Calendar.
  • Teams assignment to League Table: Handles teams assignment to League Table to avoid false positives.

CSV Format

The enhanced importer adds extra the following CSV columns:

  1. Home Score – Home team score (optional)
  2. Away Score – Away team score (optional)

Example CSV Format

Date,Time,Venue,Home,Away,Home Score,Away Score,Match Day
2024/01/15,19:30,Stadium A,Team Alpha,Team Beta,2,1,GW1
2024/01/20,20:00,Stadium B,Team Gamma,Team Delta,0,3,GW2
2024/01/25,18:45,Stadium A,Team Beta,Team Gamma,1,1,GW2

Credits

  • Built for SportsPress by Savvas
  • Based on the original SportsPress importers by ThemeBoy
  • Licensed under GPLv2 or later

Screenshots

  • You can use the native Import button at SportsPress->Events area
  • Or you use the Import tool directly from Tools->Import.
  • Enhanced import interface with score columns and option for auto creation of league table and calendar.

Installation

  1. Upload the plugin files to the /wp-content/plugins/enhanced-import-for-sportspress/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Ensure SportsPress plugin is installed and activated.
  4. Go to Tools > Import and select “Import Fixtures (CSV) Enhanced”.

FAQ

Does this plugin require SportsPress?

Yes, this plugin requires SportsPress to be installed and activated. It extends the existing SportsPress import functionality.

Can I use this with existing CSV files?

Yes! The plugin is backward compatible with existing SportsPress CSV formats. The score columns are optional, so your existing CSV files will work without modification.

What happens if teams don’t exist?

The plugin automatically creates teams if they don’t exist in your SportsPress installation. Teams are created with the same name as specified in the CSV.

How are scores processed?

Scores are processed using SportsPress’s native functions, ensuring proper integration with the SportsPress results system.

Can I import partial data?

Yes, you can import CSV files with missing optional columns. Only Date, Home team, and Away team are required.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Enhanced Import for SportsPress” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang kepada pemalam ini.

Penyumbang

Changelog

1.0

  • Initial release