Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

New way to display the points ?
#1

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.
#2

No, unfortunately that is not possible.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#3

(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)
#4

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.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#5

Thanks for your reply.

Where I could find the newpoints_format_points function ?
#6

In inc/plugins/newpoints.php
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#7

Thanks for your help, Pirata Nervo Smile
#8

You're welcome Smile
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.




Users browsing this thread: 1 Guest(s)