• Welcome to XF2 Addons. All the XF2 addons located in the Resources area are available for download once you upgrade your account to Premium membership. In addition, Premium members will get technical support. Premium membership costs only $35.00 USD a year. Once the year has expired you can continue to use the installed addons on your forum as long as you like.

Similar threads

Similar threads 5.3

No permission to download

Shows a list of similar threads when a user is creating or viewing a thread.

The Similar threads add-on will do the following:
  • Show a list of similar threads when a user is creating a new thread.
  • Show a list of similar threads when a user is viewing a thread.
(Example of Similar threads shown during thread creation)


(Example of Similar threads shown in thread view)


(Example of Options page)


(Example of User group permissions)


  • Forum view permissions honored. If a member doesn't have permission to view certain forums, similar threads will not be shown from those forums.
  • Supports Enhanced search.
  • All phrases start with similarthreads_ for your convenience.
  1. Download Andy-SimilarThreads-5.3.zip and unzip it.
  2. Copy the src/addons/Andy/SimilarThreads directory to your server.
  3. From the Admin Control Panel Install the add-on.
User group permissions:

Normally you will want to set "Allow" for the following two user groups:

Unregistered / Unconfirmed

Creating optional widget:

This widget is used to display a similar threads block in the thread view sidebar.
  1. Admin Control Panel -> Appearance -> Widgets
  2. Widget definition = Similar threads
  3. Widget key = similar_threads
  4. Title = (leave blank)
  5. Display in positions = Thread view: Sidebar
  6. Click Save.
(Example of Similar threads widget)


Enhanced search:

To enable Enhanced search, select in the Options page. Make sure you have ElasticSearch 6.x installed on your server.

Enhanced search gives better similar thread results because it uses stemming.

Question and answers:

Q: Do I ever have to rebuild the search or thread indexes to use this add-on?
A: No.

Q: Are thread titles and posts searched?
A: Only thread titles are searched.

Q: Is the "View threads by others" set to No or Never honored?
A: No. You will need to exclude those forums in the options page.

Q: In order to use Enhanced search option, which version of Elasticsearch and Enhanced search will I need?
A: You will need Elasticsearch 6.0.0 (or newer) and Enhanced search 1.1.7 (or newer).
First release
Last update
4.90 star(s) 10 ratings

Latest updates

  1. See description

    Similar threads v5.3 changes: Fixed issue dealing with getting the correct node_id during...
  2. See description

    Similar threads v5.2 changes: Fixed issue where server errors were logged if Elasticsearch was...
  3. See description

    Similar threads v5.1 changes: Fixed issue with Enhanced search and XF v2.0x.

Latest reviews

Ihaf something similar on a recently migrated vB 3.8.9 forum and loved it. Highly recommend this add-on. My Thanks to Andy.
This is an amazing add-on. Been using it for years, back in the Xen1 days.. :)
Very nice add-on! It would be cool though if there was a "compact" switch to make it simple to compact-ize the results a bit more.
A really usefull Add-On which helps a lot to find content, get inspiration and especially prevent duplicate posts. Excellent.
This plugin is very nice. Andy solves all possible problems and is constantly up to date.
Exceptionally fast addon. Zero effect to the speed of my board and really , really useful as it appears to prevent the post duplicates where people are too lazy to search
Similar threads is one of those plugins which should be a core feature of Xenforo. Luckily we have people like Andy who provide excellent code for all of us. I previously used this one on XF 1.0 and I am so happy there's a 2.0 version. Thank you Andy for all the hard work.
Works exactly as described. Its rapid and a really useful addition
Another neat add-on! This is going to be very helpful to my greenhouse forum members, not only to find info, but to eliminate redundant posts. And, with Andy's personalized help, I am learning all about stop words!
Thanks for the plugin, it does exactly what it says. Thanks for the info on creating the widget.