Know the person that added a comment in intranet environment

Topics: Corporate Intranet Edition, Enhanced Blog Edition
Aug 12, 2009 at 9:54 AM

Hello,

I'm testing the blog in our intranet. I permit only authenticated (via A.D.) users to see the blog. Is there a way to know who added a comment on a post?

Thank you

Aug 12, 2009 at 11:13 AM

I was looking at the code and there should be a change in file commentform.cs/Addcomment

Aug 14, 2009 at 4:34 PM

hi, can you please tell us, how did you that, I  mean what code in what page. Thanks for your help..

Aug 17, 2009 at 8:39 AM

Hello,

I'm not a good software programer, but I believe that in file ile commentform.cs/Addcomment/

private void AddComment(bool bIsSpam) :
...............
newComment["CommentUrl"] = CommentUrlVal; could be something like :
newComment["CommentUrl"] = CommentUrlVal + (
Context.User.Identity.IsAuthenticated == true? spweb.currentuser.tostring():"");

Or, you could play with modified by (could I???)


Developer
Aug 29, 2009 at 11:00 AM

Hi,

this is already implemented in the latest beta.

René

Aug 30, 2009 at 7:02 PM

Thank you :)
Is it possibe to predict the month that the next date will be released?

Developer
Sep 3, 2009 at 3:15 PM

It's done when it's done :-D