Theme editor

Add-Ons [XTR] User Posts in Thread 1.0.3

[XTR] User Posts in Thread
This add-on will add the ability to display all posts posted by a specific user in a thread.

Pricing information

6 Months
$15.00
Renewal cost
$11.25
1 Year
$25.00
Renewal cost
$18.75

XenTR Add-on Branding Removal

Lifetime
$20.00

Overview Feature list Copyright info Releases (4)

Offical

XenTR Mod
Joined
Dec 14, 2024
Messages
223
Solutions
3
Reaction score
58
Points
28
1/3
Thread owner
A new update is available for [XTR] User Posts in Thread by Offical.


[XTR] User Posts in Thread 1.0.3

Update highlights​

This maintenance release addresses a critical bug that caused server errors when filtering posts by a user who has no posts in the thread.
  • Structured Data TypeError Fix: When applying the user post filter (starter_id parameter) to view posts from a specific user, if that user had no posts in the thread, a TypeError was thrown: "Argument #1 ($firstDisplayedPost) must be of type XF\Entity\Post, null given". This occurred because the structured data (JSON-LD) generation expected a valid Post entity, but received null when no posts matched the filter. The fix ensures that when the filtered first post is null, the thread's actual first post is used for structured data generation, or the structured data block is skipped entirely if no valid post is available.


Complete Change Log​

  • Fixed: Resolved a critical TypeError that occurred when using the user post filter (starter_id) on threads where the specified user had no posts. The error "Argument #1 ($firstDisplayedPost) must be of type XF\Entity\Post, null given" in getLdStructuredData() has been fixed.


Read more about this product...
 
Quick Jump

Product Information

XenForo 2.2.x PHP 8.0
Seller
Offical
Release date
Last update
Views
27
Customer rating
0.00 star(s) 0 ratings

Pricing information

6 Months
$15.00
Renewal cost
$11.25
1 Year
$25.00
Renewal cost
$18.75

XenTR Add-on Branding Removal

Lifetime
$20.00
Back
Top