Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I posted a question and someone answered. Then, another user commented on that answer (with a different solution) and I ended up using this second solution to solve my problem.

Should I mark that answer as accepted (even though I didn't use (or tested) the solution given in there)? And how do I give credit to the user who commented and solved my problem?

share|improve this question
up vote 16 down vote accepted

The best thing to do is to ask that second responder -- in a comment on that first answer, using @TheirUserName to call them out -- to put their comment into an answer, so you can upvote and accept it. Often people will do this if you ask.

As Martijn Pieters points out, if they don't do it themselves after a reasonable period of time has passed, you can create the answer yourself, marking it as community wiki (so you cannot be accused of reputation pilfering), then upvote and accept it.

share|improve this answer
And if they don't, after some time create the answer as a community wiki (so's you cannot be accused of reputation pilfering) so's it can be upvoted and accepted. – Martijn Pieters Aug 6 '12 at 13:06

If the answer has been given in a comment for an answer, and the user who wrote the comment is not the same who wrote the answer, then you should not accept the answer to accept the comment.

You should rather write a comment asking to who wrote the comment to write it as answer, as that is the solution, and you mean to accept her/his answer.
If that user is not going to write that as answer, after some days you could write your own answer using the text of that comment, and giving attribution to who wrote that comment. You could also make your answer a Community Wiki, and that is generally suggested.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .