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

Brogan's FAQ

Ryan Kent

Well-known member
#1
...has a LOT of new information and I found it to be quite helpful. http://xenforo.com/community/threads/frequently-asked-questions.5183/

I did have a couple fast follow up questions.

1. How do I comment in a template to add notes or remove existing code?
<xen:comment>This content is commented out</xen:comment>

What is the difference between using <!-- --> and the <xen:comment> </xen:comment> ?

2. One question I didn't see in there but would like to ask....how can I change the admin time out for the ACP? I hate having to re-log in, and it doesn't really offer any security since my browser has my password stored in it.
 

Brogan

XenForo moderator
Staff member
#2
Uisng xen:comment will prevent the content from being output altogether, so it won't even show up when viewing the page source.

You would probably have to change the session timer in one of the php files to increase the admin login duration.

BTW, I've got a big updated planned for the syntax and conditionals section - just need to find the time to do it.