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

Matthew S

Well-known 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)
 
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.)
 
Back
Top Bottom