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

XF 1.2 Displaying username on account upgrades description

Discussion in 'Styling and Customization Questions' started by ibab, Jan 15, 2014.

  1. ibab

    ibab Member


    I have created few account upgrades on my forum that include styling options for their usernames.
    In order to demonstrate for the user how they would look like, I would like to be able to display their username in the description with these styles.

    For example, I have <span class="premiumGlow">Username</span> in the user upgrade description where the Username should be replaced with their username if they're logged in.

    I tried adding {$user.username}, but that didn't work. Instead it just displayed that string.
  2. Jeremy

    Jeremy Well-Known Member

    You'll need an add-on to insert data into the descriptions.

Share This Page