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

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

#1
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


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
 
#3
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)

 
Last edited: