Tag version 2.0

This commit is contained in:
Brian Miyaji
2016-04-26 19:50:59 +10:00
parent add9e03b78
commit 453c949beb
51 changed files with 109 additions and 72 deletions

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.9
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.6
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* The SportsPress admin sports class stores preset sport data.
*
* @class SP_Admin_Sports
* @version 1.9.19
* @version 2.0
* @package SportsPress/Admin
* @category Class
* @author ThemeBoy

View File

@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* Handles taxonomies in admin
*
* @class SP_Admin_Taxonomies
* @version 1.9.7
* @version 2.0
* @package SportsPress/Admin
* @category Class
* @author ThemeBoy

View File

@@ -9,7 +9,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.9.13
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9.13
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9.19
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9.6
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9.19
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.6
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.9.7
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
* @version 1.0
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.9.19
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -98,14 +98,17 @@ class SP_Settings_General extends SP_Settings_Page {
));
endif;
$options = array_merge( $options, array(
$options = array_merge( $options,
array(
array(
'title' => __( 'Custom CSS', 'sportspress' ),
'id' => 'sportspress_custom_css',
'css' => 'width:100%; height: 130px;',
'type' => 'textarea',
),
),
apply_filters( 'sportspress_general_script_options', array(
array(
'title' => __( 'Scripts', 'sportspress' ),
'desc' => __( 'Live countdowns', 'sportspress' ),
@@ -124,7 +127,9 @@ class SP_Settings_General extends SP_Settings_Page {
'checkboxgroup' => 'end',
'desc_tip' => __( 'This will enable a shortcode menu to be displayed in the visual editor.', 'sportspress' ),
),
) ),
array(
array(
'title' => __( 'Tables', 'sportspress' ),
'desc' => __( 'Responsive', 'sportspress' ),

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 0.7
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.9
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.9
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin
* @version 1.9
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* The SportsPress REST API class handles all API-related hooks.
*
* @class SP_REST_API
* @version 1.9.19
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @package SportsPress/API

View File

@@ -8,7 +8,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
* AJAX Event Handler
*
* @class SP_AJAX
* @version 1.9.13
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress event class handles individual event data.
*
* @class SP_Event
* @version 1.9.19
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -3,7 +3,7 @@
* Handle frontend forms
*
* @class SP_Frontend_Scripts
* @version 1.9.17
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Classes
* @version 1.9.13
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@
* The SportsPress league table class handles individual league table data.
*
* @class SP_League_Table
* @version 1.9.8
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress modules class stores available modules.
*
* @class SP_Modules
* @version 1.9
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress player list class handles individual player list data.
*
* @class SP_Player_List
* @version 1.9.13
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress player class handles individual player data.
*
* @class SP_Player
* @version 1.9.13
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
* Registers post types and taxonomies
*
* @class SP_Post_types
* @version 1.9
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -5,7 +5,7 @@
* The SportsPress team class handles individual team data.
*
* @class SP_Team
* @version 1.9.14
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -3,7 +3,7 @@
* Template Loader
*
* @class SP_Template_Loader
* @version 1.9.13
* @version 2.0
* @package SportsPress/Classes
* @category Class
* @author ThemeBoy

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 1.9.19
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 1.6
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 1.9.19
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -7,7 +7,7 @@
* @author ThemeBoy
* @category Core
* @package SportsPress/Functions
* @version 1.9.13
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add event calendars to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 1.8.3
Version: 2.0
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Calendars' ) ) :
* Main SportsPress Calendars Class
*
* @class SportsPress_Calendars
* @version 1.8.3
* @version 2.0
*/
class SportsPress_Calendars {
@@ -49,7 +49,7 @@ class SportsPress_Calendars {
*/
private function define_constants() {
if ( !defined( 'SP_CALENDARS_VERSION' ) )
define( 'SP_CALENDARS_VERSION', '1.8.3' );
define( 'SP_CALENDARS_VERSION', '2.0' );
if ( !defined( 'SP_CALENDARS_URL' ) )
define( 'SP_CALENDARS_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add countdown widgets to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 1.8.3
Version: 2.0
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Countdowns' ) ) :
* Main SportsPress Countdowns Class
*
* @class SportsPress_Countdowns
* @version 1.8.3
* @version 2.0
*/
class SportsPress_Countdowns {
@@ -41,7 +41,7 @@ class SportsPress_Countdowns {
*/
private function define_constants() {
if ( !defined( 'SP_COUNTDOWNS_VERSION' ) )
define( 'SP_COUNTDOWNS_VERSION', '1.8.3' );
define( 'SP_COUNTDOWNS_VERSION', '2.0' );
if ( !defined( 'SP_COUNTDOWNS_URL' ) )
define( 'SP_COUNTDOWNS_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add league tables to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 1.8.7
Version: 2.0
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_League_Tables' ) ) :
* Main SportsPress League Tables Class
*
* @class SportsPress_League_Tables
* @version 1.8.3
* @version 2.0
*/
class SportsPress_League_Tables {
@@ -49,7 +49,7 @@ class SportsPress_League_Tables {
*/
private function define_constants() {
if ( !defined( 'SP_LEAGUE_TABLES_VERSION' ) )
define( 'SP_LEAGUE_TABLES_VERSION', '1.8.3' );
define( 'SP_LEAGUE_TABLES_VERSION', '2.0' );
if ( !defined( 'SP_LEAGUE_TABLES_URL' ) )
define( 'SP_LEAGUE_TABLES_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Add player lists to SportsPress.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 1.9.17
Version: 2.0
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Player_Lists' ) ) :
* Main SportsPress Player Lists Class
*
* @class SportsPress_Player_Lists
* @version 1.9
* @version 2.0
*/
class SportsPress_Player_Lists {
@@ -48,7 +48,7 @@ class SportsPress_Player_Lists {
*/
private function define_constants() {
if ( !defined( 'SP_PLAYER_LISTS_VERSION' ) )
define( 'SP_PLAYER_LISTS_VERSION', '1.9' );
define( 'SP_PLAYER_LISTS_VERSION', '2.0' );
if ( !defined( 'SP_PLAYER_LISTS_URL' ) )
define( 'SP_PLAYER_LISTS_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
Description: Display SportsPress video tutorials.
Author: ThemeBoy
Author URI: http://themeboy.com/
Version: 1.9.6
Version: 2.0
*/
// Exit if accessed directly
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Tutorials' ) ) :
* Main SportsPress Tutorials Class
*
* @class SportsPress_Tutorials
* @version 1.9.6
* @version 2.0
*/
class SportsPress_Tutorials {
@@ -44,7 +44,7 @@ class SportsPress_Tutorials {
*/
private function define_constants() {
if ( !defined( 'SP_TUTORIALS_VERSION' ) )
define( 'SP_TUTORIALS_VERSION', '1.9.6' );
define( 'SP_TUTORIALS_VERSION', '2.0' );
if ( !defined( 'SP_TUTORIALS_URL' ) )
define( 'SP_TUTORIALS_URL', plugin_dir_url( __FILE__ ) );

View File

@@ -3,8 +3,8 @@ Contributors: ThemeBoy, brianmiyaji, aylaview, rochesterj
Tags: sport, sports, club, clubs, teams, statistics, stats, metrics, data, fixtures, results, standings, league tables, leagues, shortcodes, sports data, sports club, themeboy, esports, wordpress sports, equations, calculations, events, calendars, players, profiles, staff, seasons, countdowns, club management, football, nfl, footy, afl, baseball, basketball, cricket, darts, handball, hockey, netball, rugby, snooker, soccer, squash, tennis, volleyball, dota 2, league of legends, golf
Donate link: http://tboy.co/donate
Requires at least: 3.8
Tested up to: 4.4
Stable tag: 1.9.20
Tested up to: 4.5
Stable tag: 2.0
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -49,6 +49,7 @@ Transform your WordPress blog into a fully configurable team, club, or league we
More details about each feature are available on the [SportsPress Website](http://tboy.co/pro).
= Free Extensions =
* [SportsPress for Baseball](https://wordpress.org/plugins/sportspress-for-baseball/)
* [SportsPress for Cricket](https://wordpress.org/plugins/sportspress-for-cricket/)
* [SportsPress for Football (Soccer)](https://wordpress.org/plugins/sportspress-for-soccer/)
* [SportsPress for Golf](https://wordpress.org/plugins/sportspress-for-golf/)
@@ -123,6 +124,7 @@ Looking for more advanced sports functionality? Upgrade to [SportsPress Pro](htt
* [Football Club](http://tboy.co/fc)
* [Premier](http://tboy.co/premier)
* [Emblem](http://tboy.co/emblem)
* [Marquee](http://tboy.co/marquee)
= Documentation =
* [Getting Started](http://tboy.co/installation)
@@ -138,7 +140,7 @@ Feel free to share your suggestions with us so we can continue to develop awesom
Developers can contribute via the [SportsPress GitHub Repository](https://github.com/ThemeBoy/SportsPress/blob/master/CONTRIBUTING.md).
Translators can contribute to SportsPress translations through [Transifex](https://www.transifex.com/projects/p/sportspress/).
Translators can contribute to SportsPress translations through [GlotPress](https://translate.wordpress.org/projects/wp-plugins/sportspress).
= Stay Current =
To keep up with the latest updates and new features, be sure to do the following:
@@ -221,23 +223,53 @@ Limitations? Don't worry, there are no limitations to the number of events, play
The current modules that are available exclusively to SportsPress Pro are:
* Tournaments: Create and display tournaments in a bracket/knockout cup format.
* Scoreboard: Display multiple event results in a horizontal scoreboard.
* Sponsors: Add your sponsors on your website and track each of their clicks and impressions.
* Staff Directories: Show contact information of your key personnel so people know who to get in touch with.
* Team Access: Assign users to a specific team and limit their access to data related to that team.
* Team Colors: Make each team's profile page unique by displaying their team colors.
* League Menu: Display a global navigation bar at the top of your website for easy navigation from one team to the next.
* Birthdays: Display each player's birthday and their current age.
* Twitter: Add a Twitter feed to team, player, and staff pages.
* Branding: Instantly rebrands your admin panel to reflect your organization's brand.
* Duplicator: Clone anything with just one click. Great for creating multiple events.
* Lazy Loading: Load players using Ajax to speed up the event edit screen.
There are [4 different licenses](http://tboy.co/pro) that you can choose from: Social, Club, League, and Agency.
There are [3 different licenses](http://tboy.co/pro) that you can choose from: Club, League, and Agency.
When you upgrade to one of the SportsPress Pro licenses, you can simply activate the Pro version without losing any of your data. Please note that we recommend that you do a complete backup whenever you make big changes to your website.
== Changelog ==
= 2.0 =
* Feature - Integration with [WP REST API](https://wordpress.org/plugins/rest-api/) by adding endpoints for viewing, creating, editing, and deleting SportsPress data.
* Feature - New drag-and-drop layout designer for customizing events, teams, players, and staff pages.
* Feature - Allow player biography to float next to photo in profile.
* Feature - Add option to display separate offensive and defensive statistics in player profiles.
* Feature - Add option to display career totals as a footer row in player statistics tables.
* Feature - Add option to display event calendar or fixtures & results on team pages.
* Feature - Add option to display time in event logos section when results are not ready.
* Feature - Add global visibility settings to player statistic columns.
* Feature - Add team, competition, league, and venue filter to event calendar, event list, and event blocks shortcodes.
* Feature - Automatically re-order competitions, seasons, venues, positions, and jobs by slug.
* Feature - New welcome page outlining notable changes to major plugin version.
* Refactor - Change parameter for sp_get_next_event function to allow custom templating.
* Tweak - Reverse team order also applies to admin.
* Tweak - Hide squad number from defense box score.
* Tweak - Use more compact labeling in player columns admin meta box.
* Tweak - Update modules page to reflect new premium scoreboard module.
* Tweak - Remove hardcoded protocol for calls to Google Maps scripts.
* Tweak - Limit venue archives to events.
* Tweak - Float team profile next to logo on team pages.
* Tweak - Display league table and player list option in teams only when modules are active.
* Tweak - Load profile and description meta boxes as native editors instead of custom methods.
* Tweak - Load team abbreviations independent of post title filter.
* Tweak - Add z-index to make header float above other elements.
* Fix - Error when league table column has no equation.
* Fix - Error when displaying checkboxes for manual event statistics.
* Fix - Venues linking automatically in countdown widgets.
* Fix - Styling issue where countdown widgets were pushed off-screen in some themes.
* Fix - Avoid loading countdown widget if no events are available.
* Preset - Update baseball, cricket, floorball, handball, ice hockey, and softball presets.
= 1.9.20 =
* Tweak - Expand event title section for team logos in countdown widget.
* Tweak - Center align team logo images in event.

View File

@@ -3,11 +3,11 @@
* Plugin Name: SportsPress
* Plugin URI: http://themeboy.com/sportspress/
* Description: Manage your club and its players, staff, events, league tables, and player lists.
* Version: 1.9.20
* Version: 2.0
* Author: ThemeBoy
* Author URI: http://themeboy.com
* Requires at least: 3.8
* Tested up to: 4.4
* Tested up to: 4.5
*
* Text Domain: sportspress
* Domain Path: /languages/
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
* Main SportsPress Class
*
* @class SportsPress
* @version 1.9.20
* @version 2.0
*/
final class SportsPress {
/**
* @var string
*/
public $version = '1.9.20';
public $version = '2.0';
/**
* @var SportsPress The single instance of the class

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9.13
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9.12
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9.19
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9.19
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.8
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.9.13
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.7.4
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

View File

@@ -4,7 +4,7 @@
*
* @author ThemeBoy
* @package SportsPress/Templates
* @version 1.8.9
* @version 2.0
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly