Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
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

I can answer my own questions, can this be disabled?

+1 vote
As the title say's, users can ask a question and add their own answer. Can this be disabled?
Q2A version: latest 30/11/2011
asked Nov 29, 2011 in Q2A Core by zbdblues

3 Answers

0 votes
See what I mean!
answered Nov 29, 2011 by zbdblues
+1 vote

you could hack this by removing the "answer" button:

if(qa_logged_in_userid() == $this->content['q_view']['raw']['postid'])
                            unset($this->content['q_view']['form']['buttons']['answer']);

  but it would still be possible for a hacker to post answers to their own question via manual submission.  With 1.5, there should be a way to block such submissions as well.

answered Nov 30, 2011 by NoahY
0 votes
Why is this a problem? If the user has a question, then finds the answer themselves, they should answer it.
answered Nov 30, 2011 by DisgruntledGoat
It's not what I want. Several reasons but mainly personal choice. Also, I feel it could either encourage a debate or discourage further input.