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

XF 1.5 Icons instead of Avatars on Alerts?

Discussion in 'Styling and Customization Questions' started by mauzao9, Aug 1, 2015.

  1. mauzao9

    mauzao9 Well-Known Member


    That is what i wanted to achieve on the alert system. I find it confusing, specially when you have many alerts to read when you pop on the forum in question, it's hard to distinguish likes / replies / quotes, etc... and get to the ones you want to click on, as replies/quotes.

    So i wondered, why are the avatars there so important? Why not replace them with fontawesome Icons, showing something that makes distinguish the type of alert much easier?

    And here i am, asking if someone knows a way to achieve this. If this isn't something that simple, you consider a mod request maybe?

    Skylined and Sheldon like this.
  2. Russ

    Russ Well-Known Member

    I really like this idea actually. If there was a way to somehow generate a class to the list item depending on what type of alert it is, it would make it really simple to do with FA.


    (just don't know how to do the hard part :D )
    Sheldon likes this.
  3. Sheldon

    Sheldon Well-Known Member

    Couldn't you assign a class to the popup alert?

    {xen:phrase x_quoted_your_post_in_thread_y,
        'name={xen:helper username, $user, 'subject'}',
        'title=<a href="{xen:link posts, $content}" class="PopupItemLink">{xen:helper threadPrefix, $content}{$content.title}</a>'}
    That is being quoted, the alert that pops up... the template. Just add "alertQuotedPost" after -or before- PopupItemLink, right?

    Am I right in thinking this?
  4. Sheldon

    Sheldon Well-Known Member

    Nope... not those, wrong area... meh.

  5. mauzao9

    mauzao9 Well-Known Member

    I hope there is a way, this is such one useful tweak :D
    Sheldon likes this.
  6. Sheldon

    Sheldon Well-Known Member

    With a huge thanks to @Liam W for getting me started, I've progressed to this:


    mauzao9 and Liam W like this.

Share This Page