Page 1 of 1

Donate procent problem

Posted: 23 Nov 2011, 20:43
by Solidjeuh
I just installed this mod, Works great!
but...

Image

Is this normal?

Donate procent problem

Posted: 23 Nov 2011, 20:50
by Stoker
Yes, it is.
But we can easily make the number nice :)

Open donate.php
Find: 'DONATION_GOAL_NUMBER' => $donation_goal_number,
Replace with: 'DONATION_GOAL_NUMBER' => number_format($donation_goal_number),

Open index.php
Find: 'DONATION_GOAL_NUMBER' => $donation_goal_number,
Replace with: 'DONATION_GOAL_NUMBER' => number_format($donation_goal_number),

Donate procent problem

Posted: 23 Nov 2011, 20:52
by doktornotor
What is wrong with that? Now you know exactly how much is still remaining! :lol:

Seriously, looks like the $donation_goal_number could do with some rounding/decimal places limiting as suggested above. :)

Donate procent problem

Posted: 23 Nov 2011, 20:55
by Solidjeuh
Thank you Stoker! looks much better now! :D