Team Stats
-
Hi ThemeBoy,
Thanks for answering my other questions. Here’s another one. Hope you don’t mind.
When I enter stats for teams for a finished game, it does not sync with stats that are displayed in the team page (game played, victories, defeats, etc). I have to enter them manually. Is it possible to sync all those stats based on infos entered for a finished match ?
Is this an equation/configuration based on my entries ?
Many thanks for your time.
-
Hi @dbsept24,
I’m happy to answer your questions.
The team page statistics are designed to auto-update only if the fields are left blank. If it works, you’ll notice a “placeholder” value that shows in light grey if the fields are empty.
For this to work, the league and season of the event must be the same as those displayed in the team page.
I hope this makes sense ??
Hi ThemeBoy,
Thanks for the latest update. Here’s what i have.
I have a 2014 season and a league called “Hommes Local”. I have those options selected in both my test event and my team A. I’ve created a test event, updated results (team A wins) and some player stats.
When i go see the Team A page, it only updates the Strk field, actually W1 for team A and L1 for team B. Still not showinh other stats as
W, L and Pct.I think it should display :
W/L/Pct
1/0/whatever the calculationHi again!
Thanks for the details. The issue might be with the table column equations. I’d like to see the output of SportsPress > System Status if you could paste it in below (use the “code” button)
Here you go :
### Environnement ###
URL accueil: https://classiquepif.com
URL du site: https://classiquepif.com
SP Version: 1.1.4
Version WP: 3.9.1
WP Multisite activé: Non
Infos Serveur Web: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Version PHP: 5.2.17
WP Limite mémoire: 128 MB
WP Mode débug: Non
WP Langage: fr_FR
WP Téléchargement max.: 100 MB
Poids Max Post PHP: 100 MB
Limite d’exécution PHP: 300
PHP Max Input Vars: 1000
SUHOSIN Installé: Non
Timezone par défaut: La timezone par défaut est America/Montreal – doit être UTC
fsockopen/cURL: Votre serveur a fsockopen et cURL activés.
SOAP Client: Votre serveur a la classe SOAP Client activée.### Extensions ###
Extensions installées: Advanced Custom Fields: Repeater Field par Elliot Condon version 1.1.1
Admin Menu Editor par Janis Elsts version 1.3.2
Advanced Custom Fields par Elliot Condon version 4.3.8
Codepress Admin Columns par Codepress version 2.2.1.1
Contact Form DB par Michael Simpson version 2.7.5
Contact Form 7 par Takayuki Miyoshi version 3.8.1
Custom Post Type UI par WebDevStudios.com version 0.8.2
Dashboard Notepad par Stephanie Leary version 1.40
Disable All WordPress Updates par Oliver Schl?be version 1.4.2
Duplicate Post par Enrico Battocchi version 2.6
New RoyalSlider par Dmitry Semenov version 3.2.2
Responsive Attention Box par Bledar Ramo version 1.0
Restricted Site Access par Jake Goldman
10up
Oomph version 5.0.1
Rewrite Rules Inspector par Daniel Bachhuber
Automattic version 1.2.1
Search Everything par Zemanta version 8.1.2
Sept24 Remove Comments Absolutely par Bruno Margenats version 4.0
Sept24 bandeau urgence par Sept24 version 1.0
ShowID for Post/Page/Category/Tag/Comment par Fumito Mizuno version 2.4
Simple Page Ordering par Jake Goldman
10up version 2.2.1
WPML Multilingual CMS par ICanLocalize version 3.1.5
SportsPress par ThemeBoy version 1.1.4
TablePress par Tobias B?thge version 1.4
ThreeWP Activity Monitor par edward mindreantre version 2.12
UpdraftPlus – Backup/Restore par UpdraftPlus.Com
DavidAnderson version 1.9.15
What Template File Am I Viewing? par The Mighty Mo! Design Co. version 1.2
WordPress SEO par Joost de Valk version 1.5.3.3
WordPress Statistics par Mostafa Soufi version 6.0
WPML String Translation par ICanLocalize version 2.0.5### SP Configuration ###
Sport: baseball
Event Outcomes: Win (v) [2]
Loss (d) [4]Team Results: 1 (first) [1]
2 (second) [2]
3 (third) [3]
4 (fourth) [4]
5 (fifth) [5]
6 (sixth) [6]
7 (seventh) [7]
8 (eighth) [8]
9 (ninth) [9]
Points (pts) [10]
? (extra) [20]
R (r) [22]
H (h) [24]
E (e) [26]Player Performance: P/G (pg) [0]
AB (ab) [1]
CS/H (cs) [2]
1B (oneb) [3]
2B (twob) [4]
3B (threeb) [5]
CC (cc) [6]
BB (bb) [7]
PC (pc) [8]
PP (pp) [9]
MOY (moy) [10]Table Columns: PJ (pj = ) [0]
PP (pp = ) [0]
PC (pc = ) [0]
W (w = $w) [2]
L (l = $l) [4]
Pct (pct = $w / $eventsplayed) [6]
RS (rs = $rfor) [8]
RA (ra = $ragainst) [10]
Strk (strk = $streak) [12]Player Metrics:
Player Statistics: Moyenne (moyennetwo = $cs / $ab) [11]### SP Taxonomies ###
Ligues: Filles invitation (filles-invitation)
Filles local (filles-local)
Hommes invitation (hommes-invitation)
Hommes local (hommes-local)Saisons: 2000 (2000)
2001 (2001)
2002 (2002)
2003 (2003)
2004 (2004)
2005 (2005)
2006 (2006)
2007 (2007)
2008 (2008)
2009 (2009)
2010 (2010)
2011 (2011)
2012 (2012)
2013 (2013-2)
2014 (2014-2)Lieux: Parc Belvédère Park (belvedere)
Parc Bureau Parc (bureau)
Parc Desranleau Park (desranleau)
Parc Quintal Park (parc-quintal)Positions:
### SP Post Types ###
événements: 57 publish
29 future
0 draft
0 private
15 trash
0 auto-draft
0 inheritCalendars: 5 publish
0 future
0 draft
0 private
0 trash
0 auto-draft
0 inheritéquipes: 325 publish
0 future
4 draft
0 private
36 trash
1 auto-draft
0 inheritClassements: 54 publish
0 future
0 draft
0 private
7 trash
0 auto-draft
0 inheritJoueurs: 347 publish
0 future
0 draft
0 private
30 trash
3 auto-draft
0 inheritListes des joueurs: 42 publish
0 future
0 draft
0 private
18 trash
0 auto-draft
0 inheritPersonnel: 1 publish
0 future
0 draft
0 private
0 trash
0 auto-draft
0 inherit### Thème ###
Nom du thème:
Version du thème:
URL de l’auteur:### Modèles HTML ###
Modifications du modèle html:Aucun remplacement présent dans le thème.
Hi again!
Thanks for sending this. I’ve found an issue with the equations.
It shows that the key for Win is “v” and Loss is “d”.
Win (v) Loss (d)
However, the equation for the W column uses the key “w” and L uses “l”
W (w = $w) L (l = $l)
If you prefer to keep the “v” and “d” keys, then you will need to edit the W and L columns and create a new equation by dragging “Win” and “Loss” into the equation.
If you don’t mind changing the keys back to “w” and “l”, you can fix the issue by editing the “Win” and “Loss” event outcome and changing the keys to “w” and “l”. Please note that if you do this you will need to re-save the events that have outcomes.
I hope this helps ??
Many thanks
- The topic ‘Team Stats’ is closed to new replies.