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

XF 1.4 {name} on profile page

Discussion in 'XenForo Questions and Support' started by RichardKYA, Apr 25, 2015.

  1. RichardKYA

    RichardKYA Well-Known Member


    I've noticed that on the profile page, if a member has no recent activity, it will display there name using {name} in the phrase, but if they have no posts it says "This member" instead of their name. I've tried changing the phrases, but {name} doesn't work.

    Is there a way to get it to call their name? It doesn't seem right to me having their name come up on some panes, then "This member" on others.

    Is there a certain way to use {name} in phrases and other places?

    Thank you :)
  2. Mike

    Mike XenForo Developer Staff Member

    Generally speaking, you can only using placeholders in phrases when they were there already. The data has to be injected into the phrase.

    To add a variable to a phrase, you'll need to modify the templates directly.

Share This Page