Announcement

Collapse
No announcement yet.

Right conditional?

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

  • [Forum] Right conditional?

    I´ve never seen this conditional.

    Could anyone tell me if is right or not and explain me how it works?

    Code:
    <vb:if condition="in_array($GLOBALS[forumid], array(18)) AND !$bbuserinfo[userid]">
    Userid should be replaced by the id?
    vBulletin Services I offer: www.Todo10.com
    Technical vB/Server/Hosting support Service also!

  • #2
    It checks to see if the current forum matches the forum id 18 and that the user is not a guest.

    Comment


    • #3
      Thank you Zachery, and this one?

      <vb:literal>
      vBulletin Services I offer: www.Todo10.com
      Technical vB/Server/Hosting support Service also!

      Comment


      • #4
        It tells the template parser to ignore the code inside of those tags and just treat it as raw html. So if you had some javascript that had syntax that matches our template parser, you can break the template parser. So when you use literal it tells the template parser to leave it alone.

        Comment

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