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

XF 1.2 Update Quote info?

Discussion in 'XenForo Questions and Support' started by Valter, Dec 31, 2013.

  1. Valter

    Valter Active Member


    is there a way to update quote info in XF? I would like to have actual usernames shown in quote blocks.
  2. Amaury

    Amaury Well-Known Member

    Quote blocks already show actual usernames, so I'm not sure what you're asking.
    oman likes this.
  3. Valter

    Valter Active Member

    Not if username is changed in the meantime.
  4. Martok

    Martok Well-Known Member

    You'll have to use something like Post Content Find / Replace to find all instances of the old username and change them with the new one.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    It can also be done with a simple query:
    UPDATE xf_post SET message = REPLACE(message,'current_content','new_content');
  6. Valter

    Valter Active Member

    I know it can be done by running that query but it must be done one by one. Some script which would read post_id from the quote block then check for current user_id and update username in quote block would be nice. But it's OK, I can live with this... :)

Share This Page