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

Updating denormalised usernames in an addon

Discussion in 'XenForo Development Discussions' started by Teapot, Feb 11, 2013.

  1. Teapot

    Teapot Well-Known Member

    My apologies if this has been asked before - the search engine didn't reveal anything helpful.

    Mimicking the way XenForo does it, my add-on's content tables have a "username" field alongside the "user_id" field so it doesn't have to query the database for every entry. However, I'm wondering how I would hook into XenForo's "change username" routine in order to make it update the denormalised usernames in my add-on as well as in XenForo itself.

    How might I go about doing that?

    As always, thanks for your time :)
     
  2. havanaclub

    havanaclub Member

Share This Page