Just a feature request - please bear in mind I'm very football (soccer) minded, so I come at it from that perspective.
I am building a site and the module has very much met my needs for the most part - excellent!
The thing I would really like to see would be a stats component. The one I am going to implement on my site simply by having a 'goals scored' field in the player content type inputted manually is the Top Scorers of the league.
Just to get the ball rolling, other commonly used stats could be
- top scorer by competition
- top scorer by all competitive fixtures in a season
- appearances, (including as sub)
- fair play league (calculated by assigning points to certain types of penalty - red cards, yellow cards etc).
Please contact me via the contact form if you require any clarification on any of the above.
Thanks again for your work on this Module Alun which is superb.
Comments
Comment #1
Alun commentedHi Tony, thanks for the input. I have got a basic plan for statistics, which would technically not take too long to roll out once I start it. I have provided all the hooks required to get the details for when a match result is entered and such.. I just need to hook into this and add required details into match tables.
I can se the fields you are requesting. I am getting a new development version committed soon which will record home and away data, not just total (goals scored at home, goals scored away.. etc..) so I'll commit that hopefully in the next few weeks.
Cheers!
Alun
Comment #2
Alun commentedI'l keep this on the back burner for the moment, lots of new features coming up, so I'll deal with stats as we go along!
Comment #3
tonypaulbarkerYou're the boss Alun! I have a temporary 'manual' solution for my site anyways for now :-)
Comment #4
scottauth commentedI'm making a hockey website and I'd like to chime in on some statistics I would like to see.
I have a feeling that Goals, Assists, and Total Points will be apart of your stats, however I would hope that we can also add statistics for goalies. Nothing too crazy, simply Games Played, Goals Against, and if possible showing the Goals Against Average based on the previous two stats. If Goals Against was zero having a Shutouts stat would be great too.
Comment #5
Alun commentedI'm going to have to think about making the stats as customisable as possible! I assume a shutout means a game with no goals conceded, like a clean sheet?
Comment #6
scottauth commentedThat would be correct -- sports are funny, so many different words for the same exact thing.
Comment #7
ddorian commentedIdeas of how to implement:
1. All the matches that a player has played.
Make the players that played in a game Nodereferences (in CCK) (Currently testing your module maybe u have done this).
a:Use backreference module (when u type that a player played in this match it updates the reference field that the player has on a match(need to be created first but it updates automatically on create/delete))
b:Use node_relationships module (has a default view that shows which nodes(matches or whatever) reference to this player)
c:Create a view. Use relationships/arguments/filters (see how to do it by installing node_relationships)
2. All the matches that a team has played.
Look at 1 a/b/c.
3. All the penalties a player has taken.
See at 1 a/b/c. Make the player a nodereference and display stuff with a view.
I'm more about using views because u can freely customize the look.
Comment #8
MasterChief commentedHi Alun, hi ddorian !
The fact to use views for this will be the best, as you say you can customize what you do.
I think to make statistics we need before to take in count the uid part, it's very important.
PS:
Alun I wish you will have a nice christmas (^_^)