Announcement

Collapse
No announcement yet.

Conditional for a deleted thread

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

  • Techguy1
    replied
    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.

    Leave a comment:


  • harmor
    replied
    If that doesn't work try

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

    Leave a comment:


  • Techguy1
    replied
    Thanks, will give it a try.

    Leave a comment:


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

    Leave a comment:


  • Techguy1
    started a topic Conditional for a deleted thread

    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.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X