2

How to enable "Answer your Own Question" ?
 

Sorry for this question, but I can not find this option.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Toms's avatar
767
Toms
asked 12 years ago
Evgeny's avatar
13.2k
Evgeny
updated 12 years ago

Comments

1

We've removed it, but we will re-enable this feature via an option.

Evgeny's avatar Evgeny (12 years ago)

Is it done? I'd like to remove the possibility to answer one's own question.

siovene's avatar siovene (12 years ago)

@Evgeny, bump :)

siovene's avatar siovene (12 years ago)

@siovene just curious - what is the point of now allowing to post self-answers?

Evgeny's avatar Evgeny (12 years ago)

@Evgeny, because in my case, many people will not read the FAQ and think it's a forum and so they want to add a follow-up question or a comment, and they use the answer field because they see it first.

siovene's avatar siovene (12 years ago)

@siovene, ok I understand. Still - the problem is not that it's bad to give self answers, but inadequate user training. So I think it would be better to be able to re-post answer as a question (don't have this feature yet) or convert answer to a comment.

Evgeny's avatar Evgeny (12 years ago)
1

@Evgeny, the thing with "convert answer to comment", currently, is that it ends up being a comment to the question. In my case, maybe the user wanted to comment an answer, but posted an answer instead. "Re-post answer as question" doesn't work, IMHO, because the new question will be out of context.

In my case I would gladly sacrifice the ability to answer one's own questions, in exchange for the fact that people won't post answers when they should've posted a comment.

siovene's avatar siovene (12 years ago)

Is this feature coming or do I have to make room in my schedule to implement it myself (I would provide a pull request of course, but I can't get around to this for a few months, probably, as I'm really busy with other features for my site (out of askbot's scope.)

siovene's avatar siovene (12 years ago)

I've created a pull request with this feature: https://github.com/ASKBOT/askbot-devel/pull/115

siovene's avatar siovene (12 years ago)
see more comments

1 Answer

1

I was able to enable it by editing the following files:

  • skins/default/templates/question/content.html
  • skins/default/templates/question/new_answer_form.html

In the first, change

{% if question.closed == False and request.user == question.author %}{# this is outside the form on purpose #}

to this:

{% if question.closed == False %}{# this is outside the form on purpose #}

And in the second file, remove this line:

{% if user == question.author %}style="display:none"{% endif %}

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
mcg's avatar
86
mcg
answered 12 years ago
link

Comments

1

Probably this will be covered by an option. People should be able to answer own questions in general.

Evgeny's avatar Evgeny (12 years ago)
see more comments