Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module

Discuss the Forum Module.

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

bug on forum admin feature(sticky & readonly) + search feature bug


Reply

11 Posts   1574 Views

Avatar
Willr

28 June 2009 at 11:00am Forum Moderator, 5511 Posts

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

Avatar
draft

28 June 2009 at 12:51pm Community Member, 57 Posts

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

Avatar
Juanitou

29 June 2009 at 12:14am (Last edited: 29 June 2009 12:20am), Community Member, 323 Posts

@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 [url=http://open.silverstripe.org/ticket/4176]ticket[/url] about Translatable in Trac.

Best regards,
Juan