Announcement

Collapse
No announcement yet.

Conditional: If 2nd Post Then...

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

  • Freesteyelz
    replied
    NM...

    Jake Bunce posted it in a thread here. It's the fourth code down.


    For anyone who wants to know the code would be:

    Code:
    <if condition="$post['islastshown'] AND $GLOBALS[threadinfo][replycount] >= 1">
    </if>
    Last edited by Freesteyelz; Fri 14th Mar '08, 3:19pm.

    Leave a comment:


  • Freesteyelz
    started a topic Conditional: If 2nd Post Then...

    Conditional: If 2nd Post Then...

    The conditional below is for the first post only in the first page:

    Code:
    <if condition="$post[postcount] == 1">
    </if>
    The conditional below is for the last post on every page:

    Code:
    <if condition="$post['islastshown']">
    </if>
    What would be the conditional if I want the content to appear only if:

    1. It is the last post on a page.
    2. At least a second post has been made in the thread.

    Code:
    <if condition="$post['islastshown'] AND what is the code here? ">
    </if>

Related Topics

Collapse

Working...
X