• Resolved dave101

    (@dave101)


    Hello first of all I want to tell you that your plugin is great! I really congratulate you.

    My English is poor, I hope I understand.

    What I need is to put on the table ranking the hits (toto) made by the participants per round. It can be done?

    From already thank you very much.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author AntoineH

    (@antoineh)

    Thanks for the compliment ??

    The ranking table is made from a data set and a data template in the code. Both can be changed by using a hook in the code, but this requires some PHP knowledge. I have some examples on how to change the ranking in this post on the forum.

    The amount/count of toto points can be calculated from the scorehistory table and added to the data set and the template using the hooks mentioned above. I am not sure what you mean by toto per round; the ranking table itself shows an accumulated total, not a total per round.

    • This reply was modified 8 years, 6 months ago by AntoineH.
    Thread Starter dave101

    (@dave101)

    All right! thank you very much
    Another query?
    And as I show the total of the full result of each user in the ranking table?

    Thank you very much!

    Plugin Author AntoineH

    (@antoineh)

    Same goes for the full result. If you are able to compute the values in PHP, then you can add those to the data set and display it in the template.

    Thread Starter dave101

    (@dave101)

    Which is the variable showing that data?

    Plugin Author AntoineH

    (@antoineh)

    There is no variable. You’ll have to compute it yourself and add it to the data array to be able to display it.

    Is there anything I can do to make the ranking table look a bit more ‘information filled’. I’m a more of a noob on this than I thought and this is likely the final change I am to make before I go live next week.

    I’d ideally like a column for ‘predictions made’, ‘100% correct results’, ‘correct result’ and then ‘total points’ – is there an easy way to display this please? I’ve read the extensions plugin post but I’m not too sure where I put the php or how the php actually works. There will only be one big table and no rounds or anything too complicated.

    Any help would be appreciated.

    acrodat.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Show the successes (toto) ranking’ is closed to new replies.