I agree with what ggiese & KB have said.

Learn from your mistakes and follow the helpful advice that has been given to you. If you can do that, this whole thing will blow over in time. KB was an example of this (I read the posts from another board), so there is definitely hope you will be looked upon in a much better light. Mess up again, and you're pretty much toast.

Best of luck and congrats to your friend.