Donate procent problem

Download and support for PhpBB3 Paypal Donation Mod
Locked
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

Donate procent problem

Post by Solidjeuh »

I just installed this mod, Works great!
but...

Image

Is this normal?
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Donate procent problem

Post 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),
Board rules! No PM support
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

Donate procent problem

Post 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. :)
Support requests via PM go straight to /dev/null!
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

Donate procent problem

Post by Solidjeuh »

Thank you Stoker! looks much better now! :D
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
Locked