In this release we have implemented two new options. One of options allows to enable/disable the product fully in any forums. If disabled, no thumbnails will be used and XenForo default behavior will be kept. Another option allows disabling thread thumbnails for all sticky threads across the board.
The new version is available for all licensed customers at
https://customers.addonslab.com/marketplace.php/my-services/
Feel free to suggest further enhancements for the add-on or...
Avatars/thread thumbnails are square but most photos are not and this addon does not maintatin aspect ratio in thumbnails. May be the addon could try to keep the aspect ratio and just center the image without squeezing it.
So the thumbnail should be displayed like this:
View attachment 175118
instead of this:
View attachment 175119
@AddonsLab hi bro i see in FAQ that you put an option to resize the thumbnail and i do it!
View attachment 175127
if you see i put the thumbnails like covers of games... and my question is:
is any way to put the stick threads normal without resizing and without thumbnail?
any display: none or something like that?
i want to display like this only the stick threads, respeting the thumbnails of the normal threads:
View attachment 175128
div[data-type=thread] .structItemContainer-group--sticky .structItem-cell.structItem-cell--icon {
width: 90px;
}
div[data-type=thread] .structItemContainer-group--sticky .structItem-iconContainer .threadThumbnailWrapper .avatar {
width: 74px;
height: 100px;
}
All sticky threads have a class "structItemContainer-group--sticky". Using this class in your CSS you can apply the style to sticky thread thumbnails only. The rules in FAQ will become in this case:
CSS:div[data-type=thread] .structItemContainer-group--sticky .structItem-cell.structItem-cell--icon { width: 90px; } div[data-type=thread] .structItemContainer-group--sticky .structItem-iconContainer .threadThumbnailWrapper .avatar { width: 74px; height: 100px; }
Thank you!
WOW NOW IS PERFECT! LOOK IT!
View attachment 175164
THANKS FOR YOUR HELP AND FOR YOUR FANTASTIC ADDON![]()
<xf:if is="in_array({$forum.node_id}, [135,129])">
<style>
div[data-type=thread] .structItem-cell.structItem-cell--icon {
width: 105px;
}
div[data-type=thread] .structItem-iconContainer .threadThumbnailWrapper .avatar {
width: 89px;
height: 130px;
}
div[data-type=thread] .structItemContainer-group--sticky .structItem-cell.structItem-cell--icon {
display:none;
}
div[data-type=thread] .structItemContainer-group--sticky .structItem-iconContainer .threadThumbnailWrapper .avatar {
width: 36px;
height: 36px;
}
.js-prefixContainer{
margin-left:-53px;
}
.js-quickThreadFields{
margin-left:-53px;
}
.avatar::after{
border:none;
}
.avatar{
box-shadow:none;
}
</style>
</xf:if>
<xf:ad position="forum_view_above_thread_list" arg-forum="{$forum}" />
In this release we have fixed an issue in the product causing thread thumbnails to be squeezed if they are not square.
Now the images will keep their proportions and will be centered horizontally and vertically.
The new version is available for all licensed customers at
https://customers.addonslab.com/marketplace.php/my-services/
Feel free to suggest further enhancements for the add-on or report any issues you have and they will be addressed asap.
Please consider posting a...
Horizontal images are still not centered properly. This time it also broke the position of my no thumbnail image. It used to be centered. Now there is extra space at the top.
View attachment 175859
We use essential cookies to make this site work, and optional cookies to enhance your experience.