[Template Modification] "Current Visitors" for Logged In Members Only

Status
Not open for further replies.

Vincent_imported

Trusted Member
Joined
Dec 1, 2010
Messages
747
Hello y'all.

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

current_visitors.png

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>
 

Floris

I'm just me :) Hi.
Staff member
Joined
Jan 1, 2001
Messages
60,100
I am not sure why this isn't default ;) Thanks for the help!
 

TopShot

OMG Member
Joined
Jul 8, 2011
Messages
65
Where this message will going to appear - I did add the code but couldn't find the final thingy. . . .?
 
Status
Not open for further replies.
Top