Help with conditional

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • piratarg
    New Member
    • Mar 2009
    • 13
    • 4.2.x

    Help with conditional

    Hi, I use a plugin to see the latest issues placing "$stats_latest_threads" in the template "forumhome" and would like to create two blocks instead of one, but I do not know what conditional use. Can you help please?
    Example:

    Block 1:
    Code:
    <show latest topics of the forum ID 1 and 2><ul>$stats_latest_threads</ul></if>
    Block 2:
    Code:
    <show latest topics of the forum ID 3 and 4><ul>$stats_latest_threads</ul></if>
    What conticional should I use?

    Very thanks and sorry my english!
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    The place to ask for help in modifying your code/templates is vbulletin.org, the modification site.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment

    • piratarg
      New Member
      • Mar 2009
      • 13
      • 4.2.x

      #3
      Ok, thanks. My query here again: http://www.vbulletin.org/forum/showthread.php?t=272568

      Regards

      Comment

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