Commit Graph

2741 Commits

Author SHA1 Message Date
savvasha
b76b506a35 Fix the "The Countdown timer does not show the first number in the DAY field" bug when the day was 3digits 2018-10-01 10:09:22 +03:00
Nabil Kadimi
db8a7180f0 Fix "Skip if zero" not handling float representation (0.0*) 2018-09-26 10:43:24 +01:00
Nabil Kadimi
8fe28e788d Minor 2018-09-19 19:33:23 +01:00
Nabil Kadimi
d6750dd905 Preserve data when importing players
Preserve positions, seasons and leagues
2018-09-19 19:32:16 +01:00
savvasha
55cb7e9765 Add Default Nationality option at General Settings. 2018-09-18 16:45:10 +03:00
Brian Miyaji
d25072f127 Initial commit to disable Gutenberg editor for SP post types 2018-09-18 19:26:02 +10:00
Brian Miyaji
ae9504552e Merge branch 'master' into feature-gutenberg 2018-09-18 09:12:53 +10:00
Nabil Kadimi
8cc95c9dd8 Fix URL, reduce lines length & check description 2018-09-15 15:41:13 +01:00
savvasha
d83abf4b12 Avoid PHP warnings with PHP >= 7.2.x
Fix PHP Warning:  sizeof(): Parameter must be an array or an object that implements Countable on line 24
2018-09-15 17:02:54 +03:00
savvasha
f42499ba5e Avoid PHP warnings with PHP >= 7.2.x
Fix PHP Warning:  sizeof(): Parameter must be an array or an object that implements Countable on line 263
2018-09-15 16:58:48 +03:00
Nabil Kadimi
d07bb36228 Add required iCalendar property DTSTAMP
See https://icalendar.org/iCalendar-RFC-5545/3-6-1-event-component.html
2018-09-13 19:30:50 +01:00
Nabil Kadimi
672e116526 Refactor using WordPress brace style
https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#brace-style
2018-09-13 17:42:36 +01:00
Nabil Kadimi
ea093cba6f Allow overriding team events list template arguments 2018-09-13 17:40:47 +01:00
Nabil Kadimi
88e9491e2c Minor PHP 5 compatibility 2018-09-13 17:31:55 +01:00
Nabil Kadimi
15369f23ac Update locationpicker.jquery.js 2018-09-12 19:43:47 +01:00
Nabil Kadimi
8b69fe22fe Minor 2018-09-12 19:42:56 +01:00
Nabil Kadimi
b488fecb4e Fix location picker freezing the browser 2018-09-12 19:40:52 +01:00
Nabil Kadimi
4acfcc62e0 Refactor 2018-09-11 23:56:47 +01:00
savvasha
4d5be2a4c2 Optimize sp_team filtering 2018-09-07 19:05:35 +03:00
savvasha
936743f55c Filter events based on Home and Away Team 2018-09-07 19:03:46 +03:00
savvasha
013383fb2d Add Layout Selection and modify the Event Filtering 2018-09-07 11:48:42 +03:00
savvasha
cfc62c93c4 1st Commit 2018-09-06 19:21:38 +03:00
savvasha
61bab3cbc8 Add date and time option for showing on the countdown widget 2018-09-03 17:41:45 +03:00
savvasha
7b04d13d58 Avoid PHP warning on Calendar edit page
Avoid PHP Warning:  Invalid argument supplied for foreach() in \wp-content\plugins\sportspress-pro\includes\sportspress\includes\class-sp-event.php on line 587

The error occurs on Calendar Edit page when there is an event without an assigned official.
2018-09-01 18:15:22 +03:00
savvasha
c37705024d Add a "Full Info" event shortcode. It supports template order! 2018-08-31 18:53:55 +03:00
savvasha
329de03646 Add three new event shortcodes (Teams, Venue, Officials) 2018-08-31 17:46:13 +03:00
savvasha
953f551016 Make the Player List shortcode more flexible (selection of Season, League and Team) 2018-08-29 21:35:03 +03:00
savvasha
bf50beb953 Avoid loading ALL players at the first step of creating a Player List 2018-08-29 06:47:59 +03:00
Brian Miyaji
ab4cdc52f0 Tag version 2.6.8 2018-08-28 23:50:39 +10:00
Brian Miyaji
b7ca52896e Update file version numbers 2018-08-28 23:37:01 +10:00
Brian Miyaji
a369be562d Merge pull request #288 from kadimi/patch-21
Allow overriding player selector args
2018-08-28 23:36:36 +10:00
Brian Miyaji
4a1de5156f Merge pull request #287 from kadimi/patch-20
Verify get_terms result is an array before foreach
2018-08-28 23:36:17 +10:00
Brian Miyaji
fe60d56088 Merge pull request #290 from ThemeBoy/feature-statistics-icons
Feature statistics icons
2018-08-28 23:35:23 +10:00
savvasha
c4a51e2a9b Filter events based on format (Competitive, Friendly, Tournament etc) 2018-08-28 10:39:24 +03:00
savvasha
fea34c7ff2 Avoid PHP Notice: Undefined variable: date 2018-08-28 10:00:02 +03:00
savvasha
fd0591309d Add support for commenting on Scheduled Events. 2018-08-27 12:33:14 +03:00
savvasha
bd27f41977 Add Matchday to Event-Block Template. 2018-08-25 18:31:55 +03:00
savvasha
8a49026cb2 Make Player Assignment filtering at Player Lists more "clever". 2018-08-25 17:16:02 +03:00
savvasha
8e33149ab8 Some tuning for countdown scripts 2018-08-24 07:09:15 +03:00
Brian Miyaji
41b1ede690 @savvas commit fix countdown timezone issue 2018-08-24 00:52:17 +10:00
Brian Miyaji
7f03ca39b9 @savvasha commit from BitBucket 2018-08-24 00:47:45 +10:00
Brian Miyaji
84782414d2 Center map pin 2018-08-22 01:52:57 +10:00
Brian Miyaji
f38f413041 Display pin overlay and link map 2018-08-22 01:22:38 +10:00
savvasha
4b8dbaec49 Filter teams arrays to remove any 0 or null values 2018-08-20 18:14:39 +03:00
savvasha
be2c026f3f Avoid PHP warnings with Midseason Transfers
When Midseason Transfers are used we have to convert the string values to integers (i.e. `'601.1'` to `601`) to avoid PHP warnings
2018-08-15 09:43:29 +03:00
Nabil Kadimi
5adcf79906 Allow overriding player selector args 2018-08-07 12:58:01 +01:00
savvasha
0038088858 Add uk to countries legacy list 2018-07-31 17:26:08 +03:00
savvasha
45e5b7637f Avoid overriding meta_query args when a team is selected 2018-07-30 22:51:29 +03:00
savvasha
abfa60d60b Correct week filtering logic 2018-07-30 22:36:40 +03:00
savvasha
ce4389bee9 Add "week" as a filtering option to Birthdays widget 2018-07-30 16:40:07 +03:00