Support » Plugin: Achievements for WordPress » Karma values when removing, then re-awarding an achievement

  • Resolved allmyleagues

    (@allmyleagues)


    Hey Paul,

    Great plugin! You should be commended for all the time and dedication you have poured into it. Your work clearly stands out above the crowd.

    I noticed an issue when manually removing a user’s achievement. Upon removal, the karma value does not drop. Then if you re-award the achievement, the karma value is not added. This leads me to the notion that karma values are a one-time addition and there is no “checking” to see if karma should be added or subtracted depending on if an achievement is removed or re-awarded to someone. Is this a glitch, or perhaps by design? Perhaps there’s a reason it works like this that I’m not aware of.

    Keep up the great work!

    Mark

    http://wordpress.org/plugins/achievements/

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Gibbs

    (@djpaul)

    BuddyPress Lead Developer

    Hi Mark,

    Thanks for your comments. The behaviour you’ve described is by design. It’s simplest from a technical approach (updating many users’ scores based on what achievements they’ve unlocked gets slower and less efficient the more users, achievements, and activity that a site has), but I think also clearer from the site admin’s perspective.

    I always describe it like a wallet — money goes in, money goes out. Even if you get a pay rise, you don’t get the difference made up against your old salary 🙂

    I think there other other less subtle questions that would need figuring out. i.e. What happens if a site specifically devalues the points benefit of an existing achievement, but doesn’t want to affect existing users’ totals?

    I’ve had only a few reports here asking about this behaviour, so maybe it’s not as clear as I think it is, but for now I believe it’s the best approach, but I’ll always consider changes for future versions. Thanks again for your feedback!

Viewing 1 replies (of 1 total)
  • The topic ‘Karma values when removing, then re-awarding an achievement’ is closed to new replies.