Announcement

Collapse
No announcement yet.

Conditionals

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

  • speedway
    replied
    Thanks - Got it.....

    Leave a comment:


  • UHN_ED
    replied
    There is a template mod for that over at www.vbulletintemplates.com

    Leave a comment:


  • speedway
    replied
    UHN_ED

    Could you share how you separated each post in postbit? I have been looking but the old way of doing things in VB2 doesn't work!

    Cheers

    Leave a comment:


  • UHN_ED
    replied
    It works how I have it, but I will remember that if I have any problems.

    Thanks.

    Leave a comment:


  • Freddie Bingham
    replied
    Yes use:

    <if condition="$post['postcount'] > 1">

    Leave a comment:


  • UHN_ED
    replied
    I got it, it was $post[postcount]

    Leave a comment:


  • UHN_ED
    replied
    Basically I seperated posts in postbit, and I want an image to appear over each post unless it is the first post in a thread, since the first post already has an image over it.

    I tried:
    PHP Code:
     <if condition="$post[postid] != 1">
    <
    tr valign="top">
    <
    td class="tcat" colspan="10"><span>&nbsp;</span></td>
    </
    tr>
    </if> 
    I am sure that $post[postid] is the post id that is shown over ouse over, so I am looking for if post is the first post in the thread instead. I am also not sure if != is the right ting to use, I just assumed so.

    You can see my intention here: http://www.grabageek.com/forums/show...stid=11#post11

    Thank you.

    Leave a comment:


  • UHN_ED
    started a topic Conditionals

    Conditionals

    I am having a problem making an if statement that will display a certain thing if the post is not the first one in the thread.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X