Disable Report Post in Closed Threads?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beano33
    Member
    • Jun 2003
    • 89

    Disable Report Post in Closed Threads?

    Is there a conditional that can be used in the postbit template to hide the report post icon in closed threads? Thanks!
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    This condition should work:

    Code:
    <if condition="$GLOBALS[threadinfo][open] == 1">
    
    </if>
    That will only be true for open threads.

    Comment

    • beano33
      Member
      • Jun 2003
      • 89

      #3
      Thank you very much. I never would have figured that one out. It works great.

      Comment

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