Is it possible to set preview lengths for the responsive options as I've found they're a little too long when looking at them on a mobile.
New features in version 3.4.0
After upgrading, please review the options.
- Added the possibility to add different text preview lengths for different Responsive Design Widths.
- Added the possibility to specify the maximum number of images to preview for different Responsive Design Widths.
Fixed in version 3.4.1
- The discussion preview text wasn't always properly truncated. The function for truncating text has now been replaced by a new one that hopefully will be more precise and accurate.
Hello Farang.
I want to show in forum_view some custom html that I'm adding in some posts
like: [parsehtml]<div>my_code</div>[/parsehtml]
There are some way to show that custom html there in the previews?
Thanks.
Hello
Any chance to get it running with XF 1.4?
Thanks! I'm very happy to hear that ;-)Hey farang, thanks.
Just set it up, looks running like a charm.
Thinking about purchasing this.
Question. The previewed images are from attachments and linked images from within the thread?
New features in version 3.5.0
This is an advanced and powerful function. With Post content replacement patterns and replacements you can define search and replace rules for the discussion preview text. You may for example remove a BBCode tag and its content completely from the preview text. You may also replace it with some text string of your own choice.
- Post content replacement patterns and replacements
View attachment 134624
hi @farang , is it possible to add a feature to hide bbcode contents?
i use the sonnb album bbcode in many posts, and now it always shows the album ids in the preview
[album]12345[/album] goes 12345 for example.
@farang I've noticed your addon increase (a lot) the number of DB queries, timing and memory in forum_view:
forum_list ➘
View attachment 134702
forum_view➘ (with your addon installed)
View attachment 134703
Is it possible reduce this huge impact in the performance?
$image = $this->getModelFromCache('XenForo_Model_Attachment')->prepareAttachment($image);
$image['canView'] = $this->getModelFromCache('XenForo_Model_Attachment')->canViewAttachment($image);
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.