WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
[resolved] How to define points in group stage? (3 posts)

  1. crodexter
    Member
    Posted 1 year ago #

    Hello,

    I plan to use plugin for other sport.
    Can you tell me how can I change points that are added to team for a win?
    Thank you.

    http://wordpress.org/extend/plugins/football-pool/

  2. AntoineH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Line 171 in the file classes\class-football-pool-groups.php gives 3 points for every win and 1 point for a draw.

    $points = ( $wins * 3 ) + $draws;

    If you change that line, you can alter the scoring of teams.

    I'll add a plugin option to the admin for this in the next version. That way your change won't get overwritten in future updates of the plugin code (and others may benefit from this as well).

    p.s. I didn't test the change. So if it doesn't work, please let me know and I'll look into it in more detail.

  3. crodexter
    Member
    Posted 1 year ago #

    Hi,

    Thanks for quick replay. I have to create test site and I will let you know after I test it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.