Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
how to change karma display from decimal to integer

how to change karma display from decimal to integer
0
Comments
good question
in
views/karmabank.php
change each
T("%01.2f")
to
T('KarmaBank.NumberFormat', "%01.2f")
then in your locale create a definition
$Definition['KarmaBank.NumberFormat'] = '%d';
I'll make sure then next version applies the changes.
grep is your friend.
thx man .
and i had 3 suggtion to this plugin.
1.is it possible to make this plugin relative to i like this plguin, so ppl can set a role to transfer likes to karma.
2.is it possible to make a bonus karma option,so admin and mod can give a bonus karma to those topic or comments which had a good contents.
(1-2 improve the sitckness of the fourm,also improve the quality of replies. once member can gain
karma for these way,they gonna more srs for writing their replies or discussions,and if ppl wants more karma they gonna pay more attemption to the forum.)
3.how about also shows the karma at discusstion owner.
im bad at english see picture.
I'm not taking request right now sorry.
grep is your friend.
You can already give bonus karma.
grep is your friend.
how do i give bonus karma, i don see anywhere i can click....
go to the user balance in the profile.
You can give the permission
Plugins.KarmaBank.RewardTax
to roles you want to have this privilege.grep is your friend.
i alrdy turn on the permission for the admin and mod ,but where i can give a bonus = = icant find it ...sry im noob
go to the user's profile by clicking on their username, then click on the KarmaBank tab.
then you can see the fields for reward / tax at the bottom.
grep is your friend.
k thx,i found it..not intuitive but works.
hope u can add it relative to the i like this plguin in the future.
changes like that have to be sponsored.
grep is your friend.
here is a new version with namespaced locales
http://vanillaforums.org/addon/karmabank-plugin-0.9.6.7b
in you locale put
$Definition['KarmaBank.NumberFormat'] = '%d';
grep is your friend.
i updated new version and added the $Definition['KarmaBank.NumberFormat'] = '%d'; to /www/locales/vf_zh_CN/site_core.php and deleted all ini files from /cache.then i refresh the site,
but the number still decimal not a integer.
btw im using 2.1b1 and heres a question i asked earlier http://vanillaforums.org/discussion/24272/views-comments-date-not-translating#latest
maybe this is same problem?
you can put it in conf/locale.php
btw 2.1 is not officially supported.
grep is your friend.
I made some corrections
http://vanillaforums.org/addon/karmabank-plugin-0.9.6.8b
grep is your friend.
Awesome @x00
Must respect your reflexes.
There was an error rendering this rich post.
Agreed, this plugin ties my whole forum together