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

Not a Bug {name} vs. {username} in ACP

Discussion in 'Resolved Bug Reports' started by Matthew S, Jan 8, 2016.

  1. Matthew S

    Matthew S Member

    Apologies if I have this wrong, but it looks out of place to me.

    I'm just setting up xF 1.5.4 from scratch for the first time and working through the various options in ACP. I noticed in Options -> User Registration, the variable in the new user email is {name} (which works fine). Also in Notices, {name} works fine. In Spam Management, under Spam Cleaner Email Text, the variable is listed as {username}. I haven't tested it, but it seems odd.

    I mainly think it's off because I signed up at an established xf forum a few weeks ago and the welcome conversation literally starts with "Hi {username},". (Psst @Mouth -> NR)
     
  2. Mike

    Mike XenForo Developer Staff Member

    Each replacement uses different code, so it's possible for them to be different. Given that the spam cleaner setup has been there since 1.0, it's not really viable to change it. (The welcome conversation mentions {name} specifically, so that sounds like a bug in the site's usage.)
     
    Matthew S likes this.
  3. Matthew S

    Matthew S Member

    Ah, OK thanks. I wasn't sure. :)
     

Share This Page