• Resolved mavrodiev

    (@mavrodiev)


    Hi again! You are really working for great improvement. Maybe the next issue is resolved, still I’m missing it:
    Table calculations always sum the results (sum of points, wins etc.). In my league of contesting students (as I already mentioned I presume each is a team), each starts with 1000 points, and according to the complexity and outcome of each contest, one gets points (from -50 to 50) that should be added (submitted) to the starting points. So long the table always sums, and I cannot tell it to sum only the points fron the contests and to add them to the starting points.
    Maybe a good idia will be in team’s page (post) to have the opportunity to give a starting rating, and the league table to add the outcomes to it.
    If you have a solution, please write.
    Regards!

    https://wordpress.org/plugins/sportspress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ThemeBoy

    (@themeboy)

    Hi there,

    Thanks for your feedback.

    If I understand correctly, the points in the league tables should all start with 1000 (not 0), and points are added or deducted depending on outcomes.

    This could be done by adding a constant at the beginning of the points calculation.

    For example, if the equation for points is 1000 + Wins x 50 – Losses x 50, you could enter this:

    Points = ( 10 x 10 + Wins x 5 – Losses x 5 ) x 10

    Let me know if this works 🙂

    Thread Starter mavrodiev

    (@mavrodiev)

    Thanks!
    Ok… each student starts with different rating – one with 1137, other with 987 etc according to his prior results.
    In a contest between two of them in an exam, based on their previous rating, they receive points, but not strictly 50 on win, but based on a special formula according to results of all.
    So:
    Contest 1: Stud1 Initial rating 1137, Win +32, Final Rating 1169
    Stud2 Initial rating 987, Lose -32, Final Rating 955

    Contest 2: Stud1 Initial rating 1169, Lose -42, Final Rating 1127
    Stud2 Initial rating 955, Win -42, Final Rating 997
    etc.
    I make it with adding Win/Lose points, which represents the results of the 2 contests, but I miss the initial rating.

    Well – I can solve it with manually adding the new rating, but it is a good idea, in the profiles ot the students (teams) to be able to put the initial starting rating, and then just adding.
    This is available in LeagueManager Plugin, but I prefer yours 🙂

    Hope we’ll solve the issue.
    Regards!

    (In fact, your plugin confronts with some plugins like Ninja Forms, for custom making of forms – I used it for getting feedback and results from other schools. The message is: Fatal error: Cannot redeclare class phpStack in /home/…..)

    Plugin Author ThemeBoy

    (@themeboy)

    Hi again!

    Thanks for clarifying. That sounds useful, so we’ll definitely do our best to include an initial rating to teams in the next major update.

    Regarding the phpStack error, this will be fixed in the next version 🙂

    Thread Starter mavrodiev

    (@mavrodiev)

    Thanks 🙂

    Plugin Author ThemeBoy

    (@themeboy)

    Hi again,

    We’ve just released version 0.7 with this functionality added.

    To add adjustments to a team, edit to the League Table and click “Adjustments” at the top of the table. This will load a hidden table where you can enter values to adjust each cell. Unlike the main table, these values will be added (or subtracted) from the calculated value.

    Hope this helps 🙂

    http://wordpress.org/plugins/sportspress/changelog/

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘League table calculations’ is closed to new replies.