Jump to content

Friendly Number Format (Support)


Michael.J

Recommended Posts

Posted

Replace the unfriendly numbers throughout your forums with friendly versions. For example 12,416 becomes 12.4k and 1,165,156 becomes 1.2m.

Features:

  • Option to force the decimal point used for formatting and override users locale.
  • Ability to change "k" thousands abbreviation.
  • Ability to change "m" millions abbreviation.
  • Translate support for abbreviations.
  • 7 months later...
  • 5 months later...
Posted
On 16/10/2016 at 1:26 AM, Foolboy said:

I found that the member's post count is showing incorrectly like this. Please help.

Was ajax used to load that particular part or was it a normal page load?

Posted
4 minutes ago, Mike John said:

Was ajax used to load that particular part or was it a normal page load?

Hi. It's just a normal page load.

However, on a particular topic that have more than one page, these hash number has been disappeared when I changed the page and showed the post count correctly. (e.g. 4.2k)

This issue is occur on the total post count message on top of each topic (X posts on this topic) as well and will disappear when changing the page. Other than that, the rest part of the forum are showing the number format perfectly.

Posted

Just to rule out the obvious, your using both the latest version of this plugin and IPB4? Can you pm me login details to take a look? I'm currently no able to reproduce this locally.

  • 8 months later...
  • 6 months later...
Posted

Does the plugin allow removing the thousands separator completely in every forum language?

E.g I want to have displayed "1200" (one thousand two hundred) as a post count instead of the default english "1,200" and "1?200" in my localized language.

Posted (edited)
17 hours ago, hxigor said:

Does the plugin allow removing the thousands separator completely in every forum language?

No that wouldn't be possible. The "thousands separator" is hard coded in IPB4 itself. To basically use what ever the default is for the language being used.

See the "formatNumber" function in system/Lang/Lang.php.

Edited by Mike John
  • 1 year later...
  • 8 months later...
  • 4 months later...
Posted (edited)

I want to buy but i need to convert billion abbreviation. Would you add this option?

Edited by fjb
  • 2 weeks later...
Posted (edited)
On 4/3/2020 at 5:40 PM, fjb said:

I want to buy but i need to convert billion abbreviation. Would you add this option?

If you have ftp access to your files, I can put together a patch to include the billions abbreviation until the next update is released.

Edited by Mike John
  • 1 year later...
  • 2 weeks later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...