Forum growth

XenForo Forum Statistics Widget: Show Live Activity

Put live activity on your XenForo home page with the free Forum Statistics add-on. Exact Admin CP steps, tab picks and widget placement for 2.2 and 2.3.

D.C Style · 6 min read
Share on X
Illustration of a forum home page with a tabbed activity block above the forum list and a sidebar thread list.
On this page

A XenForo forum statistics widget puts live activity, like latest threads, latest replies and random threads, right on your home page. You install the free Forum Statistics add-on, add it as a widget, choose a position and set up its tabs. This guide shows each step for XenForo 2.2 and 2.3.

Why showing activity on the home page helps engagement

Visitors decide fast. If your home page lists only forum rows, they have little reason to click. If it shows threads people replied to an hour ago, the forum feels alive.

We can't promise a number, but live activity gives visitors a clear next click. That supports forum engagement without extra work from your members.

XenForo calls these blocks widgets. A widget is a small block of content that you place in a set spot on a page. The XenForo widgets manual says a widget has four parts: a definition, a unique widget key, a position and parameters. You manage them in Admin CP > Appearance > Widgets.

What Forum Statistics shows and what it needs (XenForo 2.2+)

XenForo already ships core widgets, such as New posts, Online statistics, Newest members and Today's birthdays. Each one shows a single list.

The Forum Statistics add-on puts several tabs in one widget. Each tab has its own scope, cache time and item limit. It needs XenForo 2.2.0 or later and PHP 8.0+.

Thread tabs you can use

The add-on lists eight thread tab types:

  • Latest threads
  • Latest replied threads
  • Random threads
  • Most viewed threads
  • Most replied threads
  • Unanswered threads
  • Trending threads
  • Most reacted threads

It also has member tabs. Resource tabs need XenForo Resource Manager, and media and album tabs need XenForo Media Gallery.

Performance and permissions

The author says data is served from XenForo's cache with a set lifetime, and only the active tab loads when the page renders. Results respect permissions, so members only see content they can access. These are the vendor's own claims, so watch your page speed after you install it.

Install Forum Statistics and open its options

  1. In the Admin CP, go to Add-ons > Install/upgrade from archive and upload the add-on. If you uploaded the files by hand, use the install-from-directory option instead.
  2. Open Admin CP > D.C Style - Forum Statistics > Manage tabs. Here you add, reorder, enable or disable tabs.
  3. Go to Users > User group permissions and grant Can view forum statistics to the groups that should see the block. Guests are the group most owners forget.
Note:
If the block looks empty to logged-out visitors, check that permission first.

The add-on is free. The Forum Statistics setup guide covers the same steps in more detail.

Pick blocks: latest threads, latest replies and random threads

You don't need every tab. Three work well on a home page, because each answers a different visitor question.

TabWhat it tells visitors
Latest threadsNew topics are being started.
Latest replied threadsConversations are still moving.
Random threadsThere is older content worth a look.

If you want to show latest threads in XenForo to guests, this is the simplest way. Start with these three and add more later.

Set each tab on its own

Each tab has its own cache duration, time period, item limit, forum or category scope and user group visibility. A short list of five to ten items is easy to scan. Scope a tab to your busiest forums if quieter ones make the list look thin. Option labels may differ from the names above, so check the tab edit screen.

Place the widget with the widget positions in the Admin CP

  1. Go to Admin CP > Appearance > Widgets > Add widget.
  2. Choose [D.C Style] Forum Statistics as the definition and enter a widget key.
  3. Pick a position. Forum list: Above content puts it at the top of the home page forum list.
  4. Set the layout mode and grid options.
  5. Set the display order for that position. Higher values show after lower ones.

The add-on has three layouts: Tabbed, Compact and Grid. Tabbed suits the top of the forum list. Compact suits a sidebar.

Keep placement simple

The manual advises against showing the same widget in several places on one page. Choose one spot. Other XenForo homepage widgets, like online stats, can sit in the sidebar.

You can also create a custom position. Turn on Development Mode, then go to Admin CP > Development > Widget positions > Add widget position and edit the template that should hold it. A community thread says this works in XF 2.3 without an add-on. Most forums won't need it. For a broader walkthrough, see our guide to adding a widget and choosing where it appears.

Available positions may differ between XenForo versions. Check the position list on your own forum to see what you have.

Add the Widgets add-on to promote threads that need replies

Forum Statistics shows what is already active. For threads that need an answer, it has an Unanswered threads tab. You can add that as a fourth tab. The free Widgets add-on adds another way: it lets you promote chosen threads.

It adds New Threads, Random Threads and Facebook Fanpage widget definitions. For thread lists you choose the source: the current forum, selected forums or all forums. You can filter by author, tags, sticky status or thread age. It also supports promoted threads. You choose which user groups can promote into a widget, then grant the forum permissions.

Steps

  1. Install Widgets from Add-ons > Install/upgrade from archive.
  2. Open Appearance > Widgets > Add widget and choose [D.C Style] New Threads.
  3. Enter a key and title, then pick a position such as Forum list: Sidebar.
  4. Choose the source forums and the maximum entries. To feature hand-picked threads, set the widget to show promoted threads.

Installing it doesn't place anything on its own. Each widget keeps its own settings. Our Widgets and thread promotion guide covers promotion in full.

A good split: Forum Statistics above the forum list for activity, and a New Threads or promoted threads widget in the sidebar. Compatibility of the two add-ons together has not been checked, so test on a staging copy or ask the store.

Check results after a few weeks

Give the change enough time to gather data. Then compare against the same stretch before it.

  • Pageviews per visit, in your analytics tool.
  • Replies on threads that were shown in the widgets.
  • Page load time on the home page.

If load time rises, shorten the lists or raise the cache time on busy tabs. If one tab gets no clicks, swap it for another.

What to do next

  1. Install Forum Statistics and grant the view permission.
  2. Place one widget above the forum list with three tabs.
  3. Add the Unanswered threads tab, or a promoted threads widget in the sidebar.
  4. Review your numbers after a few weeks.

For more ideas, read our member engagement ideas.

Sources