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

Fixed Remove unread alerts when removing trophies

Discussion in 'Resolved Bug Reports' started by Marcus, Oct 17, 2011.

  1. Marcus

    Marcus Well-Known Member

    After I removed all trophies, when I login with a user I see: "You are awarded a trophy: trophy_title_x" where the user only sees the variable (trophy_title...) and not the former title.

    For a quick fix, can I just manipulate the database to remove all these strange alerts? I am in the process of migrating with thousands of users. Thanks.
  2. Mike

    Mike XenForo Developer Staff Member

    Yeah, you can just remove those alerts.
    Marcus likes this.
  3. Marcus

    Marcus Well-Known Member

    Thanks. For the others, this is to completely remove all alerts for trophies:

    DELETE FROM xf_user_alert WHERE action= "trophy"
    Fuhrmann likes this.
  4. Mike

    Mike XenForo Developer Staff Member

    It's a bit of a hack, but it now removes alerts for trophies when they're deleted.
    Marcus and GeeksChat like this.

Share This Page