Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
Login
Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Wiki
Welcome to the Q&A for
Question2Answer
.
If you have questions about the platform,
click here to ask
and please use English.
If you just want to try Q2A, please use the
demo
, which also grants admin access.
Apr 29:
Q2A 1.5.2
Related questions
Order answers by votes (not favorites)
Why have the answers changed order?
Strange ordering of questions (by votes)
Using Q2A As FAQ's CMS - No Way To Sort By Votes?
Is there any way to make new answers hidden by default?
Is it possible to see all questions/answers by a user?
Show also the number of comments in number of answers *help needed*
[answered] How to make most voted answers to rank higher on the question page ?
Question regarding the use of avatars and moving the 'vote' and 'answers' boxes
Sort questions by rating on main page
All categories
Q2A Core
(3,252)
Plugins
(356)
Order the answers by votes?
+3
votes
Is there an option for this? It should be the default ordering IMO since up-voted answers indicates they are of better quality.
If not, consider this a feature request :)
sort
answers
asked
Apr 20, 2010
in
Q2A Core
by
anonymous
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2 Answers
–2
votes
The problem with this feature is that a good question with high up votes will sit at the top of the home page, and not allow the new questions that get asked to be viewed because there will be so many questions with more up votes.
I think there could be a page with "best questions" or "most popular"
See
http://www.question2answer.org/qa/626/most-popular-questions-tab
answered
Apr 20, 2010
by
Bobby
No, I mean ordering the answers, not questions. When you look at a question the answers are just listed in the order they were given, like a forum. Better answers should be at the top, so that when someone comes to the page, it answers their question as quickly as possible without lots of reading.
I agree with what you said about questions though - newer/active questions should be on the home page, but options for seeing the most popular questions is a great idea.
Please
log in
or
register
to add a comment.
+2
votes
You can experiment with the ordering of answers by changing the lines in qa-page-question.php which begin with the following:
$a_view['priority']= ...
Or you could add the following line after the 3-way $a_view['priority'] branch to make the ordering primarily based on the net number of +/- votes:
$a_view['priority']-=10*$a_view['netvotes_raw'];
(It's -= not += because lower values of $a_view['priority'] appear earlier, after sorting by the qa_sort_by(...) line that comes immediately after the loop.)
answered
Apr 21, 2010
by
gidgreen
That's interesting, how are the answers ordered at the moment? Are there other factors that determine's an answer's priority, other than votes?
For now it's based on when the answers were posted, with the selected answer (if any) at the top.
Strange ordering of questions (by votes)
Please
log in
or
register
to add a comment.