• Resolved mikebronner

    (@mikebronner)


    Maybe I’m thinking about this the wrong way: is there a way to set up an achievement based on the Karma score of a user? I would like to set up achievements that are automatically earned as they reach a certain score, to signify their level, so to speak.

    Is this doable, even with some coding?

    Thanks again, Paul!
    ~Mike

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Paul Wong-Gibbs

    (@djpaul)

    You could try creating an event type of “dpa_unlock_achievement”. See the bottom of the dpa_maybe_unlock_achievement() function in includes/core/functions.php.

    I suspect this will end up creating an infinite loop (because awarding an achievement from the “dpa_maybe_unlock_achievement” event will trigger another “dpa_maybe_unlock_achievement” event…) or it will cause the database to be queried twice for the event type. 🙂

    We’ll probably need to figure out how to handle this elegantly. In the old Achievements 2.x I had some special handling to stop these situations occurring, but it was so long ago, I can’t remember what the exact problem was.

    Levelling up is an awesome idea, did you end up making any progress in this area?

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    I haven’t had time, so no.

    @mikebrommer – I just found this after posting my question here – http://wordpress.org/support/topic/ranking-based-on-karma-points?replies=1

    I think we are after a similar thing!

    Have you made any progress with this?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Feedback: Earn Achievements With Karma’ is closed to new replies.