Commit Graph

2832 Commits

Author SHA1 Message Date
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
Nabil Kadimi
6720808309 Verify get_terms result is an array before foreach 2018-07-25 21:21:09 +01:00
Brian Miyaji
c8414b0689 Tag version 2.6.7 2018-07-24 10:26:20 +10:00
Brian Miyaji
dad05dc6ba Update Google Maps API endpoints 2018-07-24 10:23:17 +10:00
Nabil Kadimi
a31fee008d Improve stats visibility on the dashboard
Improve stats visibility on the dashboard by reducing the lightness on automatic stats (from `gray` to `silver`).
2018-07-21 08:57:02 +01:00
Brian Miyaji
7ef961b4f4 Return main results without reverse 2018-07-16 13:49:39 +10:00
Brian Miyaji
a3f6a36d2b Revert "Merge pull request #280 from kadimi/patch-16"
This reverts commit 37f7076c5e, reversing
changes made to 00158a5812.
2018-07-16 13:24:54 +10:00
Brian Miyaji
3f0082baa4 Revert "Merge pull request #275 from kadimi/patch-11"
This reverts commit 757c827b82, reversing
changes made to 22ee0eb2cc.
2018-07-16 13:24:05 +10:00
Brian Miyaji
d0d18e0885 Merge pull request #283 from kadimi/patch-18
Update contributors
2018-07-12 11:19:30 +10:00
Nabil Kadimi
b472fc537e Update contributors 2018-07-11 12:03:23 +01:00