Announcement

Collapse
No announcement yet.

Picking Alternate Posts With A Conditional

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

  • [Forum] Picking Alternate Posts With A Conditional

    I'm trying to pick out ever alternating post with a conditional. I recall successfully doing this with

    Code:
    <vb:if condition="$post['postcount'] % 2 == 0">
    on 4.0.3 or the likes.

    However with 4.1.2 it doesn't seem to work. Or I just cant remember the correct coding. Could anyone please shed some light?

    A typical usage would be to have alternating postbit colours.

    Thank You.

  • #2
    This is something you should post over on 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


    • #3
      I did. Didnt realize I should've gone solely there. Thanks Lynne.

      Comment

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