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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Forum Module /

Discuss the Forum Module.

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

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


Go to End


11 Posts   3249 Views

Avatar
Willr

Forum Moderator, 5523 Posts

28 June 2009 at 11:00am

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

Community Member, 57 Posts

28 June 2009 at 12:51pm

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

Community Member, 323 Posts

29 June 2009 at 12:14am

Edited: 29/06/2009 12:20am

@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

Go to Top