# WordPress.org

## SportsPress - Sports Club & League Manager Basketball Table - Setup how too (6 posts)

1. evolve26
Member
Posted 2 years ago #

First off, this is a great plug-in, really well made and very comprehensive, and thats where the problem is, I'm a little lost.

I want to set up a simple Basketball table that auto updates league position based on points awarded for wins/losses/draws.

I cannot seem to get any of the equations correct as some have multiple parts, as you get points for a win, different ones for a loss and different ones for a draw, i also cannot figure out how to auto make the highest points award team position 1, the next position 2 etc.... its very confusing...lol

I also need a section for points scored across every match in the league... again.. totally lost.. I've attached an image so that you can see what i need to replicate...

http://i59.tinypic.com/2s84mip.jpg

Any help would be great!
Jay

2. ThemeBoy
Member
Plugin Author

Posted 2 years ago #

Hi Jay,

Event Outcomes

• Win
• Loss
• Draw
• Overtime Win
• Bye

Team Results

• Penalty Points
• Total Points

Table Columns

• G/P = Events Played
• BYE = Bye
• W = Win + Overtime Win
• L = Loss
• D = Draw
• W/O = Overtime Win
• Penalty Points = Penalty Points
• FOR = Total Points (for)
• AGS = Total Points (against)
• % = Total Points (for) ÷ Total Points (against) x 1 0 0
Enter "2" for "Rounding"
• Pts = Win x 3 + Bye x 3 + Draw x 2 + Loss

*You could also use the "Adjustments" table to add the extra 3 points for BYE instead of adding it to the equation, if that suits better.

Hope this helps!

3. evolve26
Member
Posted 2 years ago #

Thats great thanks!

Just a couple of things, how do i get it some the table reflects standings based on points awarded etc as there are a few variables ( number of games played, percentage etc ) all these count towards final standings..?

thanks again
Jay

4. ThemeBoy
Member
Plugin Author

Posted 2 years ago #

Hi Jay,

There is a "Sort Order" priority setting for each column, which determines how the league table will be sorted.

By default, "Sort Order" is disabled, which means that column doesn't count toward standings.

The most important column (for example, Points) should have a sort order of 1, Descending.

The second priority (for example, Games played) could have a sort order of 2, descending.

I hope this helps!

5. discoden
Member
Posted 1 year ago #

Thanks for this post.
I was able to setup our own basketball standings.

Our point system is more like this:
Win = 3pts
Loss = 1pt
Draw = 2pts
Bye = 0pt
Forfeit = Loss, plus penalty of -1

I also made some modification on GP or games played.
GP = Win+Loss+Draw

6. Iconoclast50
Member
Posted 1 year ago #

Hi,

I'm having difficulties with the GB (games behind) column, as it seems not to be working. I haven't altered the default equation in anyway.