This post is related to the project LeagueSite and outlines the intended roadmap for its development

*********
Alpha5
*********
Expected release: sometime before Christmas (Statistics possibly afterwards)

  • Knockout Competitions
  • <

  • Statistics?

Due to the existence of Bracket - a useful module that deals with knockout competitions, I am building a module to integrate with that which will mean knockout competitions will be sorted. As of 25th October, This will be the main focus of dev releases, so any interested people can download the dev snapshot and provide feedback on its operation.
I know a lot of people would like this feature, but I don't want to rush into it, so I would like to get players and scoring details sorted first. This will allow people to assign scores to a player, which can then collect statistics per club, or per player.

****************

That's the plan I have in my head at the moment. Please feel free to add suggestions, or if you would like to help develop some of the features, get in touch.

Thanks
Alun

Comments

DenimTornado’s picture

Hello, please add views fields: points, order number and goal difference

Alun’s picture

Good stuff. I am adding that as I type. Just working out how to get a custom field handler, as the values you request don't exist in a database!
I will get these working before alpha2.

DenimTornado’s picture

sounds good, and one more field Games, number of games!

Alun’s picture

yup! will do :-)

Alun’s picture

Just to update you guys, I have added points, games played and points difference to the latest dev release.
Please feel free to check it out and get back to me on the project issue queue if there are any problems.

Jean Rodas’s picture

Hi Alum I got some doubts or suggestions you tell me. First it's possible to implement something for the WorlCup Soccer. Like teams in groups(Classifiying tops of each group) and direct elimination for the final round, for example Round of 16, Quarter Finals, Semi Finals, Third Place and Final. Thanks. I'm waiting for points in the views integration.

Alun’s picture

Whoops! Silly mistake, me leaving out knockout tournaments!!
This will require some thought with regards to implementation, but yes this is a definite addition. I'll have a think about when I can get this in. I would consider this to be a fairly important addition!!
Thanks
Alun

I have added the knockout tournaments into the release roadmap for alpha4

Alun’s picture

As an update to my progress on alpha3, I have completed the scoring breakdown, and implemented it into views.
The team photos are also done, but need testing.
All that is left to do is bonus points.. I should get started on this in a week or so.
I will commit an update next week for the above items. Hopefully, alpha3 will be out in April.

DenimTornado’s picture

Hi, Alun. Maybe you add patches with scorring breakdown and team photos? I would like to test it, and to use. And, if honestly...i don't need bonus points...

Alun’s picture

Hi, I will submit the code when I can - I don't have access to the internet at home at the moment, so I will have to do it next week.
I know there aren't many people who want bonus points - its not something that is used in many sports, but I want it, so I'm doing it :-)

jaskegreen’s picture

Right now, I can create teams and then add them to a league. I would also like to create a team and add the league to the team. I'm thinking a drop-down that includes the leagues I have created.

I am building a site for my local baseball league. We have multiple divisions (leagues) with the same team names in each division. This year we have American League teams (Red Sox, Yankees, Angels, Rays, etc.). I'm trying to incorporate a taxonomy tree into what you have created, but maybe you have something else in mind that would work better.

Thoughts?

Jason

Alun’s picture

How does adding a team to a league and adding a league to a team differ? Are you just trying to make it easier to add to the league when you create the team, because otherwise you will get confused when using the team selection page on the module? If that is the case, I can see the value of having a dropdown when creating the team. It can be added fairly easily. Since teams get promoted / relegated each season, they are not added to a league, however, they are added to a season/league combination. This is why I didn't use taxonomies. Hope that makes sense!

MasterChief’s picture

Hello alun!

First of all excuse me in advance for my approximate English because I'm French.

Then a big thank you for the work you provided on this module.

I quickly tested the latest version and I noticed a few little details to correct.

When used directly Administration module menu and we go through content management => LeagueSetup => seasons, I have always this message: warning: call_user_func_array () [function.call-user-func-array]: First argument IS Expected to Be a valid callback, 'leaguesite_season_list' was Given in C: \ wamp \ www \ nameofthesite \ includes \ form.inc on line 372. Just click on the tab seasons on the page so that all working again but I'll report it anyway.

Another small detail is minor when you are on, for example, admin/content/leaguesite/1 one sees Starts: 30 Jun 10Ends: 30 Aug 10, lack a space just before Ends. Is virtually nothing, but it must be very quick to rectify.

I have not tested before the results of matches so I can share any comment on this feature.

In view league tables, it lacks GD (goal difference), but I have seen in the road map that views will be added in future versions.

Is it provided a system allowing individuals users logged to a drupal website to register for a league? For example, you create a league with a limited number of places and via an interface (view?), the user enters or cancels its registration while registrations are open? (Module signup maybe i don't know?)

From now, I'll regularly move my ideas for this module, I am looking forward to see the alpha version 4.

Have a nice day and thanks again :)

Alun’s picture

Hi MasterChief, thanks for your input. I have corrected the error for the seasons section on the menu. I'm glad you told me about it, as I didn't know, not using the administration menu!

I have added a space between the start and end of the season, so it looks a little better now.

View League Tables does not show goal difference, you are right, if you need that, I would recommend using Views to display all your tables, as its all set up for it, and much more flexible than the table I am setting up. I'm going to improve it, but it will never be as adaptable as you can get if you use views.

I'm not sure about allowing users to register for a league. Someone would have to have a look at the feasibility of tying a signup module together with this one. If it is something people want to look at, I could change the way teams are added to a league to make it more possible, but for now its not something I have considered.

Alun’s picture

I'm raising some points on the next few additions on the issue queues in LeagueSite, please go there and chip in with input if you would like to help out with some opinions!
#711976: Player and Roster Support
#776920: Add scoring details for games
#776932: Integration with Bracket

Choose a topic and help out! Input is much appreciated. Please keep input to the relevant issues, if you have separate requests for the project, create a new issue in the queue!
Many thanks!
Alun

torvall’s picture

I am currently building an e-sports website and I tried LeagueSite to setup some of our competitions. What I like the most about your module, is that it is node-based (thinking CCK and Views, of course) and that allows me to directly associate teams with organic groups and matches with events. These are just examples and there are many more options that probably cover many of the feature requests this module is getting.
The limitations I found, however, are in the types of competitions supported (e-sports events are usually cups with groups stage and playoffs, and sometimes with losers brackets and grand finals) and in not being able to select the type of entity (players/users or teams/nodes) that may join the competitions. IMHO, the strength of this module lies in its ability to structure and handle this specific type of data and should be focused only on that; all other functionality can be easily integrated through other modules, since you are following the correct model (again, IMHO).

Thank you for your work!

António Maria

Alun’s picture

Hi torvall, thanks for the support, I am going to look at alternatives to adding users as teams, but currently, I have outlined the intended development, so can work on adding users when I have finished getting the other things sorted. I always pictured LeagueSite as a team thing, but its clear that there are people who want to use it for individual events too, so I will be happy to work towards it. I'm glad you said that I am following the correct model, as this is my first Drupal Module, so haven't always been fully confident in what I am doing!

As for knockout competitions, there is a bracket module that I am waiting for to develop an API, which will allow me to integrate group stages and knockout competitions into the module. Thats in another issue thread.

Thanks for the feedback!
Alun

emnzava’s picture

Hello Alun,

You are doin a great job that was missing at Drupal since it's inception into the world.

I just wanna ask you about how to create players and attach to the team. Is there any work around?

Keep up the good work.

Regards.

----------- *** ------------
The Only Easy Day Was Yesterday..!!!!

Alun’s picture

Hi bwax, I am working on adding players and attaching them to teams this weekend, so should get something up after the weekend.
Thanks for the support!
Alun

Alun’s picture

In an update to this, I have just committed code to add players to a team and then a match.
Now I have added this, I can work on the page which will allow people to enter the breakdown of a game, giving scores times, and assigning scores to players also.

i'm waiting on the developer of bracket to create an API for his module which will allow me to make use of his module. Though this might seem longer than some people would prefer, using an already created module rather than creating my own to perform the same task, will be significantly faster in the long run!

I will post again soon with progress on the match breakdown. I'm aiming to get alpha4 out by the end of June.

MasterChief’s picture

Hi,

when the new dev version will be available to download i will test the new features.

I have just a question, did you have time to think to the UID because i would like to know the last matches by player register on the site, tournaments where players are engaged etc ...

So if i want it, the uid must be take in count somewhere, it's maybe specific to alpha 5 but I will see more clearly when I will see the new features that you just made.

Thank you again for your work it's nice to be regularly informed.

Alun’s picture

Hi MasterCheif, thanks for your post. I haven't thought this through, but a temporary solution would be for each user to create a node representing themselves, and add that to the team. In the node, you could provide a link to the user. I will have to consider a better way around it in the future.

MasterChief’s picture

Hi Alun,

i will wait the better way lol :)

With uid it will be necessary too than single players can register to leagues, tournaments so no team, maybe when we create the league or a tournament an option will be available to select if it's a team tournament or an indiviual tournament.

janis_lv’s picture

I'd need this feature too. :)

Thank you for this great module!

MasterChief’s picture

Hi Alun!

I post a message to have some news about the module, the next update will be include the integration of the brackets?

Thank you in advance for your answer

Alun’s picture

Hi MasterChief!
Sorry, its all been a bit quiet here recently, I have been travelling around this summer and as a result have not been getting much done on the Drupal side of things!

Leaguesite has been deployed in some live websites recently, which is pretty exciting, but also brings me a small list of bugs to fix! I'll be on those first, making sure the current dev code is not causing any bugs, then I'll be working on the Bracket integration. I'll release alpha4 between these tasks, to indicate that the bugs are not present and its a pretty stable release. Sound good?

Again, apologies for the delay, but I'll be back in full drupal development swing soon!
Alun

MasterChief’s picture

Hi Alun,

i am glad to have some news about you, i hope you have appreciated your travels and thanks again for your work.

I am waiting for the following with impatience and i will be there to test the brackets part and the other fixes :)

Have a good day.

clahti408’s picture

Hello all:

I am setting up a drupal site for a billiards/pool league and have installed leaguesite. This will become the basis for maintaining our scores but I have a few questions. In our league 5 individuals play 4 games per match, 20 games total. Individual standings need to be calculated for games won/lost as well as team standings for matches won/lost. I have entered the seasons, leagues, teams and players, then entered some sample matches. I can update the match numbers but when I go to the breakdown page I have a few observations:

Also some observations on the breakdown page:

- values it does not seem to save to the database unless a time value is put in, but no error is thrown
- the player drop-list for game won/lost for each team should be filtered to show only the players for that team
- perhaps it is me but it might make more sense to arrange the breakdown page like so:

[Game number] [Winning Player] [Losing Player], [Time]
1 [drop list] [drop list] [txt field]
2
3
4
5

This would speed data entry and you would have all the values you need to calculate individual and team standings. I imagine I could use views later on to show a "Top Shooter" page for example. At any rate are individual standings calculated/stored/displayed somewhere?

Also it seems that a match point is being awarded for every team that plays a match. My scoring system is won=1 lost=0, but the tables view does not make sense, what do these columns signify?

P=played
W=won
D=?
L=lost
F=?
A=?
Pts=match points to date

So if I have two teams, Escape1 and Bogarts1, each played two matches:

Match1
Escape1 wins with 12 of the 20 individual games played and should be awarded 1 point
Bogarts1 loses with 8 of the 20 individual games played no points
Individual player stats should be calculated on games won regardless of match standing

Match2
Escape wins with 14 of the 20 individual games played and should be awarded 1 point
Bogarts1 loses with 6 of the 20 individual games played no points
Individual player stats should be calculated on games won regardless of match standing

With the above Escape1 should have 2 overall points, Bogarts1 should have 0, however the league table shows both teams having 2 points each. Perhaps I am missing something?

Thanks for the efforts so far, I think this is going to be pretty awesome when it is complete.

/Christian

Alun’s picture

Hi Christian, thanks for posting your message, it has given me plenty to think about!

There are a number of problems that currently stand with the implementation of the module to a billiards league. A lot of the problems stem from my poor documentation of the module! I will try to explain the issues and proposals for some solutions.

Also some observations on the breakdown page:

- values it does not seem to save to the database unless a time value is put in, but no error is thrown
- the player drop-list for game won/lost for each team should be filtered to show only the players for that team

As you would expect, the break down page is a page which allows the user to enter the breakdown of a match - this was designed for sports like soccer and hockey and other sports where there is a time and a scoring method and a number of players on the team.
The breakdown page, and leaguesite in general was not (initially) designed for a sport such as billiards, where there is a number of smaller games contributing to the result of a match. Tennis is another notable example of this kind of match setup. This is the reason you are having problems when trying to enter the breakdown.

At any rate are individual standings calculated/stored/displayed somewhere?

Also it seems that a match point is being awarded for every team that plays a match. My scoring system is won=1 lost=0, but the tables view does not make sense, what do these columns signify?

Individual standings are not yet collected, but they are something I would like to do.
As with the breakdown page, the tables are also arranged for more team-based games. The columns are as so.
P=played
W=won
D=drawn
L=lost
F=points for (the team)
A=points against (the team)
Pts=points to date

With the integration of the bracket module allowing the management of teams and players in multiple types of league and tournament, the use of Leaguesite will obviously be on the increase for these sports and I am looking at ways to improve the way match results can be recorded.
My proposal for these kinds of matches (would it be fair to call them matches which contain smaller games?) would be to rename the current breakdown module to a clearer name which shows the intended use, and create a new breakdown module which is designed to allow people to enter game results, which will then determine the result of the match.

This is just an idea at the moment. The practicality of it all isn't something I have thought of yet!
I do know that there is a website using Leaguesite being set up currently which would require a similar feature. The constructors have indicated that any development on Leaguesite which they undertake will be passed back into the Open Source community. If the development goes ahead, I will hopefully get hold of what they develop and be able to pass it on to the Leaguesite module. I will keep you informed.

clahti408’s picture

Hi Alun:

Thanks for the update, I will be looking at extending this module myself then, I am new to drupal but not new to php/mysql development. There are many sports where individual games determine the outcome of the match (darts, bowling?, etc.) so I thnk this would be a useful addition. Any progress I make I will happily contribute back to leaguesite, at least I have a starting point to work from :).

Thanks!

***update, I briefly looked at the code and now my head hurts :). If you want to have a look at what I am trying to automate, currently all statistics are tracked in a very complicated spreadsheet, you can have a look:

http://jpfpoolleague.net/content/current-standings-division-b

It seems that the players module needs to be extended to track statistics like you do via matches for team stats. I need to get up to speed with Drupal development before I can hit the ground running with this, I wonder if we could chat via IRC or yahoo when you have time? I could write this application in codecharge studio pretty quickly but I wanted the flexibility of Drupal to leverage all of it's other capabilities. You can email me directly clahti-at-gmail.com. I am playing with views at the moment, I would like to display a team with all of the players in a list but for some reason teams are not exposed to the views module. I am trying to replicate something like the team list here:

http://jpfpoolleague.net/content/participating-bars-and-taverns

with the eventual thought of using google maps api to automatically generate the location map based on the address (CCK fields?) Anyway I would love to chat when you have time.

/Christian

clahti408’s picture

Ok, after taking pain medication and looking at the code even more, it seems that I could make a new submodule based on the leaguesite_bonus_example to calculate and store individual player scores, since the hook_nodeapi is fired when inserting/updating a match. Would this be a good place to do this?

Alun’s picture

Hi Christian,
I'm glad you are hoping to contribute to LeagueSite. In order for this module to grow to be acceptable to everyones needs, more contributors would probably be needed.

Yeah, Drupal API can be a headache, as would any framework you dive into! I did the same back in January but once you get into it, its OK!

The leaguesite_bonus_example module is a good example of hooks you can tap into for players statistics development. You can use this to start your development, as it is pretty much the exact same route I would take. You will need to create some tables in the database to store the players stats, which means you need a .install file, then you can use the existing bonus_example module as a base from which to develop.

You can find lots of Drupal module tutorials both on Drupal.org and online. Have a look around and let me know what you think.
I'm having a busy week and weekend at the moment, but when things settle down next week, I might have some time to chat, Prob best to use my contact page and I'll email you from there.
Thanks
Alun

frazier’s picture

Alun, I have created a season, league and teams however when creating a view the team id is displayed as the node # that was assigned when the team name content was created. I can't for the life of me figure out how to display the actual team name instead of the id number. I am probably overlooking something simple. Please help!

clahti408’s picture

Yes view information for teams is oddly missing. You can do this by views->Fields->add, and then specify node:title as the field. You should then add a filter for node:Type = team.

I setup an example team list using a view here:

http://clahti.homelinux.org/teams

If you drill down to the team you can see a few CCK custom fields I added to the team nodetype, including a spiffy google map :).

Alun’s picture

Hello clahti, yeah since a team is a node, then node:title is the way to pull the name of the team from the database. It seems a little silly to have leaguesite:team name in the options when it is the same thing, plus quite impractical for Views coding.

clahti408’s picture

Hi Alun:

We need another built-in view for leaguesite_teams (which is oddly missing), I can add this to the code (I think) unless you already have plans to include this in the next release or there is some reason to leave it out...

/Christian

Alun’s picture

Hi Christian, yes we need a built in view supplied with the module I know! It will be in the next release, but if you have a suitable one and want to dump the Views export code here it will save me some time adding it!
Remember to only add core fields as some fields will otherwise cause problems.
Thanks!
Alun

RayAdams23’s picture

I am trying to setup a couple of views but have encountered some problems. What I am trying to do is setup a view that shows the upcoming schedule of games (sorted by date) but when I pull up the different fields I don't have access to the 'Match Content''s Home Team and Away Team. Is there some way to call these elements since they are not CCK fields but rather elements within the content type.

Ray

clahti408’s picture

Yes I agree that the views need to expose much more information, here is an example SQL query that would give you the info you need:

SELECT
node.nid AS nid,
leaguesite_match.match_time AS match_time,
node.title AS match_title,
team_home.title AS team_home,
team_away.title AS team_away
FROM
node
Left Join leaguesite_match ON node.nid = leaguesite_match.nid
Inner Join node AS team_home ON leaguesite_match.home_team = team_home.nid
Inner Join node AS team_away ON leaguesite_match.away_team = team_away.nid
WHERE
node.type = 'leaguesite_match'

Notice you have to alias the node table three times, one for the match info, one for the home team, and one for the away team. I am looking at converting this to a view, Alun (or anyone) is there an easy way to convert an SQL query to a view?

/Christian

Alun’s picture

Hi guys, pulling team titles from the database is a little more complex and as you have pointed out in the SQL it requires an inner join, as both a match and a team are nodes. Fortunately, Views supplies a way of doing this and you need to add home_team and away_team to RELATIONSHIPS and then add node:title to your fields, specifying the home_team and away_team relationship for each team. This should do the job!

PS - keep issues & support requests to the issue queue - this post is not checked as often, and support requests mean we stray off topic!
Thanks
Alun

RayAdams23’s picture

The relationship worked perfectly - but I do have an additional question about viewing the schedules through a view.

SO right now the upcoming schedule view looks great and all the data is coming across great - but what we are trying to achieve this ability. We want the View to show as a "Filter" League as an "Exposed" field so the web user can choose which League he/she would like to see on the view page. The Filter works great in that it shows all the Leagues in the drop down - but the problem happens when you move away from the Default League of "Any" to any of the leagues in the drop down. Once you apply any League the Team Schedule below shows no upcoming games. Also I added the League field as one of the "Fields" of the Table and no data shows in that cell.

Thanks for any assistance,
Ray

Alun’s picture

Hi Ray, off the top of my head you can't filter by league directly, because matches belong to a season / league combination. You have to filter by that.
The league is used when displaying team listings.
It might be possible to have an exposed filter that displays league names rather than the combination of season and league, but it would require a custom view handler, which I haven't written.
Please continue follow ups to this post on the issue queue!
Regards.
Alun

RayAdams23’s picture

What are the chances this could be written to allow us to filter by league?

Ray

Alun’s picture

Its completely possible but I can't do it until I have some time to get back into LeagueSite coding. Perhaps in September.

witzel’s picture

Alun, you are the greatest! Thanks!!!

defacto-studio’s picture

Hello Guys,

Is it possible to do tables with matches in one week, like this: http://www.90minut.pl/liga/0/liga5034.html

Example:
If it is possible to add weeks of season so i need to add information when I add match:
Season week: [List menu - 1/2/3/4...]
League and season: Example
Home Team: Example
Away Team: Example

[Add][Preview]

And when You select "Season week", module makes table with mathes in one week like in url given above

Week of season - 1
Matches in this week:
Example (0-0) Example / Date / Time
Your Team (0-0) Example2 / Date / Time
Example3 (0-0) Example3 / Date / Time

Week of season - 2
Matches in this week:
Example (0-0) Example / Date / Time
Example2 (0-0) Your Team / Date / Time
Example3 (0-0) Example3 / Date / Time

Thanks for help

RayAdams23’s picture

Has anyone setup a calendar via the Calendar Module that shows Match(s) that have been created showing on that calendar. Currently I have the Calendar & Date Modules running and use the Date Tools option to add in events - but now have the need to produce a daily, weekly, monthly calendar showing the Game Dates and Times of the matches that have been setup. Right now I am thinking that I may need to add some CCK fields to accomplish this goal.

Thanks,
Ray

Alun’s picture

Ray, this thread is not the best place to look for support - if you still have a problem, open an issue support request on the project page, and it will be read by more people.
Thanks!
Alun

T0mba’s picture

I've read briefly through all these comments and I think it must be possible to link a Sport Player to a Sport Team but I can't figure out how to do that exactly, I can create a season -> league -> team and link them together.. but not the player. Any help on this?

Another problem I've encountered, I've added the season->league->sport teams and when I go to create content -> match the combobox says I have not added any teams yet.. ?

Alun’s picture

Hi T0mba, in order to reinforce the issue of this thread going off topic, I opened an issue for you. I'll deal with your problem there.
Thanks!
#901620: Link Player to Team & Adding teams to leagues.
Alun

Summit’s picture

Subscribing, greetings, Martijn

Todd Zebert’s picture

subscribe

IT Sherpa: CTO, Founder, Full stack Dev, Drupal, Wordpress, more. Crushing on Angular, Node, JS & embedded C/C++.
Organizer for Drupal LA https://groups.drupal.org/la Meetup and 2016, 17, 18 LA Camps https://drupalcampla.com/

defacto-studio’s picture

I have many problems with 6.x-1.x-dev version.

http://drupal.org/node/901620#comment-3459254

bajanem’s picture

I have been playing with LeagueSite for about a month; I think it is a great project in addition I have also looked at LMO4 (liga manager online). A couple suggestions I have for the following areas:

• Sports with match breakdown e.g. Volleyball
• Knockout Competitions
• Championship tournaments

Sports with match breakdown

Maybe during the setup of the league there should be an option to setup the type of match during the league, e.g. if it is a one off match to decide if points are rewarded or series like 2 best of 3, 3 best of 5, 5 best of 7, etc. The winner of the series is rewarded the points and this can be use of football leagues which use a one match to award points or a volleyball match which is a x best of y series.

In addition each team may get points for winning each x of a series and the overall winner getting bonus points for winning the series. E.g. the Winner of a 2 best of 3 series with a score of 2 sets to 1, may get 1 point each for each set therefore 2 points plus maybe an addition point for winning, then the points awarded to the winner would 3 points while the loser would get only 1 point in the league table.

Knockout Competitions

Normally these are one off elimination head to head matches; however sometimes each rounds maybe decided on the x best of y series. E.g. 3 best of 5. Typically Tennis tournaments don’t use points but eliminations with the winner of an x best of y series advancing.

Championship tournaments

e.g. Football world cup is a simple combination of a league to decide the top teams to advance to a knockout round.
I hope these are some valuable suggestions.

Alun’s picture

Hi bajanem. Before creating this module, I used LMO, and as a result created this module to allow a similar functionality on Drupal.

I like the thought of series games, and it is completely possible. The way leaguesite_match is structred is that it will call hooks for any updates and new matches - thats how I am tying it in with the Bracket module currently. A similar piece of work would be required for series, you would need some coding to tie in a match with a module that organises how the results are dealt with. As I'm going through, its not something I would work on instantly, but perhaps in the future if there was enough demand for it.
Similarly, bonus points are doable, the module I provide for bonus points allows you to calculate any addional points and customise it to your needs. I'm sure it could be extended to include series of games.

Knockout tournaments and Champoinship tournaments are something that will be dealt with by the Bracket module. To avoid duplication of work, I am simply integrating my module with that. It should deal with your needs.

One thing I am aware I'm not doing is providing an easy way for Tennis-style matches. I will have to think about how I can allow these kinds of results to be entered into a match structure.

bajanem’s picture

Hi Alun
Thanks for the feedback, I think this is a fantastic project. I believe the implementation of series in the knockout format would take care of sports like tennis and with the use of views the presentation should be ok.
e.g. Player_A vs Player_B in tennis
Match Result:
Sets (Series 3 best of 5)
A : B
3 : 6
6 : 4
6 : 1
0 : 6
7 : 5

Final Result Player_A wins 3 sets to 2 Player_B
Keep the good work up.

Alun’s picture

Hi, just a quick post, I am working on the upgrade path from alpha3 to the current dev, which I want to release as alpha4. if anyone has updated to the dev, can you let me know of any database problems you encountered, or if it all went smoothly please? There is a very large number of updates so I'm just ensuring that all goes well!
Please post feedback here - http://drupal.org/node/938084
Thanks
Alun

z3r0c00l’s picture

we have a fairly large league and are looking for a solution which will create schedules automatically between teams. Meaning:

enter league info
enter fields of play - venue
enter field availability times
enter team names
enter team desired play times
click create schedule for a league

app spits out a draft for team match up for the season.
click approve or edit

does LeagueSite do this today? or something similar?

we spend too much time entering individual match schedules and so this would solve a big problem for us.

thanks patrick

Alun’s picture

I like the idea of this, but I have not created anything that might do it. I know that LMO (Liga Manager Online) does do something like this, which I could implement, but I have no idea how long it would take. If someone wanted to provide a basic algorithm that would do most of the work, I would have no problem adapting it for use and implementing it into the module. If I start from scratch, I will have to do it when I have time to think about it.
Either way, its something that can be done.

jthorson’s picture

I had the same requirements for a league site this year, and have implemented most of the above in a module I hope to release on Drupal within the next month or two. (It's been in production on a live site for about 8 months now, but needed a code cleanup before I can post it on D.O.)

The auto-schedule piece is still outstanding, but is one of the deliverables that I owe the project sponsor, so it'll definitely make it into my code rewrite.

I've been in contact with Alun, and once I get my -dev release posted, I expect we'll take a close look at the synergies between my module and Leaguesite; to see if we can combine the best features of each.

Alun’s picture

I thought I'd post here: I am actively working on the Bracket integration. Hopefully I'll have some basic integration by the end of the week, perhaps Monday.

I have updated the way records are stored for the teams, so anyone updating should ensure they are backed up and make sure the games won / drawn / lost etc is transferred correctly.

malcolmp’s picture

I have a custom drupal module in use on a site for managing chess leagues. Many of the features look similar to the things you are working on. http://www.popmalc.org.uk/sc/?q=node/77 The main difference would be that usually in a chess match each player plays one individual game (scoring one point for a win, half a point for a draw, zero for a loss) and the score of the games is added up to give the match result.

I have league tables, knockout competitions and a fixture generator which takes into account constraints such as avoiding certain dates, certain teams can't play on the same night etc. Maybe there is some scope for integration and collaboration here.

Alun’s picture

Hi Malcom, thanks for your comments - you are not the first to be in touch with a custom module - I would be very interested in taking a look at how you have built it up. Especially since I will be considering a code rewrite for the D7 version of Leaguesite, which I will then backport into D6 probably. The more I can get on this, the better. I especially like the sound of the fixture generator, which is something very much needed. Let me know if you want to look into this further and if you want to help with the project, contact me using my contact page.
Cheers!
Alun

frazier scott’s picture

Alun, Leaguesite is set up and working great however my client would like to filter individual team schedules. Right now they have over 90 teams in a soccer league that can be viewed (filtered) by ascending game date for entire season or by game date for individual leagues. They would like to filter by individual team showing game dates, times, field, opponent, and scores for games completed. Is there a way?
Thanks
Frazier Scott

ttorres04’s picture

Hey Alun,

thanks for all your work on this. We are looking at Leaguesite to set up league matches on our website as a replacement for LMO.

I just installed the alpha 6 version on our test site and it says that Bracket is "missing." I looked for a module called Bracket and Leaguesite Bracket on the Drupal site and couldn't find one.

Am I missing something?

Thanks in advance.

-Tony.

Alun’s picture

Hi Tony, Bracket is here - http://drupal.org/project/bracket
Don't know where you got alpha6 from though, I'm only on alpha4!!
:-) Good luck with the installation, let me know how it goes.
Alun

ttorres04’s picture

Thanks!

Also, I meant 4. ;) I got confused with the Drupal version info.

TSC_2010’s picture

I am using the sports scores module with the sports pickem module, can you see adding this functionality to your module? Also, my match admin page is getting quite lengthy, have you considered having just the filters at the top load instead of all the matches below load as well. Great module btw.

emave’s picture

Goals scores and Goals conceded does not shows a numerical no. on its views. I am using this for a basketball league as a scores and applying it as (PF)Points For (Total shots that the team scores from the entire league) and (PA)Points Allowed (Total shots of all opponent team scores from the entire league) and if you dont mind adding another view on (PD) Points Difference (Difference between PF and PA).

Let me know if you need further explanation. Appreciate your work. Hopefully i could apply it to our small basketball league website soon.

seabrawk’s picture

I'd like to be able to mimic most of what I do manually here:
http://www.turfburnsports.com/2011/flag/stats/season2/standings

ahmetsari’s picture

Hi,

I have create a sandbox modul project for soccer prediction & hanged around to see similar contributions, then I see Sports Pickem. May be i can get your modules as add on or implement into my modules. I need also advices about drupal way codings. Any help or suggestion will be appreciated.

--
http://drupal.org/sandbox/ahmetsari/1335512

mrt_pio’s picture

Hello, i'm trying to start the module leaguesite and it's working, the problem is i can not full fill it instalation because i don't get find the module dates_groups, it is required to use leaguesite, anyone could help me? thanks!