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 );
OK I’ll try to have a further look at it, thank you for your help!
Any changes to this one 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
I haven’t heard of anything new that may help achieve this, sadly. I did want to at least check in though.