phppickem icon indicating copy to clipboard operation
phppickem copied to clipboard

[Enhancement Request] Tiebreaker

Open odoyle3114 opened this issue 8 years ago • 8 comments

Config option to have tiebreaker for weekly winner.

odoyle3114 avatar Jan 24 '17 19:01 odoyle3114

Any update on this? I'd like to see this as well.

searnhardt avatar Sep 01 '17 22:09 searnhardt

I added this to my fork but it doesn't update the weekly winner but it does allow you to entry and keep track of the tiebreakers. I am late starting this year so my fork isn't current on updates. Mainly because my changes never got merged upstream.

randyr505 avatar Sep 02 '17 19:09 randyr505

Thanks Randy. I think I tried installing your fork and had some sort of problems. I’d love to make the changes to the already installed instance if you have a pretty easy task list to follow. I think the DB already has the “ties” portion in it so I’m assuming it would be just a couple of PHP pages that would need to be replaced.

Let me know and I’d love to give it a shot.

Thanks, Sean E

From: Randy Rasmussen [mailto:[email protected]] Sent: Saturday, September 2, 2017 3:58 PM To: rothkj1022/phppickem [email protected] Cc: searnhardt [email protected]; Comment [email protected] Subject: Re: [rothkj1022/phppickem] [Enhancement Request] Tiebreaker (#35)

I added this to my fork but it doesn't update the weekly winner but it does allow you to entry and keep track of the tiebreakers. I am late starting this year so my fork isn't current on updates. Mainly because my changes never got merged upstream.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/rothkj1022/phppickem/issues/35#issuecomment-326766272, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADoqMYIlJ6HNKA5CEotb7zE3VEgsJeinks5sebNHgaJpZM4LsqTS.

searnhardt avatar Sep 05 '17 14:09 searnhardt

I merged my forked after I posted so you may want to try again. Hopefully it is fixed. If not, let me know and I'll diff the pages to see what all is different. If I recall it wasn't a lot.

Yes, the ties portion is in the db so I didn't have to do anything there I don't think.

randyr505 avatar Sep 06 '17 03:09 randyr505

Thanks Randy. I've changed / merged the pages and everything seems to be showing up correctly, I guess I'll have to wait on a tie to see how it actually works!

searnhardt avatar Sep 08 '17 16:09 searnhardt

You can test it with TB vs MIA since that game has been moved to Week 11 now due to Hurricane Irma. You can just set that game to a tie if you like. guess it is up to you.

On September 8, 2017 at 12:42 PM searnhardt [email protected] wrote:

Thanks Randy. I've changed / merged the pages and everything seems to be showing up correctly, I guess I'll have to wait on a tie to see how it actually works!

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/rothkj1022/phppickem/issues/35#issuecomment-328154690 , or mute the thread https://github.com/notifications/unsubscribe-auth/AT4d0rpAavEMJYygUThy5iwIDo0wxRIYks5sgW5vgaJpZM4LsqTS .

 

savagegeek avatar Sep 08 '17 16:09 savagegeek

Sean,

Did you make any changes to allow it to update the winners in the DB? If so, can you create a pull request? I'd like to see the differences. Just to reiterate, mine just allows you to input points and keep track of them.

Savagegeek, he isn't referring to a tie game, he is referring to users having the same number of wins at the end of the week.

randyr505 avatar Sep 09 '17 15:09 randyr505

I didn't make any changes to the code, just implemented the pages you had so that I could see the tiebreaker points. I was guessing / assuming that you might be taking that into consideration on the results page to be able to choose the person with the closest tie-breaker points to show as the winner? And, I guess there could still be a weekly tie if two people choose the same tie-breaker points...

searnhardt avatar Sep 11 '17 19:09 searnhardt