1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tropy Content & Achievements Criteria?

Discussion in 'XenForo Questions and Support' started by Kevin, May 8, 2013.

  1. Kevin

    Kevin Well-Known Member

    When editing/creating a trophy and using a criteria in the Content & Achieve, does selecting multiple items work as a "and" or as a "or" criteria selection?:unsure:
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    It's "or" :)
     
    Kevin likes this.
  3. Kevin

    Kevin Well-Known Member

    Perfect, thanks! :)
     
    Chris D likes this.
  4. Despair

    Despair Active Member

    You sure? I'm pretty sure it's AND. For example, xenforo.com has a trophy for having X messages and X likes (I'm assuming they didn't do anything custom for that). I also did a mini test on that a long time ago and I wasn't able to get the trophy without satisfying both requirements. I don't remember if I disabled all addons when testing though.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    I am doubting myself now, will have to double check the code... but I'm pretty sure.

    XenForo.com has a trophy for achieving 10,000 likes and 5,000 posts. That's done by the likes > posts ratio criteria (e.g. a single criteria).
     
  6. Despair

    Despair Active Member

    Not sure if they would use a ratio for that because technically someone who only has 10 likes and 5 posts would also obtain the same trophy, I think... I just did a quick test, and yea I wasn't able to get a trophy unless I satisfied all requirements. It would also not be too useful IMO if it was OR instead of AND.
     
  7. Kevin

    Kevin Well-Known Member

    Thanks for the update, guys, I'll change my plans accordingly. :)

    While IMO it'd be useful to be able to select the operand for the criteria selections so that one trophy could be reused instead of creating multiple entries for the same achievement.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    It's definitely AND.

    trophy.PNG

    For the trophy above to be awarded, the member would need to have 20,000 posts and 10,000 likes.
     
  9. Chris D

    Chris D XenForo Developer Staff Member

    Sorry :D
     
  10. kolli88

    kolli88 New Member

    just don't want to start a new thread, so I'm asking here:
    Is it possible to create a trophy: "You've done something very helpfull!" -> 200 Likes for 1 Post
    ?
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    That criteria doesn't exist.
     

Share This Page