MyBB Hacks

Full Version: Order posts by "best answer"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm developing my board on MyBB 1.6.8 and I've installed MySupport 0.4.2 by MattRogowski.

All is working fine, but I'd like to build up with the help of XThreads and Pluginlibrary some forums with a stackoverflow.com-style: the main thing I would like to have is "order by: votes, best answer, normal" buttons and "best answer" set as default, so if an user post his question and then he marks an answer as best, it will be put on top, after first message. It's a intelligent way of building up support forums and I hope you will help me obtaining this target.
Neither of those will be of any help because they don't do anything related to post rating.
Ahm, I didn't explain my idea properly. My main target is to have a filter that sorts posts by MySupport's best answer feature. I need XThreads and Pluginlibrary to style, for example, first post and best answer post, I know I don't need them to achieve the filtering feature (well, XThreads has a filtering system, but it's applied to forumdisplay if I'm not mistaken... I need it for showthread instead).

Gently, can you tell me if it's possible and how can I achieve this? Thank you ZiNgA BuRgA and sorry for my english, I'm italian and I can't speak it perfectly.
AFAIK you can only have one 'marked solution' with MySupport, so sorting doesn't make any sense.  The closest thing I can think of is that you want the marked solution 'stuck' below the first post with all other posts ordered normally.

If you only want to style them differently, I recall MySupport does that by default?
Yes, best answer stuck right after first post would be awesome. But I don't know actually how to do it.

And yes, MySupport has his own system to style best answer (with its own class).
Bump Wink
Reference URL's