Achievements for WordPress
[resolved] Karma values when removing, then re-awarding an achievement (2 posts)

  1. allmyleagues
    Posted 1 year ago #

    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!



  2. Paul Gibbs
    BuddyPress Lead Developer
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Achievements for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.