Announcement

Collapse
No announcement yet.

A newbie question about <IF> tags

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • A newbie question about <IF> tags

    Hello
    There is a lot of <IF> tags in vbulletin templates.
    I need to know what script languages they are exactly ? are they a Template Engine ? and whatever they are is there a similar to (CASE) command like them ?

    Thanks

  • #2
    IF conditions are parse in the vBulletin template parser.

    They are used with the following syntax:
    Code:
    <if condition="[I]condition[/I]">
    code to output if condition is true
    <else />
    code to output if condition is false
    </if>
    The else is optional.

    See this page of the manual for more information: http://www.vbulletin.com/docs/html/t...e_conditionals
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      Thank you for your help ...

      Comment


      • #4
        They are used to hide information from guests that are only for registered members. Or to display information to only certain usergroups.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X