MyBB-Plugins Forums

Full Version: New way to display the points ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Is this possible if I want to display some text in the points amount ?

For example :

I have 100,000 credits now I want it displays 100K credits

and so on, if there 1,125,678 credits so it should be displayed 1 million 125 k 687 credits


Is this possible to do that ? If yes, please let me know where to edit. I can handle after that.
No, unfortunately that is not possible.
(04-09-2013, 07:37 AM)Pirata Nervo Wrote: [ -> ]No, unfortunately that is not possible.

Why ? We can convert double to string, right ? Then use some conditional (I thinks so)
There's no way to do that without modifying it. You'll need to modify the newpoints_format_points function and manipulate the floats there.
Thanks for your reply.

Where I could find the newpoints_format_points function ?
In inc/plugins/newpoints.php
Thanks for your help, Pirata Nervo Smile
You're welcome Smile