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.

Karma Bank Compatibility with Vanilla 2.1

I have installed Vanilla 2.1 an am using karma Bank plugin with it. The plugin seems to work fire. the only problem is the in the post comments, it always displays 0.00 Karma for the comment poster. How can I correct this?

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    How can I correct this?

    Poster should Perpetrate more acts of random kindness upon strangers.
    Sorry, I could not help my self.... triple 0, that is bad karma tho...had no idea it used fractions. You have 1.25 karma, only .75 till 2 . :)

  • x00x00 MVP
    edited March 2013

    you might try removing the & in default.php here

    protected function ShowBalance(&$Sender) {
    

    and for the following methods too

    • DiscussionController_BeforeDiscussionRender_Handler
    • PostController_BeforeCommentRender_Handler
    • CacheBalances
    • DiscussionController_CommentInfo_Handler
    • PostController_CommentInfo_Handler

    that is all the help I can give. I have not tested it for 2.1 as is alpha and beta, and won't be for a while.

    grep is your friend.

  • jeongweejeongwee Vanilla version 2.6 ✭✭

    yes,most of time i got displayed 0karma for the comments poster,but sometimes it shows the correct karma,same 2.1b1.

  • that is all the help I can give. I have not tested it for 2.1 as is alpha and beta, and won't be for a while.

    grep is your friend.

Sign In or Register to comment.