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

XF 1.5 How to Change Username in Quoted Text to reflect New Username?

Discussion in 'XenForo Questions and Support' started by XFuser, Apr 25, 2016.

  1. XFuser

    XFuser Active Member


    How can you change the username that appears in the old quoted texts of a user in order to reflect their new username and avoid confusion?

    Thank you.
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. XFuser

    XFuser Active Member

    Thank you for the quick and thorough reply. How come this isn't done automatically when changing a Username via the Admin panel? Is there a downside to doing this?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    The user name content in the post isn't dynamically linked to the user - it is simple text, so there is no automatic mechanism for updating it.

    There is no downside to changing it via a query - just make sure you backup the xf_post table first, in case you need to revert.
  5. XFuser

    XFuser Active Member

    Out of curiosity, why isn't the quoted text dynamically linked to the user, and being that the case, why isn't that query above run automatically when changing a username if there are no downsides? Thanks.

Share This Page