XF 1.5 Is there a way to hide the default login form from logged out users?

OK So the style that I'm using has this nice welcome message that I have customized to have the steam login button for steam integration. But I have found that it's still easy for a user to make there way to an unauthorized area on the site, giving them the "You must be logged in to do that" error, and the login form

bf29c587901e8b5731fab5574b04bb26.png

Basically what I want to know is if there is a place I can put a Xen:if statement to hide this form to users that are logged out.

Thanks
 
Yep that was where I needed to go, thanks! I changed the code of the login helper form there to this.

Code:
<xen:if is="!{$visitor.user_id}">
<center> <font size="5"> Where do you think you are going??? Sign in with steam first! </font> </center>
</xen:if>

Looks Good (y)

0809e2559dcad201405d6e637610f50b.png
 
Last edited:
Top Bottom