I’m wanting to create a player statistic to calculate the percentage of the total teams runs?
Unfortunately you cannot use the runs for value as this is not the total teams runs for the season but rather a value based on the total teams runs for when that specific player has played in the team.
e.g. Player A plays 3 games for Team A, runs for shows the runs scored in those 3 games. Player B plays all games for team A and runs for shows the total runs scored by Team A.
In order to calculate the percentage that Player A has scored for Team A, I cannot retrieve the full total of runs scored for Team A to calculate this statistic?
Hope this makes sense. Can anyone help?
]]>[02-May-2023 12:12:32 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: float + string in /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress-for-cricket/sportspress-for-cricket.php:314
Stack trace:
0 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/class-wp-hook.php(308): SportsPress_Cricket->performance_total(64, Array, 'runs')
1 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/plugin.php(205): WP_Hook->apply_filters(64, Array)
2 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/templates/event-performance-table.php(295): apply_filters('sportspress_eve…', 64, Array, 'runs')
3 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/sp-core-functions.php(82): include('/home1/nnjqjwmy…')
4 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/templates/event-performance.php(267): sp_get_template('event-performan…', Array)
5 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/sp-core-functions.php(82): include('/home1/nnjqjwmy…')
6 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/sp-template-functions.php(204): sp_get_template('event-performan…')
7 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/class-sp-template-loader.php(97): sportspress_output_event_performance()
8 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/class-sp-template-loader.php(177): SP_Template_Loader->add_content('', 'event', 10, 'Recap')
9 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/class-wp-hook.php(308): SP_Template_Loader->event_content('')
10 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array)
11 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/post-template.php(255): apply_filters('the_content', '')
12 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/template-parts/parts/content.php(2): the_content()
13 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(785): require('/home1/nnjqjwmy…')
14 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(718): load_template('/home1/nnjqjwmy…', false, Array)
15 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
16 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/template-parts/post/content-post.php(42): get_template_part('template-parts/…')
17 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(785): require('/home1/nnjqjwmy…')
18 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(718): load_template('/home1/nnjqjwmy…', false, Array)
19 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
20 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/template-parts/single.php(8): get_template_part('template-parts/…')
21 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(785): require('/home1/nnjqjwmy…')
22 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(718): load_template('/home1/nnjqjwmy…', false, Array)
23 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
24 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/index.php(11): get_template_part('template-parts/…')
25 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template-loader.php(106): include('/home1/nnjqjwmy…')
26 /home1/nnjqjwmy/public_html/playiplt20com/wp-blog-header.php(19): require_once('/home1/nnjqjwmy…')
27 /home1/nnjqjwmy/public_html/playiplt20com/index.php(82): require('/home1/nnjqjwmy…')
]]>
there are so many error on sportspress cricket plugin
[02-May-2023 16:28:52 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: float + string in /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress-for-cricket/sportspress-for-cricket.php:314
Stack trace:
0 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/class-wp-hook.php(308): SportsPress_Cricket->performance_total(0, Array, 'runs')
1 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/plugin.php(205): WP_Hook->apply_filters(0, Array)
2 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/templates/event-performance-table.php(295): apply_filters('sportspress_eve…', 0, Array, 'runs')
3 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/sp-core-functions.php(82): include('/home1/nnjqjwmy…')
4 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/templates/event-performance.php(267): sp_get_template('event-performan…', Array)
5 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/sp-core-functions.php(82): include('/home1/nnjqjwmy…')
6 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/sp-template-functions.php(204): sp_get_template('event-performan…')
7 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/class-sp-template-loader.php(97): sportspress_output_event_performance()
8 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/plugins/sportspress/includes/class-sp-template-loader.php(177): SP_Template_Loader->add_content('', 'event', 10, 'Recap')
9 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/class-wp-hook.php(308): SP_Template_Loader->event_content('')
10 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array)
11 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/post-template.php(255): apply_filters('the_content', '')
12 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/template-parts/parts/content.php(2): the_content()
13 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(785): require('/home1/nnjqjwmy…')
14 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(718): load_template('/home1/nnjqjwmy…', false, Array)
15 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
16 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/template-parts/post/content-post.php(42): get_template_part('template-parts/…')
17 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(785): require('/home1/nnjqjwmy…')
18 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(718): load_template('/home1/nnjqjwmy…', false, Array)
19 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
20 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/template-parts/single.php(8): get_template_part('template-parts/…')
21 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(785): require('/home1/nnjqjwmy…')
22 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template.php(718): load_template('/home1/nnjqjwmy…', false, Array)
23 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/general-template.php(204): locate_template(Array, true, false, Array)
24 /home1/nnjqjwmy/public_html/playiplt20com/wp-content/themes/spoclub/index.php(11): get_template_part('template-parts/…')
25 /home1/nnjqjwmy/public_html/playiplt20com/wp-includes/template-loader.php(106): include('/home1/nnjqjwmy…')
26 /home1/nnjqjwmy/public_html/playiplt20com/wp-blog-header.php(19): require_once('/home1/nnjqjwmy…')
27 /home1/nnjqjwmy/public_html/playiplt20com/index.php(82): require('/home1/nnjqjwmy…')
]]>
Hello,
I want to know how to add Test match using this plugin?
Can you help in this? Or Any update coming soon for this?
Thanks
]]>Several matches I have this message show claiming that there is no data available in the table. Can you assist?
]]>Hi Team,
In a match/event can I update who is batting first or bowling first.
Currently it assumes whichever team is selected first to be batting first.
Is this feature available or how can we do it?
Is this possible to show different Leaguetable tournament wise. In different tournament different teams are playing. So I want to show separate league table for separate tournament. Can anyone please guide me how to do this.
]]>Hi,
I am trying to find out how to add overs in players’ total overs?
let say one player has bowled 3.2 overs and next match he bowled 2.5 then it should be 6.1 but it saying as 5.7 overs.
Thank you.
]]>The Match Outcome is calculated wrong. It should read that Green Mambas won by 4 Wickets, Instead it says won by 1 run.
Where can the logic be found in the plugin so that I can see to manually adjust this?
]]>On the demo version of the website. I see the scorecard option available where you can see how a batsman was dismissed and so forth. But I cannot see that scorecard on my website. Can you assist? https://demo.themeboy.com/sportspress/emblem/cricket
This is what mine look like
https://cricket268.com/event/spartans-vs-pythons-t2019/
Please assist.
]]>Very helpfull plugin for cricket management.
I’m using free version to a site. I’m having some problem in updating match results. I tried to upload scores but after uploading csv file it says file uploaded but when I go back to the match there is nothing. Also on post edit page in Team list clicking on the Show all link generates an error in console.
Looks like it’s not loading correct javascript.
Any idea how to solve this?
Thanks,
]]>Is it possible to only list the players selected for batting to then be displayed in the list of potential bowlers? It would save a huge amount of time if the bowler list was filtered to show only those players selected in the fist (batsmen) tab. This just refers to cricket, not other sports.
Jerry
Based on our cricket league rules
Losing team will get 1 points for every 40 runs they scored in lost match. maximum is 5 points. we call this as batting points.
same as that Losing team will get 1 points for every 2 wickets they took in lost match. maximum is 5 points. we call this as bowling points.
Note winning team only get 20 points.
how can i set up this. Please help me.
]]>I wanna import matches using CSV. How can I? The default CSV template meant for Football. How to configure it for Cricket?
]]>Here is my website link
]]>Hi
I’m developing a website using SportPress cricket plugin and when I’m entering score card for a fixture I did find difficult to understand the heading labels, So I have changed the labels as mentioned below and additional to existing ones I have added ‘TotalRuns’ label
Player|TotalRuns|Runs|Ballsfaced|Total4s|Total6s|OversBowled|Maidens|Runsgiven|TotalWickets|Status
so that I can calculate of total runs made by a player and this helps to create pages like Top Batsmen and Top Bowler so see their total scores and total wickets across the league. However, the problem here is I can see the total runs field is not automatically calculating the runs made by batsmen when entering the score card sheet which is under ‘Box Score’ currently I’m manually calculating the runs like no of 1’s,2’s 4’s and 6’s
Please let me know how to fix this issue!
Thanks
]]>Thanks for a great theme and plugin. I have a question regarding player stats that may have been subverted the way that data is stored/called for a player’s statistics.
Our team (joburgcricket.club) uses squads rather than unchanging teams that play in the various competitions. The team for each game is drawn from the senior or junior squad.
In order to show the team for each game, I have had to create a team list specific to each match. I then use that team list to create a ‘team’ under that section of the WP plugin.
When entering scores for each game I’m not able to do so under the ‘team’ page and have had to input that data under the ‘team list’ page.
Here is the page for a match – reflecting the team scorecard: https://joburgcricket.club/event/marks-park-vs-jcc-sa-1/
The scorecard has been included by using the shortcode for the player list created for that match.
This is the page for the player list for that match: https://joburgcricket.club/list/sa-1-8-oct-2016/
And here is the page for the team: https://joburgcricket.club/team/sa-1-8-oct-2016/
In all these pages, the scores for each player do show, but these do not seem to be pulled into an individual player’s profile page.
Here is one player’s profile page: https://joburgcricket.club/player/jp-van-aswegen/
Where is the player data/stats called from? Is there a way for me to show player stats on the player profile page having subverted the way that you create teams? (I’m happy to show only career stats vs stats per league/competition as they tend to play across different leagues throughout the season)
Many thanks
]]>Hi, The plugin looks awesome but few issues need to work out very soon. The extras field is not working and not calculating in the total. Is that working in premium version ? How to add the bowlers as left arm medium, right arm, or leg spinner, off spinner ? Same for batsmen – Left handed, right handed etc.
]]>Hi All,
Does anyone know the best way to setup SportPress for cricket matches that are played over 2 days. for eg: over two Saturdays
Then also, each team would have two innings, 2 for batting and 2 for bowling.
I noticed that with Soccer there is an ‘Event Results’ configuration called ‘1st Half’ and ‘2nd Half’ but how would I set this up for cricket to show Day 1 and Day 2 plus show result/scores/statistics for all the innings?
Thanks in advance
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>How to Move Article Section to Bottom?
Wanna add like the following:
Batting – Team 1 Name
Bowling – Team 2 Name
Batting – Team 2 Name
Bowling – Team 1 Name
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>Hi Guys,
Hoping you can help me out with this one!
I am trying to get my league table to display the right points for a win, tie, loss etc. but am struggling.
How do I award the following:
The losing side will be awarded points as follows:
Batting Points (20 over matches) 1 Point at 25 runs plus a further 1 point for additional 25 runs to a maximum of 5 points (i.e. 5 points for 125 runs and above).
Any pointers much appreciated.
Cheers
Jesse
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>The Extras are not adding to Total Score in front end. But while editing the match it works fine in Backend. See this link
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>There should be Fall of wickets as player gets out, they should be some option to display player is out for some balls and runs and how player got out like bowled or caught or run out..etc
Please consider this for next update.
Thanks,
Bhanu
My site: https://iplcricket.org
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>I have a cricket league that I am running. I need a site that can upload cricket scorecards to the site and then have stats that are linked to the scorecards and a league table.
Can your plugin do that, especially the scorecards part? Do you have a demo of that I can see before I buy?
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>Hey everyone!
I’ve been working on a major update to this extension to make it more intuitive and complete.
As mentioned in the plugin description, the current version of SportsPress for Cricket is still in Beta. We’re still making improvements and have had to change some of the data structure in order to support the new features we’re introducing.
This means that some of the data will not transfer when updating from version 0.9.3 to 1.0. Please be sure to keep a backup of your current data, or test the new version before updating your main site.
The main areas that will change in version 1.0 are:
If you’re ready to start using the new version, you can get it from GitHub before the official release scheduled for early next week. Please also be sure to download the working master branch of SportsPress to get everything to work.
To test out the new update
Now, you should see a Cricket ball in place of the SportsPress logo in the sidebar, and be able to select players for batting and bowling sections separately when editing events.
As always, please feel free to share your feedback in this forum. If you are having any issues, I’d be happy to look into them to resolve them as quickly as possible.
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>Player Scorecard is not showing properly at the right place as it showing before. Check out this you will understand properly. The score card is showing in the below of all the details. But I want to show it just below to player statics.
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>Hey Brian, I am using sportpress cricket plugin. When I add player statistics with season records. It does show total U can very well understand with this link. In it i mention this player all records and statistics with total. But total is not showing in it. What the reason please solve it.
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>I get bunch of warnings on the site:
Warning: Illegal string offset ‘_notes’ in wordpress\wp-content\plugins\sportspress-for-cricket\sportspress-for-cricket.php on line 412
Please help resolve.
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>Dear Support team,
Please visit the url: https://tcc.ebrainsoft.com/event/blasters-vs-rockers-31-oct-15-match-3/
The cricket scorecard is not showing headers, please suggest how to fix it.
Same time also let us know how to add formula for calculating Average of the batsmen? Currently there is no any field for number of matches in which batsmen batted.
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>The JS Content given in wp-content/plugins/sportspress-for-cricket/js/sportspress-cricket.js file conflicts with other Javascripts in the site. Thus most of the JS functions like Lightbox, Accordians, Drop Downs are not working.
https://www.ads-software.com/plugins/sportspress-for-cricket/
]]>