abbreviate player names in hud

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

abbreviate player names in hud

Postby nurssbetty » Sun Apr 03, 2011 11:40 pm

Can you abbreviate the player names as they appear in the hud to only three characters?
nurssbetty
 
Posts: 12
Joined: Sat Aug 07, 2010 3:37 pm

Re: abbreviate player names in hud

Postby tarix » Mon Apr 04, 2011 2:25 am

In the Statistic Repository search for "Player Short".
tarix
Developer
 
Posts: 3760
Joined: Tue May 20, 2008 2:49 pm

Re: abbreviate player names in hud

Postby WhiteRider » Mon Apr 04, 2011 3:28 am

Those stats shorten it to 5 characters – if you want to change it 3 you can change the Format Expression of the stat.
Tutorial: Custom Reports and Statistics
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: abbreviate player names in hud

Postby nurssbetty » Tue Apr 05, 2011 12:00 am

thanks,
after i found it, it asks if i want to save it and where to. then, how does it get incorporated into my hud?
nurssbetty
 
Posts: 12
Joined: Sat Aug 07, 2010 3:37 pm

Re: abbreviate player names in hud

Postby WhiteRider » Tue Apr 05, 2011 3:25 am

The "how do I add a stat?" link at the top of the Get More page explains how to import a stat into PT3. Once the stat has been imported you will be able to add to your HUD (although if the HUD is running you will need to stop the import first).
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: abbreviate player names in hud

Postby Parket » Tue Apr 05, 2011 5:49 am

Great. Was wondering about this myself yesterday.
Really should start looking into those custom stats... seems awesome. Is it possible to add an ellipsis (...) if the player name gets truncated ? So 'Jan50' would show as 'Jan50' but 'MegaDonkPlayer' would show up as 'MegaD...' ?
Parket
 
Posts: 367
Joined: Mon Mar 24, 2008 1:03 pm

Re: abbreviate player names in hud

Postby kraada » Tue Apr 05, 2011 9:20 am

That should be doable by editing the format expression of the stat to include something like + format("...").
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: abbreviate player names in hud

Postby duvelman » Mon Jun 06, 2011 5:07 am

Hi,

This does not seem to work for player names that consist only of numbers since apparently the trim function performs a format_number when the first argument is a number, i.e. when the player name is a number, it shows the whole number with a komma after the first n digits instead of only showing the first n digits.

I looked at the documentation, but I cannot find how I can easily solve this. Could you point me in the right direction?

Thanks
duvelman
 
Posts: 6
Joined: Wed Jan 21, 2009 10:38 am

Re: abbreviate player names in hud

Postby kraada » Mon Jun 06, 2011 9:11 am

Set the decimals to -1 in the statistics properties for that stat when it's in the HUD and that should fix it I think.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: abbreviate player names in hud

Postby duvelman » Mon Jun 06, 2011 10:31 am

kraada wrote:Set the decimals to -1 in the statistics properties for that stat when it's in the HUD and that should fix it I think.


Thanks kraada, that did the trick!
duvelman
 
Posts: 6
Joined: Wed Jan 21, 2009 10:38 am

Next

Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 19 guests

cron