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>
 
Top