[EAE Add-ons] Thread preview widget

XF2 Addons [EAE Add-ons] Thread preview widget 1.3
Adds a widget that will display new threads, or threads with new posts, within admin selected Pages

Compatible versions
2.2
This add-on adds a widget that will display new threads, or threads with new posts, within an admin selected Page node. The list of threads are displayed in article format and can be set to be displayed above the Page node content, or below. The Page node selected should have the option Advanced mode checked.

This add-on inserts two new widget positions: [EAE] Page view: Above content, and [EAE] Page view: Below content, which can be utilised by other widgets.

Widget options:
  • Maximum entries: The maximum number of threads to display. Defaulted to 9. If you change this value then it should be in increments of four from the default value, i.e. 5, 13, 17, etc
  • Display style: is set to Full, and cannot be changed as it is required to list the threads in article preview format
  • Display on this Page only: The Page node URL portion set in the node options. If left blank, this widget will be displayed within all Page nodes. It is defaulted to page-url-portion on install so the widget does not display any threads until you have set the widget options
  • Forum limit: Select the forums you want this widget to pull threads from. The forums selected should have only threads that are viewable by all
  • Display: Latest posts or Latest threads. Defaulted to Latest posts on install (threads with most recent replies are listed first)
  • Order by: Last post date or Thread date (thread creation date). Defaulted to Last post date on install. If Last post date is selected a force index is added to the query
  • Date limit: Defaulted to none on install. If you have a large forum it is recommended to select a number of days that threads have been created in, or the last reply was made within

Permissions: none, as this widget was designed to be used as a landing page, or as a node that lists recent threads/recently replied to threads in article preview format viewable to all.

Notes:
  • if the first post of a thread contains images, the first image found is used as a cover
  • if you choose to display the threads latest post, the upper portion of the preview displays the relevant thread info, and the bottom of the post contains the posters info
  • if you give the widget a title, the title is displayed above the thread preview list in a filter type block format
Phrases: public phrases are prefixed with eae_tpvwg_

Demo:

For a demo of latest posts preview with a widget title: eaeaddons.com and click the the Page node Thread preview widget example

Credit:

Thanks to @Lee for suggesting/testing and giving feedback for this add-on.

Widget options screen shot:
widget_options.png
  • Like (+1)
Reactions: Golden Cube
Disable VPN/Proxy for a Better Experience
FateKid
Author FateKid
Level
11
5,910 pts
1.3 Version
1 Downloads
204 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[EAE Add-ons] Thread preview widget provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom