XF 1.4 {name} on profile page

RichardKYA

Well-known member
Hola,

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 :)
 
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.
 
Top Bottom