Active
Project:
Sports Club Management
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2009 at 01:16 UTC
Updated:
9 Nov 2010 at 15:40 UTC
What works?
What doesn't?
Please send me a link.
My website is www.midek.org.
I'd be satisfied if I could get the date/times to display on the schedules/lists of games AND if the standings tabulated based on the results of the games.
Is it possible to make those features work? If so, any instructions would be appreciated.
Also, I wonder, can anyone give a rough outline of a game-stats/player stats module?
It would add a ton of info to the game query. And then info from those fields would get tabulated both for personal stats and league leader stats.
Comments
Comment #1
rötzi commentedYou have seen my site, which basically shows how it looks like if it just works. It's difficult to fix the problems of the installation problems people face, as they just don't happen to me.
As for the additional features, this is answered in the issues #629760: Question: Are standings tabulated based on game results? and #590636: Player Stats. If you want to work on one of them, drop me a note and I can give more information on those.
Comment #2
Tran commentedHow difficult is it?
I would love to try my hand at it. I have just started drupaling.
By the way, I managed to get my game times to show in the schedule, so that's a big one.
Comment #3
rötzi commentedI answer for the player stats module in the according issue (#590636: Player Stats).
Comment #4
zeezhao commentedMidek - Please could you post your schedule fix? Thanks.
Comment #5
pstead commentedI now have this module working on a live site.
It's a bilingual site, and the module poses some interesting multilingual challenges. I really didn't fancy going down the path of translating the teams for example, so they remain "language neutral".
I still haven't found a way of translating certain dates, despite following @rotzi's instructions. I suspect this may be buried deep in the date module. I've tried both "translate interface" and "stringoverrides" to no avail.
Without php knowledge I've been unable to edit the league tables to my satisfaction. e.g. in the UK, we arrange the league tables as "won, drawn, lost". rather than "won, lost, drawn." I also need a "goal difference" column. While I managed to rename one of the un-needed fields to goal difference, the table does not accept minus numbers, so goal difference cannot be input this way.
I have other "likes", such as including club logos in upcoming games, without showing them in the league tables. I'd also like to add a "versus" field into the upcoming and recent games blocks.
I would love to be able to create stats from games played, goals scored per season etc, but that isn't there yet.
Nonetheless, this module was a great basis for my site. It's not @rotzi's fault that I don't know php.
Here's the link to my site, and I hope it encourages more development of this great module.
http://www.cpdyfelinheli.com/
Comment #6
jhans commentedSubscribe
I changed the code to get the standing columns. Here is my snippet from the sport_league_member.module.
$columns = sport_league_standings_columns();
$header = array();
$header[] = '';
$header[] = t('Team');
$header[] = t('Spiele');
$header[] = t('Siege');
$header[] = t('Niederlagen');
$header[] = t('Unentschieden');
$header[] = t('Punkte');
/**foreach($columns as $column => $visible) {
* if ($visible) {
* $header[] = ucfirst($column);
* }
}*/
Hope that helps.
Cheers
Comment #7
marcog commentedI am trying to install this module but I am getting "Link missing". I cannot find any "Link" module in drupal to install. Can you send me a reference? Thanks.
Comment #8
zeezhao commentedit would be nice if any recent changes are posted to cvs. Thanks.
Fyi - there is also another module which has been developed over the last few months:
http://drupal.org/project/leaguesite