Jump to:

1030 Posts in 805 Topics by 311 members

Forum Module

SilverStripe Forums » Forum Module » bug on forum admin feature(sticky & readonly) + search feature bug

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 1519 Views
  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: bug on forum admin feature(sticky & readonly) + search feature bug Link to this post

    Sorry Juan, Never tested the forum with translatable components. Ive never used translatable myself so if you could list the issues with screenshots on open.silverstripe.org we can see those get fixed.

    draft - it searchs author names, title of the post as well as the content of the post. It compares the query to the DB using a match query. See http://dev.mysql.com/doc/refman/5.1/en/fulltext-search.html. You can see how the search function works in code/forum/ForumHolder.php in the SearchResults() function

  • draft
    Avatar
    Community Member
    57 Posts

    Re: bug on forum admin feature(sticky & readonly) + search feature bug Link to this post

    hi willr,

    Thx, i have found the search function.. Haven't look detail about the code, but seems the logic isn't relevant enough for the search functionality.

    For example, try in in this ss forum, search 'aa', and it will return new forums title at the top search result, but if i search 'new forums', the new forums thread is not even in the first page of the search result.. I think it's probably because the search function logic doesn't give like a priority for title.

    And other weird thing, you can try it to search it in this ss forum, if you search 'a', it will return html tag in it, why is that happening? Since it run from the same logic query..

    Regards,

    Draft

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: bug on forum admin feature(sticky & readonly) + search feature bug Link to this post

    @draft

    The problems you describe when searching made me disabled it. How? By setting display:none on the #ForumSearch div. Quick and dirty…

    @willr
    I've opened a ticket about Translatable in Trac.

    Best regards,
    Juan

    1519 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.