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

XF 1.5 My Resources easy link?

Brogan

XenForo moderator
Staff member
#2
Like this: https://xenforo.com/community/resources/authors/brogan.521/

In a template, you can use:
HTML:
<a href="{xen:link resources/authors, $visitor}">{xen:phrase your_resources}</a>

To check for a valid visitor and resource count, use:
HTML:
<xen:if is="{$visitor.user_id} && {$visitor.resource_count}">
    <a href="{xen:link resources/authors, $visitor}">{xen:phrase your_resources}</a>
</xen:if>