The Tournament Director Forums

Main => General Discussion => Topic started by: Lafrog on April 23, 2015, 03:13:23 PM

Title: Scrolling Bust Outs
Post by: Lafrog on April 23, 2015, 03:13:23 PM
Hi all,

I was wondering how I can display a scrolling list of bust out players with their tournament points (if any)

like:

32nd John Doe: 0 pts 31st Jane Doe: 120 pts 30th ...

This scrolling banner should automatically update itself when I bust out new players.

Any help would be greatly appreciated.

TIA
Title: Re: Scrolling Bust Outs
Post by: efdenny on April 23, 2015, 10:19:26 PM
That certainly would be useful to me as well!
Title: Re: Scrolling Bust Outs
Post by: Corey Cooper on April 24, 2015, 11:36:15 AM
<inlineRankings template="[ordinalrank] [player]: [points] pts" connector="&amp;nbsp;&amp;#8226;&amp;nbsp;">

Or, to make it scroll:

<marquee><inlineRankings template="[ordinalrank] [player]: [points] pts" connector="&amp;nbsp;&amp;#8226;&amp;nbsp;"></marquee>
Title: Re: Scrolling Bust Outs
Post by: Corey Cooper on April 24, 2015, 11:39:40 AM
FYI, the connector part can just be connector=" ", but I changed the dot to the HTML entity representation, and the spaces to the HTML non-breaking space entity, and then it has to be encoded properly.  So the way I did it is a little more correct, arguably, but the simpler way will work, too:

<inlineRankings template="[ordinalrank] [player]: [points] pts" connector=" ">
Title: Re: Scrolling Bust Outs
Post by: Lafrog on April 24, 2015, 12:49:06 PM
Thanks Correy,

Is there a way to have a computed connector?

I would like to have 1 of four images displayed as connector (Spade, Heart, Club, Diamond)

Something like: <img src=".../pic & [ordinalrank] MOD 4 & ".png">

Am I pushing it?  ;)

TIA
Title: Re: Scrolling Bust Outs
Post by: Corey Cooper on April 24, 2015, 03:01:57 PM
Great idea, but alas, no, you can only have a single connector.  Sorry.  :(
Title: Re: Scrolling Bust Outs
Post by: efdenny on April 24, 2015, 03:45:49 PM
Works great... thanks!
Title: Re: Scrolling Bust Outs
Post by: Lafrog on May 02, 2015, 01:03:09 PM
Hi Corey,

Is there a flag to ONLY display busted out player that made points?

I added a condition that starts the showing of the bust out when a certain number of players remains but it shows the whole list... ;-(

TIA
Lafrog
Title: Re: Scrolling Bust Outs
Post by: Corey Cooper on May 02, 2015, 07:24:11 PM
I added the ability to have multiple connectors and specify a minimum number of points in order for a player to be displayed.  It will be in version 3.4.  If I can get my act together, I'll get a beta going soon.
Title: Re: Scrolling Bust Outs
Post by: efdenny on May 09, 2015, 09:54:37 AM
How would I change this to only show those that finish with winnings >$0?   We use bounty chips that have a prize associated with it, so the marquee could end up reading "
1st John Doe: $100 2nd Jane Doe: $50 3rd Johnny Moe: $25 7th Mary Moe: $5 9th Penelope Penny: $5
", showing only those players that won any money.
Title: Re: Scrolling Bust Outs
Post by: Corey Cooper on May 22, 2015, 11:21:28 AM
I would have to add another criteria.  Easy enough.  I had initially considered creating a generic formula, but that can get computationally expensive pretty quickly.  So I'll see about adding a minimumWinnings attribute.

Actually, it was easy enough that I added it before finishing this post.  :)
Title: Re: Scrolling Bust Outs
Post by: efdenny on May 24, 2015, 02:16:51 PM
Nice!!
Title: Re: Scrolling Bust Outs
Post by: mm48 on June 13, 2015, 04:54:31 AM
Where is described [ordinalrank] ?
Sorry but I'm French (nobody is perfect). How can I show in French : 1er , 2eme, 3eme, 4eme .. In place of 1st , 2rd, 3rd, 4th ?
Merci