Announcement

Collapse
No announcement yet.

Conditional for a deleted thread

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

  • Conditional for a deleted thread

    Could someone point me to the conditional which can be used to display that the thread has been soft deleted? Same for a single post (to be used in showpost.php)

    We had moderators confused when they had a bookmarked thread which didn't display any reply buttons, etc.

    Perhaps thread management options should also be there.
    HFT Online - Professional computer help ... with a personal touch

  • #2
    Try
    <if condition="$post[visible] == 2">stuff</if>
    I think it's "2".

    Comment


    • #3
      Thanks, will give it a try.
      HFT Online - Professional computer help ... with a personal touch

      Comment


      • #4
        If that doesn't work try

        <if condition="$thread[visible] == 2">stuff</if>

        Comment


        • #5
          All good now, thanks. PLayed around with it a bit. Basically use $post[visible] for posts, and $thread[visible] for threads. Can't figure out how to check if the post is within a deleted thread, but it's not crucial.
          HFT Online - Professional computer help ... with a personal touch

          Comment

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