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

Getting user's id to use in template

Discussion in 'XenForo Development Discussions' started by Dadparvar, Apr 15, 2016.

  1. Dadparvar

    Dadparvar Well-Known Member


    I added a tab to profile page. So, each user will get it in his/her profile.

    Now in the content inside of that tab, I need use that profile's owner's user id.

    What should I use in template to get it?

    Thanks in advance
  2. Chris D

    Chris D XenForo Developer Staff Member

    {$user.user_id} should work
    Dadparvar likes this.
  3. le-melvin

    le-melvin Member


Share This Page