Jump to content

Friendly Number Format (Support)

Featured Replies

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...
  • Author

I've updated this plugin to include a fix for friendly numbers when loaded via ajax.

  • 5 months later...

Hello,

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

Error.png

  • Author
  On 10/15/2016 at 2:26 PM, 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?

  On 10/17/2016 at 11:33 PM, 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.

  • Author

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...
  • Author

The Friendly Number Format plugin has been updated for IP.Board 4.2.x compatibility.

  • 6 months later...

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.

  • Author
  On 2/3/2018 at 12:31 PM, 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...
  • Author

An update for IP.Board 4.4.x has been released.

  • 8 months later...
  • Author

This plugin is half price for the IPS Marketplace Black Friday sale.

  • 4 months later...

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

Edited by fjb

  • 2 weeks later...
  • Author
  On 4/3/2020 at 6:40 AM, 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...

Hi,

Any chance this will be updated to fix the now shortened numbers in 4.6?

Thanks

  • Author

Just released a new update pending approval with an IP.Board 4.6.x specific option to disable friendly numbers.

  • 2 weeks later...

Recently Browsing 0

  • No registered users viewing this page.