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
I'll pay for removing the number in the URL
How can I get rid of what appears to be question number in the URL?
Want to build a todays question feature, how to access a single question by its number in advanced theme ?
Problem with Reply and Comment button ???
Answer converted to comment
How can I add a comment or answer choice before making a reply?
Ajax Comment Form does not support Russian language
Convert comment to answer
Ajax comment submission plugin, any thoughts?
Is there a way to stop receiving email updates on a question/thread?
All categories
Q2A Core
(3,262)
Plugins
(358)
number comment in question...
+3
votes
Brain Q2A, is it possible to do so in order to be seen not only as responses to the question was left, but the number left a comment in question?! very necessary, but not as something he can not think of ... : ( attached picture for the general notion ...
http://imagepost.ru/?v=ce28f.gif
question
comment
number
asked
Oct 12, 2011
in
Q2A Core
by
mattia
edited
Oct 12, 2011
by
mattia
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2 Answers
+2
votes
Best answer
Here's a plugin that does it:
https://github.com/NoahY/q2a-comment-count
and here's a screenshot:
answered
Oct 18, 2011
by
NoahY
selected
Oct 19, 2011
by
mattia
NoahY, thank you very much, do you brain=))
You're welcome :) gotta love Google Translate...
Please
log in
or
register
to add a comment.
+1
vote
Here's how you get all comments:
$comments = qa_db_read_one_value(
qa_db_query_sub(
"SELECT COUNT(postid) FROM ^posts WHERE (parentid=# OR parentid IN (SELECT postid FROM ^posts WHERE parentid=#)) AND type='C'",
$postid,$postid
)
);
Then all you need to do is run this over each q_list_item and change the output accordingly.
answered
Oct 13, 2011
by
NoahY
NoahY, in which file and line of code to write?
create a custom layer:
http://www.question2answer.org/layers.php
Please
log in
or
register
to add a comment.