1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Highlight closed conversations

Discussion in 'Styling and Customization Questions' started by Janmaat, Mar 21, 2014.

  1. Janmaat

    Janmaat Active Member

    Is there a way/possibility to highlight conversations that have been closed? Maybe with a little lock icon or something?
     
  2. Amaury

    Amaury Well-Known Member

    Conversations can't be closed...
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Actually, conversations can be locked...

    upload_2014-3-22_0-25-42.png
     
    Amaury likes this.
  4. Amaury

    Amaury Well-Known Member

    *facepalm*

    Thanks, Brogan.
     
  5. Steve F

    Steve F Well-Known Member

    It requires a template edit but doable.

    Template conversation_list_item

    Find:
    Code:
    <xen:if is="{$conversation.is_starred}"><a href="{xen:link conversations/starred}"><span class="starred" title="{xen:phrase starred}">{xen:phrase starred}</span></a></xen:if>
    Add below:
    Code:
    <xen:if is="!{$conversation.conversation_open}"><span class="locked" title="{xen:phrase locked}">{xen:phrase locked}</span></xen:if>
     
    Janmaat likes this.
  6. Janmaat

    Janmaat Active Member

    Thanks a lot for your help :)

    I'll try this :)
     
  7. Steve F

    Steve F Well-Known Member

    It looks like this if you are wondering

    upload_2014-3-21_22-40-9.png
     
  8. Janmaat

    Janmaat Active Member

    It works perfect and looks awesome :)

    Thanks again @Steve F
     
    Steve F likes this.

Share This Page