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

Xenforo for DUMMIES

Discussion in 'XenForo Development Discussions' started by swatme, Mar 31, 2011.

  1. swatme

    swatme Well-Known Member


    i want to learn about xenforo modding but sad to say theres still no book

    so my question is,
    i want to use the IF CONDITIONALS
    <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0">

    <xen:if is="{$visitor.user_id}==x">
    This content will show to user x only

    <xen:if is="{$post.position} == 0">
    This content will show after the first post

    The red text above, what do you call them? variables?
    if i call them variables, how and where will i know
    the variable of that specific item.

    let say, thread posts. After 5 threads, i want to add text "hello"

    <xen:if is="{$threadpostsometing.position} == 5">

    How will i know the variable name of the thread post?

    thanks for any help
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Moved from development tutorials to questions.
  3. borbole

    borbole Well-Known Member

Share This Page