Resource icon

"Current Visitors" for logged in members only.

Vincent

Well-known member
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.

current_visitors-png.8261


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