Jump to content

Friendly Number Format (Support)


Michael.J
 Share

Recommended Posts

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.
Link to comment
Share on other sites

  • 7 months later...
  • 5 months later...
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.

Link to comment
Share on other sites

  • 8 months later...
  • 6 months later...
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
Link to comment
Share on other sites

  • 1 year later...
  • 8 months later...
  • 4 months later...
  • 2 weeks later...
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
Link to comment
Share on other sites

  • 1 year later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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