Support » Plugin: GamiPress » Handling multiple instances of the same action

  • Resolved demonboy

    (@demonboy)


    Hi,

    Only just discovered your plugin and I absolutely love it! Left a glowing review as I’m already up and running with it, it’s super intuitive.

    I had a question about handling multiple events of the same steps:

    I’d like to create two or more badges depending upon how many times a user creates a topic in a specific forum. They get one badge if they do so 3 times, and then another badge if they do so six times, and so on.

    Just wanted to check that by setting Maximum Earnings to ‘1’, this should work ok. I.e., they get their badge for creating a topic 3 times, they get another badge for creating six topics, but they won’t get the first badge twice after creating six topics.

    Does that make sense and am I doing that correctly?

    Keep up the great work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rubengc

    (@rubengc)

    Hi @demonboy

    Thank you so much for share your review with the WordPress community to let everyone know how much you like GamiPress

    Really appreciated!

    Regarding your question, the “Maximum Earnings” field on an achievement defines the number of times the user can earn the achievement

    If you setup 2 achievements like:
    – Achievement 1 – Create 3 topics
    – Achievement 2 – Create 6 topics

    If you set on both achievements the “Maximum Earnings” field to 1, user only will earn them 1 time

    If you let the users earn them unlimited times, then the user will earn the Achievement 1 every 3 topics (3, 6, 9, etc) and the Achievement 2 every 6 topics (6, 12, 18, etc)

    Hope it helps

    Best regards

    Great, that’s how I interpreted it. Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.