• Resolved emiliengerbois

    (@emiliengerbois)


    Hi Michael,
    I hope you’re well,
    I come back to ask you about something that I think would be really interesting in a context with a lot of achievements.

    I’d like to be able to set a badge earned by completing steps but I would need it to recognize that the user earned X steps in a defined list of specific achievements.

    It would be like this for example: “Unlock 5 achievements in this list of 20 to earn the badge”…

    Do you know if and how this would be possible? or would it be considered in a future update or as an add-on?

    Thank you so much in advance for your answers, have a great day,

    Emilien

    https://www.ads-software.com/plugins/badgeos/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    While perhaps not an exact match for what you’re looking for, there is the “Earn any achievement of type” step available. You could create the achievement type and a list of 20 different achievements in the type, and award a different achievement based on earning “any achievement of type” 5 times.

    Otherwise, the “hack around things” approach that I have off the top of my head is find a way to specify the list, find a way to query for the achievements listed in the list, find a way to specify the achievement to award, and hook into the following hook to do any necessary checks:

    do_action( 'badgeos_award_achievement', $user_id, $achievement_id, $this_trigger, $site_id, $args );
    Thread Starter emiliengerbois

    (@emiliengerbois)

    OK I’ll try to have a further look at it, thank you for your help!

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any changes to this one emiliengerbois

    Thread Starter emiliengerbois

    (@emiliengerbois)

    Hi Michael,
    thank you for your message,
    I made no progress on this, but I plan to have a deeper look with a developer to help me.
    My main problem in general is the amount of badges that I have on my website.
    I use different post types to create a hierarchy of them:

    level 1: simple and single badges
    level 2: super badges = groups of single badges to unlock (steps)
    level 3: groups of level super badges

    Then I need two things:
    – when I create levels, be able to recheck manually which user earned which badge in case a same badge could be needed in super badges created after users began to earned it…

    – be able to set thresholds, in case a super badge could group dozens of badges, to make it earned when a user earnings reaches 80% of the steps list for example.

    Just in case: are you aware of some enhancements to come? Were there another thread about something like this? did you think of something?

    Those two things seem quite complicated though, I hope we will find a way.
    I’ll keep you posted if you want if and when the dev finds something… ??

    thank you again and have a great day

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    I haven’t heard of anything new that may help achieve this, sadly. I did want to at least check in though.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Complete x steps in a list’ is closed to new replies.