Resource icon

[J] Thread Preview 1.7.0

No permission to download
  • Author JustinHawk
  • Creation date
  • Featured
    • You can download only 0 resources in 24 hours
    • You need more than 0 posts to download the resource
Added Style properties to change icon easily!

By default, this add-on use font awesome icons in case your theme is using other icons like material icon, You will need to update the Style properties → Thread Preview.

You can use this for material icon CSS in style properties for material icon. In case you want to use different material icon you can get content values from here

Default Icon CSS.

CSS:
content:"\F0047";
font: normal normal normal 18px/1 "Material Design Icons";
font-style: normal;
font-weight: 400;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: inline-block;
width: 0.58em;

Active Icon CSS.

CSS:
content:"\F0047";
font: normal normal normal 18px/1 "Material Design Icons";
font-style: normal;
font-weight: 400;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: inline-block;
width: 0.58em;

Attachments

  • Material icon.png
    Material icon.png
    125 KB · Views: 6
  • fontawesome.png
    fontawesome.png
    121.8 KB · Views: 6
Fixed issues with icon not being displayed in some themes.
  • Like
Reactions: Twisted_Pepper
Added
  1. New option for button position : Left or right
  2. New snippet type none so to display full post without text trimming.
Consider making a donation for support :)
  • Like
Reactions: abs0lut3
Added options
  1. Forum in which you want to enable the thread preview.
  2. Added option to choose what you types of post you want to display to users.
  3. Added option snippet type.
updated template to show reactions in bar in preview

1589784127377.png
updated to work with latest version of xenforo
template modifications now use regex
Now also show the last unread post between first and last post from thread
last unread post.png
Added tooltip on the icon
tooltip.png
Top