First time here? Check out the FAQ!
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)
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