Problem: I’m looking for a way to show inline error messages on server-side (e.g. not via AJAX) comment form submissions and prevent the “User Message” template from being rendered.
From my brief investigation, it seems that I would need to override any calls to “$this->EE->output->show_user_error(..)” within “insert_new_comment” at “./system/expressionengine/modules/comment/mod.comment.php.”
I can of course accomplish this with a custom module or extension, but overriding the entire “insert_new_comment” function (even if it’s a simple rewrite) seems like a maintenance nightmare waiting to happen.
With respect to using an extension, I don’t see a viable hook to accomplish something like this. Perhaps I overlooked the documentation? I would love to get some feedback from the community and hear if anyone has previously solved this issue. Thanks!