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.
Options

Two Final Karma ?'s: Leaderboard Looks Like This, and Sort in MemTable?

kirkpa31kirkpa31 ✭✭
edited March 2013 in Vanilla 2.0 - 2.8

I love the leaderboard plugin, fits well and the Karma balances are updated perfectly. However, it looks like this when activated: (no user has uploaded a custom icon, 3 users total)

image

If you are still working out bugs I can happily wait! I appreciate all of your work @Peregrine, and can't thank you enough for your help.

Also, I am having trouble figuring out how to make Karma a sortable column within the Members Table. Included is my code that I have been playing around with for the past 24 hours:

case 'balance': $UserField = 'KarmaBankBalance'; break;

if ($ShowKarma) echo '<th>' . Anchor(T('Karma Balance'),$MColUrl. '&ufield=' . 'KarmaBankBalance' . '&sort=' . $NewSort ).'</th>';

I'm assuming that because there is no field 'KarmaBankBalance' within the user table, hence the need to join it on your other post (http://vanillaforums.org/discussion/comment/176586/#Comment_176586), but am confused as to what needs to be done to have it sort accurately.

Comments

  • Options

    Take a few weeks read up on php, sql, and vanilla, and I bet you will figure it out. Sometimes the answers are not instantaneous.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    peregrineperegrine MVP
    edited March 2013

    as far as custom icons. it should read the location from the user table for uploaded pics.

    Don't know about gravatars, vanillaicons, etc. There is a discussion from about a year ago if this is the issue. What are you using for pics?

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Vanillicons. And the discussion I think you are referring to is: http://vanillaforums.org/discussion/22997

    Been looking at that post and others trying to fix the issue. Also, not a clue why usernames aren't showing up. If I'm the only one with that problem than I'll stay quiet and keep looking but just wanted to point it out.

    Overall a plugin that was overdue, thank you for starting it!

  • Options
    peregrineperegrine MVP
    edited March 2013

    By the way - it is much much better to post questions specific to plugins in the plugin. It is easier to reference. It is also a good idea to keep the plugin questions distinct so you can actually post in the plugin that it relates to.

    And when you have a sort solution for membership enhanced plugin for karma you can post it there.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    @kirkpa31

    Vanillicons.

    thanks for the feedback kirkpa31.
    see if the new version 1.1 works for you. It works with vanilla icons, uploaded user photos for me.

    please report back

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options

    Thank you @peregrine for your work! This plugin works perfectly and is a much more encompassing leaderboard than the TopPosters module I currently had installed.

    Looks amazing.

Sign In or Register to comment.