Thread starter indicator feature for XB?

Discussion in 'Resolved Suggestions' started by kontrabass, Aug 17, 2015.

  1. Steve

    Steve Designer

    That isn't really needed now, the same can be done without a template edit as we've included a thread starter class.
     
    Bionic Rooster likes this.
  2. kontrabass

    kontrabass Customer

    Does anyone know how to put an "alt tag" on the FA icon? Such that when user hovers over the icon it'd say "Thread Starter" ?
     
  3. Steve

    Steve Designer

    You could do it with a CSS tooltip maybe, let me see if I can find the code in a bit. Otherwise you'll need to edit the template and add the icon and tooltip class.
     
  4. kontrabass

    kontrabass Customer

    Edit: Nevermind, the above option doesn't work too well: if anyone "likes" the original post, all the like usernames in the like bar have the starter icon on them as well. Will keep trying for a better method.
     
  5. Russ

    Russ Designer

    Add an extra class specific for the user block:

    Code:
    Copy Source
    .threadStarter .messageUserBlock .username:before {
      font-family: FontAwesome;
      content: "\f139  ";
      }
    
     
  6. kontrabass

    kontrabass Customer

    Thanks Russ, that works great. One last issue with this, is that every username in every message of a conversation has the threadstarter icon...
     
  7. Russ

    Russ Designer

    Interesting.. I'll need to look at the conditional, but for now CSS:
    Code:
    Copy Source
    .thread_view .threadStarter .messageUserBlock .username:before {
      font-family: FontAwesome;
      content: "\f139  ";
      }
    
    That should be specific enough :)
     
  8. kontrabass

    kontrabass Customer

    Works great, thanks Russ!
     

Let's work together on your next project

Contact us today to talk about how we can help you

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.