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

How to link to any logged in users profile page


Well-known member
For a page in the help section, how can I link directly to the profile page of the user who is viewing the page?

I don't think there's an "/account/profile" link or something similar as the 'Your Profile Page' link has the username in it.


Well-known member
Just for other people reference, if you're using this on the help pages you need to using a xen if and else conditional otherwise guests are greeted with

This was posted by a guest who does not have a profile to view.

I ended up using

            <xen:if is="{$visitor.user_id}">
                <a href="{xen:link members, $visitor}">profile page</a>
            <xen:else />
                profile page