XF 1.1 How to restrict guests from accessing the Current Visitors page?

Ok, I have opened the "online_list" template now. Can you please tell me what I should add in there since I am not familiar with xenforo coding yet?

Edit: Ninja'd by borbole. Thanks, that's what I was looking for :)
 
That would involve finding template "online_list"

And at the top add:

Code:
<xen:if is="{$visitor.user_id}">

And at the very bottom add

Code:
</xen:if>
 
Top Bottom