added event callbacks for thread/comment posting