Recent Posts 2 by Siropu

Recent Posts 2 by Siropu [Paid] 2.1.0

No permission to buy (€9.99)
Ok, this helps for the moment

Code:
{{ bb_code($thread.FirstPost.message,'post','$thread.FirstPost',{'attachments': $thread.FirstPost.attach_count ? $thread.FirstPost.Attachments : [],
    'viewAttachments': $thread.canViewAttachments(),
    'post': $thread.FirstPost
}) }}
 
Can I reduce the font size of the post preview text with CSS? The default font size is a little to large for me and makes the widget too big.

Thanks for any assistance.
 
Just want to say that I've been running this on a live 2.2 Beta 3 install and it works just fine without any errors thrown (yet?). (y)
 
XF 2 version uses a different layout. Basically, it uses the thread list layout, where in XF 1 was custom.
 
XF 2 version uses a different layout. Basically, it uses the thread list layout, where in XF 1 was custom.

I am trying to keep the widget as minimalist as possible, but I have all this white space that I would like to get rid of.

recent posts.webp

I would like to eliminate much of the white space and make it more compact in the sidebar.

Do you have any suggestions? Can anything be done?
 
Add in extra.less template:

CSS:
.siropuRecentPosts
{
    .structItem-cell--main
    {
        padding-bottom: 0 !important;
    }
    .structItem-cell--latest
    {
        padding-top: 0 !important;
    }
}
 
Hi @Siropu
Great widget, I was looking for post preview in sidebar for long time! Thanks.

But I have a problem, post in sidebar mode are very narrow. Any idea why? Funny enough it looks ok on the phone, and standard style on PC.
I think it does not like custom style for some reason (xenfocus).

1602851954260.png

I think this flex is creating an issue
1602853499354.webp




And would it possible to use it in format below (latest activity widget - customized) ?

Last poster Avatar, Thread title.
Post content below.


1602852201472.png
 
Last edited:
Thank you for this great addon. Is there anyway to have two instances of this widget side by side in one location (Forum overview:Top)?
 
Can you display threads from only x user? Sort of like a recent activity widget? That you can display on member profiles?
 
Back
Top Bottom