Similar threads

Similar threads [Paid] 8.5

No permission to buy ($35.00)
Hi Andy, there are problems with Multi Prefix and this addon here?
 
No, reaction from AndyB since weeks?
At least one of two add-on programers should be interested in correcting this?
 
Seems there is still no new version and no reaction from Andy. Is there any other addon with the same function, but without the prefix problem? Maybe XON can help Andy with this?
This addon is really wonderful, so i hope someone can fix this.
 
Just be aware that this addon doesn't have any options to show similar threads on thread creation, which is something I'd personally miss. Missing a couple other options too that Andy's has.

EDIT: Actually, I see this addon does have an option to show similar threads on creation, but it just didn't work for me when I tested. Just retested and still no evidence that that option is working. Maybe an addon conflict of some kind, who knows.
 
Last edited:
Just be aware that this addon doesn't have any options to show similar threads on thread creation, which is something I'd personally miss. Missing a couple other options too that Andy's has.

EDIT: Actually, I see this addon does have an option to show similar threads on creation, but it just didn't work for me when I tested. Just retested and still no evidence that that option is working. Maybe an addon conflict of some kind, who knows.


No, It shows similar threads on thread creation , my friend who's using it told me , you just need to enable permissions for such job.

I'll shortly be purchasing the package to try this & some other add-ons too 😇😌
 
No, It shows similar threads on thread creation , my friend who's using it told me , you just need to enable permissions for such job.

I'll shortly be purchasing the package to try this & some other add-ons too 😇😌

I don't see any user permissions for the addon (BS Similar Threads), but if it works for you, then good. (y)
 
I recommend that you go to @AndyB's site at www.xf2addons.com and either send him a message or put a message in the thread he has there for this add-on.
He has been informed multiple times about this over the past few months. He doesn’t know how to fix it on his part and because it requires work he doesn’t want that pressure. That’s the vibe I get off him when I’ve asked him about stuff before. You’re better off saving your money and going for the free one I suggested above. Does exactly the same thing!
 
He has been informed multiple times about this over the past few months. He doesn’t know how to fix it on his part and because it requires work he doesn’t want that pressure. That’s the vibe I get off him when I’ve asked him about stuff before. You’re better off saving your money and going for the free one I suggested above. Does exactly the same thing!

Is the one referenced able to use Enhanced (Elastic) Search? I don't see any reference to that.
 
Hi everyone,
I use "Similar threads" add-on by displaying the threads in the sidebar.
I would like to display only the thread title and the date below instead of the information "Started by xxx - DATE - Answers: yyyy FORUM"
Is it something feasible and where?
I have looked at the sidebar template but I do not think the modification has to be done in this template.
Thanks
 
For those who are interested by the hack :

I have solved it by modifying "andy_similarthreads_widget" template.

I have replaced
Code:
                        <xf:macro template="thread_list_macros_custom" name="item_new_threads"
                        arg-thread="{$thread}" />
by
Code:
                        <xf:macro template="thread_list_macros_customDA_Similar" name="item_new_threads"
                        arg-thread="{$thread}" />
I have created from scratch a new template that I have named "thread_list_macros_customDA_Similar".

And I have put in the template the following code :

Code:
<xf:macro name="item_new_threads" arg-thread="!">
    <div class="contentRow">
        <div class="contentRow-figure">
            <xf:avatar user="$thread.User" size="xxs" defaultname="{$thread.username}" />
        </div>
        <div class="contentRow-main contentRow-main--close">
            <a href="{{ link('threads', $thread) }}">{{ prefix('thread', $thread) }}{$thread.title}</a>

            <div class="contentRow-minor contentRow-minor--hideLinks">
                <ul class="listInline listInline--bullet">
                    <li><xf:date time="{$thread.post_date}" /></li>
                </ul>
            </div>
        </div>
    </div>
</xf:macro>
 
For those who are interested by the hack :

I have solved it by modifying "andy_similarthreads_widget" template.

I have replaced
Code:
                        <xf:macro template="thread_list_macros_custom" name="item_new_threads"
                        arg-thread="{$thread}" />
by
Code:
                        <xf:macro template="thread_list_macros_customDA_Similar" name="item_new_threads"
                        arg-thread="{$thread}" />
I have created from scratch a new template that I have named "thread_list_macros_customDA_Similar".

And I have put in the template the following code :

Code:
<xf:macro name="item_new_threads" arg-thread="!">
    <div class="contentRow">
        <div class="contentRow-figure">
            <xf:avatar user="$thread.User" size="xxs" defaultname="{$thread.username}" />
        </div>
        <div class="contentRow-main contentRow-main--close">
            <a href="{{ link('threads', $thread) }}">{{ prefix('thread', $thread) }}{$thread.title}</a>

            <div class="contentRow-minor contentRow-minor--hideLinks">
                <ul class="listInline listInline--bullet">
                    <li><xf:date time="{$thread.post_date}" /></li>
                </ul>
            </div>
        </div>
    </div>
</xf:macro>
And to think that's all it took!
 
Just messaged @AndyB . Maybe an issue with ES 7.6 or maybe some other issue on my side...

Getting the below frequently since migrating to a fresh server and (foolhardily updating ES to 7.6)....



  • GuzzleHttp\Exception\ClientException: Similar threads error: Client error: POST http://localhost:9200/ccf_idx/_search resulted in a 400 Bad Request response: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"numHits must be > 0; please use TotalHitCountColl (truncated...)
  • src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
  • Generated by: thomigun
  • Feb 14, 2020 at 9:45 AM
Stack trace
#0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create()
#1 src/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}()
#2 src/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler()
#3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run()
#5 src/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/vendor/guzzlehttp/guzzle/src/Client.php(131): GuzzleHttp\Promise\Promise->wait()
#10 src/addons/Andy/SimilarThreads/Repository/SimilarThreads.php(1774): GuzzleHttp\Client->request()
#11 src/addons/Andy/SimilarThreads/XF/Pub/Controller/Thread.php(60): Andy\SimilarThreads\Repository\SimilarThreads->getSimilarThreadsEnhanced()
#12 src/addons/SV/UserActivity/XF/Pub/Controller/Thread.php(15): Andy\SimilarThreads\XF\Pub\Controller\Thread->actionIndex()
#13 src/XF/Mvc/Dispatcher.php(350): SV\UserActivity\XF\Pub\Controller\Thread->actionIndex()
#14 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#15 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#16 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#17 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#18 src/XF.php(391): XF\App->run()
#19 index.php(20): XF::runApp()
#20 {main}
Request state
array(4) {
["url"] => string(47) "/threads/i-got-the-call-getting-the-vert.34937/"
["referrer"] => string(59) "https://mysite.com/whats-new/posts/2983153/"
["_GET"] => array(1) {
["/threads/i-got-the-call-getting-the-vert_34937/"] => string(0) ""
}
["_POST"] => array(0) {
}
}

https://canadiancorvetteforums.com/admin.php?logs/server-errors/5/delete
 
Top Bottom