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


  1. K

    XF 2.0 Possible 'for loop' in templates.xml ?

    How to use 'for loop' in Xenforo 2.0 language (templates.xml) For example pseudocode: // create $n and $i local variables, do action while $i < 100 <xf:for var="$n = 0; $i = 0" while="$i < 100" do="$i++"> // set $n as $i % 10 <xf:set var="$n" value="$i % 10" /> //... do something with $n ($i...
  2. eTiKeT™

    Conditional Statements for XenForo 2

    Conditional Statements for XenForo 2 The conditional statements can be expanded by using AND, OR conditional statements operators and using xf:if, xf:else, xf:elseif. If there are any conditional statements that you want to add, please add it as a message and the article will be updated. 1...