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

Add-on Icon Indicating "Official" Response?

Discussion in 'Resource and Add-on Requests' started by taylor_smith, Jan 20, 2016.

  1. taylor_smith

    taylor_smith Well-Known Member

    I'm not sure what language to use when searching for this add-on. Is anyone aware of an add-on that will add an icon/annotation when a certain user or usergroup has responded to a thread? Possible context: when a support thread receives an "official" reply from tech support staff.

    Thanks for the insight.
  2. Nobita.Kun

    Nobita.Kun Well-Known Member

    https://xenforo.com/community/resources/post-as-staff.3549/ Maybe help :)
    taylor_smith likes this.
  3. James

    James Well-Known Member

  4. taylor_smith

    taylor_smith Well-Known Member

    Thank you both, @Nobita.Kun and @James, but I mean an icon in the thread list. Sort like the "lock" or "sticky" icons.
  5. Chris D

    Chris D XenForo Developer Staff Member

    I'm not aware of any existing add-ons that can do exactly this.

    Could you use thread prefixes though? It would require some extra steps for the staff member to take, of course, but it's generally not too dissimilar to how we handle bug reports and suggestions.
    taylor_smith likes this.
  6. Russ

    Russ Well-Known Member

    I haven't really tested this out... but it appears to be working.

    Right below:
            <div class="iconKey">
               <xen:hook name="thread_list_item_icon_key" params="{xen:array 'thread={$thread}'}">
    Add something like the following(I'm using font awesome)
    <xen:if is="{$thread.is_staff}"><span class="hasStaff" title="Staff Post"><i class="fa fa-gavel fa-fw"></i></span></xen:if>

    Of course you could place your own image there.
    taylor_smith likes this.
  7. Chris D

    Chris D XenForo Developer Staff Member

    That indicates that a staff member has created the thread.

    The OP is after an indicator that a staff member has replied to the thread.
    taylor_smith and Russ like this.
  8. taylor_smith

    taylor_smith Well-Known Member

    Unfortunately, in this case it's not staff--it's game developers who use a privately-owned forum. The implementation would be, if a developer has officially responded to a thread, then users would want to know.

    I suppose staff could edit the thread prefix manually; just wondering if there was an existing add-on that would automate. Sounds like not, but I'm grateful for the help!
  9. Russ

    Russ Well-Known Member

    Would help to actually read the thread wouldn't it :D
    Daniel Hood likes this.

Share This Page