Author Topic: Scrolling Bust Outs  (Read 2520 times)

Lafrog

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Scrolling Bust Outs
« 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

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Scrolling Bust Outs
« Reply #1 on: April 23, 2015, 10:19:26 PM »
That certainly would be useful to me as well!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Scrolling Bust Outs
« Reply #2 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>

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Scrolling Bust Outs
« Reply #3 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=" ">

Lafrog

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Scrolling Bust Outs
« Reply #4 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
« Last Edit: May 02, 2015, 01:00:04 PM by Lafrog »

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Scrolling Bust Outs
« Reply #5 on: April 24, 2015, 03:01:57 PM »
Great idea, but alas, no, you can only have a single connector.  Sorry.  :(

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Scrolling Bust Outs
« Reply #6 on: April 24, 2015, 03:45:49 PM »
Works great... thanks!

Lafrog

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: Scrolling Bust Outs
« Reply #7 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

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Scrolling Bust Outs
« Reply #8 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.

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Scrolling Bust Outs
« Reply #9 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.
« Last Edit: May 10, 2015, 05:11:02 PM by efdenny »

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Scrolling Bust Outs
« Reply #10 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.  :)

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Scrolling Bust Outs
« Reply #11 on: May 24, 2015, 02:16:51 PM »
Nice!!

mm48

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
Re: Scrolling Bust Outs
« Reply #12 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
« Last Edit: June 13, 2015, 05:03:09 AM by mm48 »