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

XF 1.4 xen:link to link to a profile

Mike Creuzer

Well-known member
#3
Perfect thanks buddy! I searched through the templates, its not done because you generally use xen:user I think, but that wasn't going to work for me.
 

RobinHood

Well-known member
#4
It would typically be something like {xen:link members, $user}

But it depends where and how you are trying to use it.
Would something like this work in the welcome conversation message?

I'd like to use a generic link that will always link to the new users profile so they can check it out. Would the following work?

Code:
[URL='{xen:link members, $user}']profile[/url]
 

Chris D

XenForo developer
Staff member
#5
Nope. xen:link only works inside templates.

There are some placeholders that will work in the welcome conversation.

Code:
[url="http://<yourboardurl>/index.php?members/{id}"]profile[/url]
{id} gets replaced with the user's ID.