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

API- Specifically $user array.

Discussion in 'XenForo Development Discussions' started by Jumla, Dec 30, 2011.

  1. Jumla

    Jumla Member

    Hey! I just bought xenforo, and am extremely happy so far, switching from mybb. I just would love to know the values that the $user array has, specifically how to pull up the users username. I know I could use $user['user_id']; then run a query, but that'd be intensive on the CPU. Thanks!
  2. Jumla

    Jumla Member

    Oh. Nevermind. Had to dig through the SQL database, but I sure as hell found it.
  3. Jumla

    Jumla Member

    $user['username'] :)

Share This Page