Welcome to MSDN Blogs Sign in | Join | Help

Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

Quite a few SharePoint customers have asked about how to implement blogs internally within their companies as an open, direct, and efficient communication channel for executives to get feedback from employees. One often requested feature that SharePoint does not provide out-of-the-box is support for anonymous comments when a SharePoint blog site uses Integrated Windows Authentication and hence automatically signs the visitor in, which is the typical configuration within an intranet environment.

Microsoft's IT Group developed a custom web part that replaces the out-of-the-box Comments web part and extends it to support posting anonymous comments with the following functionality:

  • The Post Anonymously check box can be enabled/disabled (enabled by default).
  • The Post Anonymously check box can be deselected by a visitor to have his or her corporate network account name displayed with the published comment.
  • The web part includes an embedded JavaScript that can be configured to write any replacement value for a user’s account name.
  • The JavaScript also supports replacing a specified editor account name with a designated replacement value and URL.

Here's what the custom web part looks like:

Compared to the OOTB web part:

The custom web part has been successfully implemented and is currently in use at Microsoft on several executive blogs, including the popular InsideMS blog maintained by Lisa Brummel, Senior VP of Human Resources. Microsoft's IT Group has graciously donated the web part with full source code to be released as part of the Community Kit for SharePoint shared source project. The files are available here.

 

<Lawrence />

Published Monday, August 06, 2007 5:00 PM by sptblog

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

Thanks guys.  I'll implement this when it is added to the CKS.  Keep up the good work!

Tuesday, August 07, 2007 1:35 AM by Phil Marcuson

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

will this aslo prevent tracking from IIS logs ?

Thursday, August 09, 2007 5:14 PM by jack

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

Any chance that there is going to be a release for discussion lists?

Tuesday, August 14, 2007 7:42 PM by Gray Ghost

# SharePoint Kaffeetasse 17

Sicherheit Forefront Security for SharePoint SP1 Available Now Codeplex Tool: Anonyme Kommentare für

Thursday, August 16, 2007 12:15 PM by SharePoint, SharePoint and stuff

# SPPD076 SharePointPodcast

Direkter Download: SPPD-076-2007-08-16 Produktion live via BlogTV Buchtipps Buchtipp Real World SharePoint

Thursday, August 16, 2007 2:07 PM by SharePoint, SharePoint and stuff

# SPPD076 SharePointPodcast

Direkter Download: SPPD-076-2007-08-16 Produktion live via BlogTV Buchtipps Buchtipp Real World SharePoint

Thursday, August 16, 2007 3:05 PM by SharePointPodcast.de

# Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

Sunday, August 26, 2007 11:05 AM by Mirrored Blogs

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

I get 'Blog ID is missing' when trying to use?

Friday, October 12, 2007 4:34 PM by David Evans

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

I too get "Blog ID is missing" error when try to Submit Comment. Can anyone help me fix this issue.

Tuesday, October 23, 2007 6:28 AM by Raj

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

It looks like you're doing what I did and adding the web part to the main blog page.  Instead, view one of the posts on your blog page, and replace the New Comment web part on that page with the anonymous web part.

Hope this helps.

Scott

Thursday, November 01, 2007 3:36 PM by Scott

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

I've placed the anonymous comments web part on one of my WSS 3.0 pages - but when I go to submit a comment, I get the following error:

Could not load file or assembly 'Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

What am I missing, or what did I do wrong?

Wednesday, November 21, 2007 1:33 PM by Bob

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

Never mind my previous comment - I accidentally put the part on a non-blog page.  Works fine when used correctly!

Wednesday, November 21, 2007 2:32 PM by Bob

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

I'm receiving the following error. I extracted the cab file without any luck. Any ideas?

Thx,

Carl

                  Adding and Deploying Solutions

              (There should be no errors from now on)

____________________________________________________________________________

Adding Solution AnonymousBlog.cab

ending the install.

____________________________________________________________________________

This error is often one of two problems:

If the AnonymousBlog.cab solution didn't retract completely, you can

manually retract and delete the solution, and re-start the install.

Or, it may be with the with the solution manifest.

You should contact development for a AnonymousBlog.cab solution file that

installs properly.

Tuesday, December 04, 2007 3:47 PM by Carl

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

I also get 'Blog ID is missing' when trying to use? Sorry I dont understand Scott's fix, how to resolve? Cheers

Wednesday, December 05, 2007 11:18 AM by Az

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

I received errors trying to deploy stating that the feature.xml file could not be found.  I tried to retract and delete the solution which also failed.  The solution shows up with an error status on the Solution Management screen in Cetral Admin.

Trying to remove it via stsadm, I get this error:

A deployment or retraction is already under way for the solution "anonymousblog.cab", and only one deployment or retraction at a time is supported.

But the Application Server Administration Service Timer Job shows as failed and I cannot get it to succeed.  Seems I am stuck in a catch-22.  Any ideas on how to get rid of the solution or clear the job status (maybe through the back end)?

Thursday, January 03, 2008 9:05 PM by John

# re: Thursday, January 03, 2008 9:05 PM by John

Please ignore last comment.  I got this working after letting the solution fail to deploy on the second web server.  Then recreated and it worked.

Monday, January 07, 2008 6:39 PM by John

# SPPD076 SharePointPodcast

Direkter Download: SPPD-076-2007-08-16 Produktion live via BlogTV Buchtipps Buchtipp Real World SharePoint

Wednesday, January 09, 2008 8:00 PM by Mirrored Blogs

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

Error

                  Adding and Deploying Solutions

             (There should be no errors from now on)

____________________________________________________________________________

Adding Solution AnonymousBlog.cab

ending the install.

____________________________________________________________________________

This error is often one of two problems:

If the AnonymousBlog.cab solution didn't retract completely, you can

manually retract and delete the solution, and re-start the install.

Or, it may be with the with the solution manifest.

You should contact development for a AnonymousBlog.cab solution file that

installs properly.

Tuesday, January 29, 2008 11:27 AM by Karolis

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

http://themafia.co.nr/

This is a Free Massive Multiplayer Online Game, based on the Real Mafia Life so called "La Cosa Nostra". You wanna be a real Mafia Don like Al Capone, John Gotti and have all the little mafiosos "Kiss Your Ring ... or Die", then join the Family!!!

__________________

Monday, February 25, 2008 5:30 PM by Jeff

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

When I try to install the anonymous blog I have this error:

                  Adding and Deploying Solutions

              (There should be no errors from now on)

____________________________________________________________________________

Adding Solution AnonymousBlog.cab

Impossibile trovare il percorso specificato.

ending the install.

____________________________________________________________________________

The solution is not complete

"AnonymousBlog.cab" is included in the "cab_names.txt" file, and is not on

the file system.  This may be a file copy issue or a development issue.

After it's resolved, re-start the install.

-------------

Who has any ideas to resolve this error?

Thanks

Tuesday, August 05, 2008 3:36 AM by PesiNextep

# re: Anonymous Comment Feature for SharePoint Blog - now available on CodePlex

Or, it may be with the with the solution manifest.

Friday, August 22, 2008 6:13 PM by sağlık

# SPPD076 SharePointPodcast

Direkter Download: SPPD-076-2007-08-16 Produktion live via BlogTV Buchtipps Buchtipp Real World SharePoint

Tuesday, June 09, 2009 7:10 AM by SharePointPodcast

# web tasarım

Monday, August 03, 2009 6:56 AM by web tasarım

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker