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

"Current Visitors" for logged in members only.

Vincent

Well-known member
#1
VincentU submitted a new resource:

"Current Visitors" for logged in members only. (version 1.0) - Shows the "Current Visitors" page to logged in, registered members only.

Hello y'all.

This modification makes sure that visitors can't see your "Current Visitors" list.



Go to the template called online_list

Search
Code:
<ol class="section memberList">
Add in front of it:
Code:
<xen:if is="{$visitor.user_id}">
----------

Search
Code:
</ol>
Add after:
Code:
<xen:else />
{xen:phrase must_be_registered}
</xen:if>
Read more about this resource...