Postponed
Project:
Sports Club Management
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2009 at 00:23 UTC
Updated:
16 Nov 2009 at 18:21 UTC
Player stats would be a welcomed addition. For soccer this could be pretty easy, you can track goals, assists, saves, minutes, and maybe even a rank on a game and season basis. All in all this is a great module. Good work!
Comments
Comment #1
rötzi commentedI agree this would be nice to have. But for me that is not a priority. So if anyone wants to work on this, feel free to contact me.
Comment #2
pstead commentedI agree, that this would be a great addition to the module.
Comment #3
rötzi commentedAn outline to write a stats-module could be the following:
1. Define the data model (everything depends on this). You could either store the stats on a per-sport basis (i.e. one table per sport type) or try to unify the different stats into a single table (or something else).
2. Then, each sport type should define which stats are recorded for the sport. This needs to be very general, rather having to many stats and a possibility to hide them than having not enough. Also small sites maybe don't record too many stats (I would only need points myself, as I don't keep track of anything else).
3. From the list of stats, an interface can be generated to enter the stats for each game.
4. Once the data is entered, the module can calculate per-season and lifetime stats for each player.
5. Display the stats on the game and player page.
6. Think about what happens if the list of stats changes in an update of the module, i.e. providing an automatic update function to update the database.
If this is difficult or not depends on your expertise with databases and Drupal.