WordPress.org

Forums

World Cup Predictor
[resolved] Overall Player Ranking (5 posts)

  1. Euan01
    Member
    Posted 1 year ago #

    Is there any way to manually change the player ranking? My top two players finished on same points but the overall winner is the person who appears in second place. So I want him to be on top on the list.

    http://www.gibsonglobalsearch.com/player-rankings/

    https://wordpress.org/plugins/world-cup-predictor/

  2. landoweb
    Member
    Plugin Author

    Posted 1 year ago #

    Why the winner is the person who appears in second place?

  3. Euan01
    Member
    Posted 1 year ago #

    Good question, sorry I wasn't very clear before.

    The top two players finished on equal points tied for first place. However, we set a rule that in the event of a tie, the winner would be the user who predicted most correct scores during the tournament.

    So the person whose name is second on the player ranking list is actually the person who won overall.

    Make sense?

  4. landoweb
    Member
    Plugin Author

    Posted 1 year ago #

    Well, what you can do is go to Admin >> Plugins >> Editor and select the World Cup Predictor. Open the file world-cup-predictor/wcp-reports.class.php and within the function user_ranking() look for total DESC, user_registered ASC changing to total DESC, user_registered DESC

  5. Euan01
    Member
    Posted 1 year ago #

    Great fix, worked perfectly. Many thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • World Cup Predictor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.