ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Forum Module: search replies not showing the "search thread" links

August 29, 2012 9:53am

Subscribe [3]
  • #1 / Aug 29, 2012 9:53am

    dombi

    130 posts

    We used to have a functionality that seems to be missing now.

    When someone searches for some keyword on the forums, and that keyword is found many times in a thread, there was a link shown, which redirected to the search thread page. This is now missing.

    Basically we are having problems with the following code (Copy from the “Search Result Rows” default template).

    {if reply_results == 0}
     {topic_type}<a href="http://{path:view_thread}" title="{topic_title}"><b>{topic_title}</b></a>
    {if:elseif reply_results < 6}
     {topic_type}<a href="http://{path:view_thread}" title="{topic_title}"><b>{topic_title}</b></a>
     
    <span class="smallLinks">{lang:found_in} <ul>{include:reply_results}</ul></span>
    {if:else}
     {topic_type}<a href="http://{path:view_thread}" title="{topic_title}"><b>{topic_title}</b></a>
     
    <span class="smallLinks">{lang:found_in_many} - <a href="http://{path:search_thread}">{lang:search_thread}</a></span>
    {/if}

    It seems that we never get anything but the reply_results == 0 condition.

    I tried setting the value 6 to 3, but even then it did not work.
    We have several keywords that are used a lot, and I am 100% sure that we should be seeing the “search_thread” links a lot.

  • #2 / Aug 29, 2012 5:26pm

    Kevin Smith

    4784 posts

    Hi dombi,

    In which version of both EE and the Discussion Forum module did this used to work? And which version did you upgrade to when this broke? I ask simply because EE 1 and its forum module are no longer under active development and haven’t seen substantial changes in some time.

  • #3 / Aug 30, 2012 2:18pm

    dombi

    130 posts

    Hi Kevin,

    This is on the same forum that you guys took a look at just recently. EE version 1.7.2, forum version 2.2.2.
    I am not exactly sure when it actually broke. Our members have just notified us. But I think it might have been broken for a while.

    The option is in the module, just for some reason it is not working.
    My guess is that there is some problem with the “reply_results” variable.

  • #4 / Aug 31, 2012 2:34pm

    Shane Eckert

    7174 posts

    Hello dombi,

    Can you confirm whether this worked before or not?

    Are you using any themes in your Forum?

    We may need to login and take a look, would that be okay?

    Thank you,

  • #5 / Aug 31, 2012 3:08pm

    dombi

    130 posts

    Hi Shane,

    Yes. This feature used to work. Unfortunately I don’t know how long ago. But our users are missing it.

    Yes, we are using a custom theme, which is based on the default theme. You are welcome to take a look at our site. Please email me and I can give you all the details you need.

  • #6 / Sep 04, 2012 1:51pm

    Dan Decker

    7338 posts

    Hi AndrĂ¡s,

    Be on the lookout for an email from EllisLab!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases