XF 1.2 How to use user details in the templates

Enguerran A

Well-known member
Hello there,

I would like to use some personnal details in my custom templates, for example add the Youtube Channel, the Twitter account (why not th las tweets of everyone) etc... but I don't know which code I have to enter :/ I know how to add options but not how to use it and it's quite frustrating.

Is there a special syntax to add for this kind of usage?


XenForo moderator
Staff member
Perhaps if you post a mockup of what it is you are trying to do, we may be able to help.

It's not clear at the moment.

Enguerran A

Well-known member
The point is that I'm on a mac at the moment and I'm not accustomed to it ^^' I don't even know how to find something to modify an image but changing my title will make the deal (I hope)

I want to include some details in this header, add something social to the forum :)


Well-known member
Edit the Twitter custom user field, mark it as "viewable in message info" and then edit your Message Property style properties to show custom fields.

Enguerran A

Well-known member
I'll try this way but I was thinking of something giving more control to where I want this twitter account to be. Is there a way to create something like that <xen:twitteruser user="$user" twitter="twitter" />.