Rg Sports League, Cup, Ladder System
Date: Friday, October 24 @ 14:38:52 CEST
Topic: Modules


Put the members in control! After discussions on the forums and much hard work I am now ready to release the RG_Sports module for league, cup and player management for sports. This can be seen in operation here:


http://www.scottishwomensfootball.co.uk


The module is customised for the purposes of football and the cup competitions specific to what I'm dealing with however it can easily be modified. Documentation is a bit weak at the moment and I have to complete some of the admin functions for team approval and player approval. Beta testers are now sought and I'll open a support forum on my own web site http://www.redgerry.com for this purpose.


The player profile section is under construction however the profile pages are linked off the main team page at the moment. This will be expanded in the next release. The main criteria in the module is to allow members to take responsibility for their own teams, results and fixtures. With the onus on the members to manage their own teams the only requirement of the admin is the initial set up of the league structure (simple enough id/description) and configuration of cup competitions. My own set up has one cup played for by the teams in the Premier (1st) division with a second cup played for by teams from the other three registered divisions. This is easily managed and appropraitely displayed. Additional divisions can quickly be added which is the only pre-requisite for team registrations.



This will move forward to a 'newbie' module probably within a couple of weeks but at the moment needs Beta testers who understand a bit about SQL and PHP. The league table or 'ladder' as it's often referred is stored static table with a seperate Leagueflag table indicating whether the figures need to be recalculated. As matches (in my case) are played each Sunday this means the flag is set when a result is input, on the league table being requested the flag activates the rewrite function. This deletes all existing table entries for the league and rebuilds new ones from all available fixture/result information.


The system can be seen in operation on the Scottish women's Football site and on registering you can get a look at the team registration, player registration and fixture/result input screens. Authority table stores permissions for additional team admins, division admins and Global admins who have edit authority at their respective level. All entries store user_id responsible. Any comments appreciated.





This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=880