Another 'add a banner' question...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PcosKat
    Senior Member
    • May 2002
    • 640
    • 3.7.x

    Another 'add a banner' question...

    I know how to add a banner after the first post in a thread, and after the last post in a thread...

    What code do I need to use to have a banner:

    ...appear after the first post, AND last post - only if there are at least 2 posts in a thread

    ETA
    One more question...How do I add a banner (leader board) so that it appears after all STICKIES in each forum?
    Last edited by PcosKat; Sun 23 Apr '06, 7:54am.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Originally posted by PcosKat
    ...appear after the first post, AND last post - only if there are at least 2 posts in a thread
    Use this:

    Code:
    [color=blue]<if condition="($post[postcount] % $vboptions[maxposts] == 1 OR $post[islastshown]) AND $GLOBALS[threadinfo][replycount] >= 2">[/color]
    That should work.

    Originally posted by PcosKat
    One more question...How do I add a banner (leader board) so that it appears after all STICKIES in each forum?
    See this thread.

    Comment

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