Similar Threads Plus

Similar Threads Plus 2.0

No permission to download

AndyB

Well-known member
AndyB submitted a new resource:

Similar Threads Plus - Shows a list of similar threads when a user is creating or viewing a thread.

Description:

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

The Similar Threads Plus add-on is designed to be used on forums using Enhanced Search.

(Example of Similar Threads shown during thread creation)

View attachment 133386

(Example of Options page)

View attachment 133387

(Example of User Group Permissions)

View attachment 133388

Features:
  • All phrases start with similarthreadsplus_ for your convenience....

Read more about this resource...
 
I wonder if the other version can just be disabled while testing this? e.g. For quick comparison between the results for each.
 
Installed but only shows when creating new thread. I set all options like they shoud be (same as I have in other Similar Threads AddOn before) but similiar threads don't show up below quick reply in threads. Permissions are set up correctly.
Any hint?
 
Think there might be an issue here mate... elastic search stopped, for whatever reason, it happens every now and then, and immediately rendered every thread with an error as the results couldn't be returned.

Backend errors:

Code:
Error Info
ErrorException: Invalid argument supplied for foreach() - library/Andy/SimilarThreadsPlus/ControllerPublic/Thread.php:315
Generated By: Unknown Account, 16 minutes ago
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Andy/SimilarThreadsPlus/ControllerPublic/Thread.php(315): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/home/ptsdforu/...', 315, Array)
#1 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(351): Andy_SimilarThreadsPlus_ControllerPublic_Thread->actionIndex()
#2 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(83) "https://www.myptsd.com/c/threads/i-cant-imagine-myself-alive-a-year-from-now.57964/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
Error Info
ErrorException: Invalid argument supplied for foreach() - library/Andy/SimilarThreadsPlus/ControllerPublic/Thread.php:315
Generated By: Unknown Account, 18 minutes ago
Stack Trace
#0 /home/ptsdforu/public_html/c/library/Andy/SimilarThreadsPlus/ControllerPublic/Thread.php(315): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/home/ptsdforu/...', 315, Array)
#1 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(351): Andy_SimilarThreadsPlus_ControllerPublic_Thread->actionIndex()
#2 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(68) "https://www.myptsd.com/c/threads/trauma-and-addiction-threads.61807/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Frontend error, which is all that could be seen per thread page:

Screen Shot 2016-05-07 at 8.20.05 PM.webp
 
It seems that the similar threads display on create thread page does not work when the forum has an url alias.

apart from that: Great addon! (y)

Sugestion: Caching of similar threads for performance reason. Just search every X days for (new) similar threads.
 
Back
Top Bottom