Black Friday 25% off Shop the sale
Forum growth

Forum Engagement Widgets: Show Active Threads in XF 2.2/2.3

Put active threads on your XenForo home page with widgets. Step-by-step Admin CP setup for 2.2 and 2.3, using two free add-ons, plus a simple before-and-after check.

D.C Style · 7 min read
Share on X
Illustration of a forum home page with a sidebar list of active threads and a small calendar.
On this page

Forum engagement widgets put active threads where visitors already look: your forum home page and sidebar. In XenForo 2.2 and 2.3 you add them at Admin CP > Appearance > Widgets. This guide shows the steps with two free add-ons and a simple check to see if it worked.

A widget is a block of content that XenForo places in a set spot on a page. A position is that spot, such as a sidebar. You pick the widget and the position. That is the whole idea.

The quick answer: put active threads where members already look

Most visitors land on the forum list or a thread. If they see a list of live discussions, they have something to click. That is a simple way to increase forum engagement without changing your rules or your style.

Here is the short version:

  1. Look at what your home page shows now.
  2. Add a New Threads widget.
  3. Choose which forums the widget draws from.
  4. Add a statistics block for extra variety.
  5. Pick positions, then check the result after a week.
Note:
The position names below come from community threads, mostly written for XenForo 2.1. They have not been confirmed for 2.2 or 2.3. Open Add widget on your own forum and check the position list before you rely on a name.

Check what your forum index shows today

Before you add anything, open your forum in a private window, logged out. This is what new visitors see. Then log in and look again.

Write down three things:

  • Does the home page show any recent threads outside the forum list?
  • Is there a sidebar on the forum list page?
  • Does the What's New page have a sidebar?

Staff said in an XF 2.1 thread that What's New has no default sidebar position. This has not been confirmed for 2.2 or 2.3, so check yours.

Also note a few numbers from your own stats: page views on the home page and replies per day. You will compare them later.

Add a New Threads widget with the Widgets add-on

XenForo's core widgets can list new posts. Community advice is to create a widget at Appearance > Widgets with the New Threads definition and set how many threads to show. That works, but it is user advice, not official documentation.

The free Widgets add-on gives you more control. It needs XenForo 2.2.0 or later and adds New Threads, Random Threads and Facebook Fanpage widgets. You can place its thread lists in a sidebar or above a forum.

Steps

  1. Install the add-on at Admin CP > Add-ons > Install/upgrade from archive.
  2. Go to Appearance > Widgets > Add widget.
  3. Choose [D.C Style] New Threads as the widget definition.
  4. Enter a widget key, a title and a position, for example Forum list: Sidebar.
  5. Choose the source forums and the maximum number of entries, then save.
Note:
Installing the add-on does not place these widgets for you. You add each one yourself, and each keeps its own source, filters and display settings.

The store has a longer walkthrough in the guide to setting up Widgets.

Choose sources and filters that suit your forum

This step matters most. A list full of old or off-topic threads gets ignored. A good list gets clicks.

Sources

The Widgets add-on lets a widget draw from the current forum, the current forum and its child nodes (the forums nested under it), selected forums or all forums. A home page widget usually suits all forums. A widget on one forum page suits that forum only.

Types, filters and order

New Threads can show latest threads, latest replies, latest unread or latest watched. You can filter by author, tags, sticky status and thread age. You can also sort by creation date, last-post date, reaction score, reply count, view count or promotion date.

TypeGood for
Latest threadsShowing new topics so people can welcome new posters
Latest repliesShowing where the talk is happening now
Latest unreadGiving logged-in members something new to read
Latest watchedBringing members back to threads they follow

For a quiet forum, latest replies often works well. It shows recent activity, not just new topics.

Version 1.1.6 added a Forum order choice. It puts eligible sticky threads first, then follows the saved sort of a single source forum. When you combine several forums, it uses stickies first and latest activity next.

Show it to the right visitors

Positions decide which pages show a widget. The display condition decides which visitors see it. Staff explain this in a thread on widget display conditions. For example, !$xf.visitor.user_id shows a widget only to guests. Guests are the people you most want to pull into a thread.

Show live activity with Forum Statistics

Thread lists show what is new. A statistics block can also show what is popular or still unanswered. The free Forum Statistics add-on does this in a tabbed block. It needs XenForo 2.2.0 or later.

For threads, it has tabs for latest threads, latest replied, random, most viewed, most replied, unanswered, trending and most reacted. The unanswered tab points members at threads that still need a first reply.

Each tab has its own cache duration, time period, item limit, forum scope and user group visibility. Data is served from XenForo's SimpleCache with configurable lifetimes, and tabs load lazily, so only the active tab fetches data when the page renders.

Setup

  1. Install the add-on.
  2. Go to Appearance > Widgets > Add widget and choose [D.C Style] Forum Statistics.
  3. Pick a position, such as Forum list: Above content, and a layout mode: tabbed, compact or grid.
  4. Open Admin CP > D.C Style - Forum Statistics > Manage tabs and set up your tabs.
  5. Under Users > User group permissions, grant Can view forum statistics to the groups that should see it.

Members need that permission to see the block, so do not skip step 5. More detail is in the Forum Statistics guide.

Pick positions for the home page and sidebar

Community threads name these positions. They come from XF 2.1 and 2.3 posts, so confirm them in your Add widget screen:

A simple layout

Do not fill every spot. Try this:

  1. Statistics block above the forum list, in tabbed layout.
  2. Latest replies in the forum list sidebar, with about five to ten entries.
  3. Latest unread for members in the What's New sidebar, if a position exists on your install.

If no built-in position fits, you can add one. In XF 2.3, turn on development mode and use Development > Widget positions, as in this thread. You then place it in a template. That is a bigger job, so try the built-in positions first.

Tip:
Add one widget at a time and view the page after each. You will see right away if a sidebar looks crowded on mobile.

Check the result after a week

Open the notes you made earlier. After seven days, compare:

  • Replies per day.
  • New threads per day.
  • Page views on the home page and on threads.
  • Whether guests who land on the home page go on to open threads.

One week is a short test. If numbers barely move, change the widget, not the whole plan. Try a different type, fewer items or a better position. If one widget shows threads nobody wants to open, filter by forum or tag.

What to do next

Start with one widget today. Install Widgets, add a latest replies list to the forum list sidebar, and write down your numbers. Then read our member engagement ideas for what to do once people are reading and replying.

Sources