I need to be able to add some data (text/images) to each comment in the comments section through a plugin. What I’m trying to do is actually very similar to the way the stack exchange sites have their little user profiles in questions/answers that show a user’s points and badge count. I’ve tried using a few filters (most recently “comment_author” – yeah, didn’t work too well) but haven’t found something that would work. I need a spot where I can inject some information about the user that won’t mess up other parts of the blog (like admin sections) and that will hopefully play nice with whatever theme they are using.
I realize starting out that this probably won’t work for every theme but hopefully there is an answer for those themes that stick to the general blog layout.
You tried ‘comment_author’, so maybe you are aware of ‘comments_array’ filter hook? It hands you all the content information in an array. Maybe you could use the array and add your info to it.
Or maybe try using the comment_form hook to redirect to your own form.
I’m not too sure that this is what you are looking for, but if you use a third party comment management system like Disqus wouldn’t it work?