League Table

Experimental project

This is a sandbox project, which contains experimental code for developer use only.

This project developed from a set of custom modules for managing chess leagues http://sc.popmalc.org.uk/, but the features are applicable to many other sports. The idea of this project is to seperate out all the general features into a new module called League so that it might be of use to other people, and to have other modules to add features for other sports. This is a work in progress. Section to compare other league modules to be added.

Features of the league modules

League

Features common to all sports leagues.

  • Allows team captains to login and update match results to which they have been given access.
  • Can be used for Team Leagues, Team knockouts, Individual Swiss, Individual All play all
  • League tables are updated automatically
  • Administrators login to define the league structure, events, teams, clubs.
  • Automatic League Fixture generation taking into account dates to avoid and teams to avoid clashes with
  • Keep track of club details, team captains, and all the information to manage your league
  • Users attached to an organistation are authorised to add events, clubs, teams to that organistation
  • Users attached to a club are able to update or verify match results involving teams from that club

Node Types:

  • Organisation (contains many events and clubs)
  • Event (belong to a season, and contain many teams)
  • Team (belongs to a club and event)
  • Club (a member of an organisation which runs teams)
  • Fixture (a match between 2 teams, or a round of an individual competition)

League Player

Maintains information about players for each organistation and groups them into named lists - for example those in a particular club, or those playing in a particular competition. Entity Types:

  • League Player
  • League Player List

League Chess

Specific Features for running a chess league. Adds chess match to a fixture and chess related fields to player entity

League ECF

Features specific to the English Chess Federation (ECF)

  • Load up the ECF grading list from the dbase file supplied for grading
  • Load up the ECF membership spreadsheet to track number of games played by none-members
  • Automatic generation of file for ECF grading
  • Adds ECF club code, to club node type and ECF player code to player entity

Demonstration

  • Download module from git.
  • On a fresh drupal install, with the admin account called admin, Install module league_demo_feature (and all dependencies)
  • Add admin user to roles football and table tennis.
  • Enable Organisations view and League Fixtures block.

NOTES:

To use this for sports other than chess we would need to write a new module for use with individual events, to create a new tab on fixtures to enter the information in a way that makes sense for that sport.

Need to add admin as a user to the organisation to add any events
(bit unusual as admin usually gets access to anything). There is more information in Advanced Help.

I am putting this up here, in case it is uesfull to anyone else. I will help develop it further if so.

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • Module categories: User Engagement
  • Created by malcolmp on , updated