• Resolved Prometheus Fire

    (@prometheus-fire)


    I’ve setup various achievements that use the same trigger. But when the trigger is recorded in the log it is not recorded in all the relevant achievements.

    For example
    Reward 1 Required steps
    Write an Activity Stream message
    Reply to an item in an Activity Stream
    Post a comment to an article
    Send a Friend Request

    Reward 2 required steps
    Publish an Article
    Write an Activity Stream message
    Reply to an item in an Activity Stream
    Post 10 comments on articles

    There are minor differences in the rewards, but when the step is completed shouldn’t it be triggered and logged for all rewards that have the step? In this case they worked for reward 1, but not for reward 2. The core BadgeOS steps were recorded, but not the Community steps.

    These are just the low level Community triggers that I’m having issues with. I haven’t even tested the upper level achievements. For example, I have an achievement that requires 25 activity stream messages. How does that work? When does it start counting? Does the 1 message from the lower reward get counted within that? (I’m thinking that it does). Can I even have multiple rewards that require different amounts of Community Trigger steps.

    The documentation on configuring the Community Add-on doesn’t even mention any of this. Am I on the right track, or am I doing it completely wrong?

    https://wordpress.org/plugins/badgeos-community-add-on/

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

    (@tw2113)

    The BenchPresser

    First question I have is if these are sequential or can be in any order.

    Logically I would say they should be triggering for both, but I can’t confirm offhand if they do. The biggest thing to see how far along a user is would be to check their user meta, which is where we track progress on achievements. The two primary keys you’d want to look at are _badgeos_triggered_triggers and _badgeos_active_achievements. The latter is a serialized datastore of in progress ones. If you need help with the serialized part, I can help you there as needed.

    Thread Starter Prometheus Fire

    (@prometheus-fire)

    I’ll have a look at that, but my client didn’t like the game structure I built and gave me achievement types and achievements of their own. I have to spend some time rebuilding the steps structure now before I test again.

    I had revoked all the awards on all the users on the test for because I was setting up for another test run on the trigger structure after ensuring none of my triggers were identical.

    I want to get back to this, but I need to spend some hours building out the game structure based on the what the client just gave me. Once I get that done, I’m going to run tests on the triggers.

    Can you subscribe to this topic so I can contact you and I’ll update it again with results after I’ve done a test run on a bunch of triggers. I’m going to build them again so that no two are identical. But I do need to get my head around how they work in general.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    I receive RSS notifications for pretty much all of the BadgeOS plugins, so don’t worry, I’ll know when you reply 🙂

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Ever figure anything out for this one Prometheus? or are we good to mark this one resolved?

    Thread Starter Prometheus Fire

    (@prometheus-fire)

    You can mark this as resolved.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Community Triggers on multiple achievements’ is closed to new replies.