As per title, I've implemented an Activity Log Handler and a Trending Content Handler for the content type
The Activity Log Handler is used to collect various stats for showcase items. One of the uses of that data, is by the Trending Content Handler.
The Trending Content Handler adds showcase items as part of the trending system, which is pretty basic right now as their is a Trending Content Widget Definition that allows you to create "Trending" widgets and one of the Widget Definition Options includes being able to set a specific content type aka sc_item to create Trending Items Widgets (and of course, the default is all content types mixed).
Here you can see a Showcase Item displaying in a Trending Content Widget (Display style: simple, which is designed for narrow displays like sidenav & sidebar).
![Selection_935.png Selection_935.png](https://xenaddons.com/data/attachments/9/9497-a50f36229387fda8470ca59a41827ecd.jpg?hash=pQ82IpOH_a)
Here you can see a Showcase Item in a Trending Content Widget using the Display type "Standard", which is a grid based layout type (shared by other uses like Featured Content and Article Threads).
![Selection_937.png Selection_937.png](https://xenaddons.com/data/attachments/9/9495-00d7536f549fa567658325d4b953a4b8.jpg?hash=ANdTb1SfpW)
Here you can see a Showcase Item in a Trending Content Widget using the Display type "Carousel", which like the above layout type, is shared by other use cases like Featured Content.
![Selection_936.png Selection_936.png](https://xenaddons.com/data/attachments/9/9496-8a18f96e2b546c0661ca6c2e84f6600a.jpg?hash=ihj5bitUbA)
Anyway, not going to explain the Trending Content Handler itself as you can read about that in the HYS Forum at XenForo.com
xenforo.com
sc_item
.The Activity Log Handler is used to collect various stats for showcase items. One of the uses of that data, is by the Trending Content Handler.
The Trending Content Handler adds showcase items as part of the trending system, which is pretty basic right now as their is a Trending Content Widget Definition that allows you to create "Trending" widgets and one of the Widget Definition Options includes being able to set a specific content type aka sc_item to create Trending Items Widgets (and of course, the default is all content types mixed).
Here you can see a Showcase Item displaying in a Trending Content Widget (Display style: simple, which is designed for narrow displays like sidenav & sidebar).
![Selection_935.png Selection_935.png](https://xenaddons.com/data/attachments/9/9497-a50f36229387fda8470ca59a41827ecd.jpg?hash=pQ82IpOH_a)
Here you can see a Showcase Item in a Trending Content Widget using the Display type "Standard", which is a grid based layout type (shared by other uses like Featured Content and Article Threads).
![Selection_937.png Selection_937.png](https://xenaddons.com/data/attachments/9/9495-00d7536f549fa567658325d4b953a4b8.jpg?hash=ANdTb1SfpW)
Here you can see a Showcase Item in a Trending Content Widget using the Display type "Carousel", which like the above layout type, is shared by other use cases like Featured Content.
![Selection_936.png Selection_936.png](https://xenaddons.com/data/attachments/9/9496-8a18f96e2b546c0661ca6c2e84f6600a.jpg?hash=ihj5bitUbA)
Anyway, not going to explain the Trending Content Handler itself as you can read about that in the HYS Forum at XenForo.com
![xenforo.com](https://xenforo.com/community/styles/default/xenforo/xenforo-logo-og.png)
XF 2.3 - Trending content
Since the initial release of XenForo 2.3, there has been a new system working away behind the scenes. One that some developers might have spotted but one that we hadn't actually talked about yet, because it wasn't relevant. Until now! Let's talk about this somewhat underlying system first...
![xenforo.com](https://xenforo.com/community/styles/default/xenforo/xenforo-favicon.png)
Upvote
0