CommentBox for SharePoint

13.08.2011 v1.2 released with these changes to the argObj:

  • paging: Use this in conjunction with the next parameter to set the number of top level comments to display initially.
  • topLevelCommentsLimit: The number of top level comments to display initially.
  • showMoreCommentsText: If there are more comments, this text is used for the link to show the rest of the comments.
  • sortAscending: true or false. Used to control the order of the comments.
  • commentFormVisible: true or false. Used to have the comment box expanded or collapsed initially.

There are changes to these files:

  • CommentBox.js
  • CommentBox.css

And the CEWP-code. See the CEWP-code section below for details.

17.07.2011 v1.1 released with these changes:

  • Anonymous users can read comments, but must sign in to post.
  • Added new parameter “loadLiveProfile” to the CEWP argObj. This defines whether or not to load the profile image and email from the user profile, or to use the values stored in the comment. This will automatically be set to false for anonymous users. To accompany this change i have added some new fields to the configuration list (these will be automatically created when submitting the first comment), and changed the parameters “newCommentText” and “replyText” from string to array.

There are changes to these files:

  • CommentBox.js
  • spjs-webservices.js

And to the CEWP-code.

I got this request from Brett:

Hi Alexander,

Got an awesome request for your mad skills.
Are you able to provide a Javascript/JQuery code for a Comments Box Web Part? So it can be added to any page, list or library?

I’m thinking you could set it like the Poll web part, where the Admin can specify the ID Name for each Comments Web Part instance, which will allow the user comments be allocated to the correct web part.

So it would function exactly like the Comments Web Part in a Blog Site, using the authenticated user credentials and/or anonymous comments if you desire.

There are a few Posts mentioning DVWP’s and SP Designer but I’m hoping to use a Javascript based solution.

I’ve looked everywhere for this function and closest I found was this Post.

Many thanks for your time and efforts,


I thought this would be a useful solution for many users – myself included. It’s not very complicated as all comments are stored in a single list – identified by the pages relative URL.

Of course – as i started building – i incorporated this and that, an all of a sudden i had myself a full featured, multi level comment solution.

Sample thread:


New comment – plain text:


New comment – Rich text:


List of features

  • Supports both SharePoint 2007 and SharePoint 2010
  • Tested in IE7, IE9, Safari 5.0.5 for Windows, Firefox 5.0 and Google Chrome 12.0.742.112
  • Multi level comments
  • You can collapse top level threads
  • Rich text or plain text comments
  • Option to allow the authors to edit their comments
  • Option to let specific users act as “moderators”
  • Can be used in multiple locations within the site as each instance is identified by the relative URL of the page
  • Simple “drop in CEWP-setup”
  • On list holds all comments for all instances within the site
  • This list that holds the comments is automatically created
  • Layout customizable trough separate css-file
  • And more…

How to use

This solution is designed to be put in a CEWP where you want to use it. You will have to download all the files from the download section to a local folder/library where all users have read access, and change the <script src=”… in the CEWP code to reflect your local path.

CEWP code example

<div id="myCommentBox"></div>
<link rel="stylesheet" href="/test/EMSKJS/CommentBox/CommentBox.css">
<script type="text/javascript" src="/test/EMSKJS/CommentBox/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="/test/EMSKJS/CommentBox/CommentBox.js"></script>
<script type="text/javascript" src="/test/EMSKJS/CommentBox/spjs-webservices.js"></script>
<script type="text/javascript" src="/test/EMSKJS/CommentBox/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">

var pageID = location.pathname+"?ID="+GetUrlKeyValue('ID');
var argObj = {pageID:pageID,
			 createdByPrefix:'Posted by ',
			 createdPrefix:' on ',
			 modifiedPrefix:'- Modified: ',
			 modifiedByPrefix:' by ',
			 expandThread:"<span title='Expand thread'><img style='vertical-align:text-bottom' src='/_layouts/images/tpmax2.gif'  border='0'> Expand</span>",
			 collapseThread:"<span title='Collapse thread'><img style='vertical-align:text-bottom' src='/_layouts/images/tpmin2.gif' border='0'> Collapse</span>",
			 newCommentText:['Leave comment','You must sign in to comment'],
			 replyText:['Reply','<span title="You must be signed in to leave replies">Sign in</span>'],			 
			 submitText:'Submit comment',
			 deleteThreadText:'Delete comment',
			 showMoreCommentsText:"More comments",


Note to SharePoint 2010 users:
Add this code to a text file and put it in a document library, then use the content link option on the CEWP to link to this code. This is necessary to overcome a “bug” in the CEWP handling when editing a SP2010 page. If you put a script that generates HTML directly into a CEWP, the HTML is accumulated when editing the page.

This tip is also recommended for SharePoint 2007 users, but is not absolutely necessary.

Argument object parameters

  • pageID: The identifier for the unique instance – see separate description below.
  • containerID: The container where the comments are inserted – see separate description below.
  • containerWidth: Width in pixels.
  • replyLevels: The number of nested levels.
  • threadInitiallyCollapsed: true or false to indicate whether the threads are initially collapsed.
  • commentIndent: The number of pixels to indent each nested level of comments.
  • commentBoxHeight: The textbox (for new comments or reply) height in pixels.
  • showProfileImage: true or false to indicate whether or not to display the profile image from the SharePoint user profile.
  • createdByPrefix: The text before the user name of the author.
  • createdPrefix: The text between the author name and the date/time for when the comment is created.
  • modifiedPrefix: The text before the date/time for when the comment is modified.
  • modifiedByPrefix: The text before the name of the editor.
  • showUserEmail: true or false to indicate whether to show the email for the author.
  • authorCanEdit: true or false to indicate whether the author can edit his or hers own comments.
  • editText: The text on the “Edit item link”.
  • commentBoxRTE: true or false to indicate whether to use the TinyMCE rich text editor – see separate description below.
  • expandThread: The text/image of the “Expand thread” link.
  • collapseThread: The text/image of the “Collapse thread” link.
  • newCommentText: Array with the text on the “Leave comment” link for both authenticated and unauthenticated users.
  • replyText: Array with the text on the “Reply” link for both authenticated and unauthenticated users.
  • submitText: The text on the “Submit comment button”.
  • canceImgHover: The mouseover text on the “Cancel comment image”
  • deleteThreadText: The text on the “Delete comment” link.
  • moderateText: The text on the “Moderate item link”.
  • moderatorID: An array of the user ID’s (as string) for the moderators.
  • loadLiveProfile: true or false to indicate whether to load the profile image and email from the user profile, or to use the values stored in the comment.

New in v1.2

  • paging: Use this in conjunction with the next parameter to set the number of top level comments to display initially.
  • topLevelCommentsLimit: The number of top level comments to display initially.
  • showMoreCommentsText: If there are more comments, this text is used for the link to show the rest of the comments.
  • sortAscending: true or false. Used to control the order of the comments.
  • commentFormVisible: true or false. Used to have the comment box expanded or collapsed initially.

Details on “pageID”
For ordinary aspx-pages, use


When using in DispForm/EditForm, use


Details on “containerID”

You can supply a placeholder in the page with the ID corresponding with the parameter “containerID” from the function call. You will want to do this to control the placement of the container, or to supply some custom settings (style or class). If you do not supply a container, it will be created automatically by the script.

Details on “commentBoxRTE”

TinyMCE – Javascript WYSIWYG Editor is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB.

You can change the buttons and plugins for the TinyMCE by modifying the function “init_MCE” at the bottom of the file “CommentBox.js”. Refer the official site for details.

SharePoint 2010 users:
The TinyMCE solution has to be modified to change all “htm” files (and the references in the scripts) to “aspx” as the built in security feature in SharePoint 2010 does not let you open htm-files unless you change the “Browser file handling” from “Strict” to “Permissive”.

I have modified the files used in the default setup for the CommentBox solution. If you change the setup to include more plugins you must change the appropriate files. The modified package can be found in the download section.


You find the files here

Copyright and disclaimer

Please let me know if you find any bugs.

If you use this solution, please consider donating a few dollars to keep me motivated.

122 thoughts on “CommentBox for SharePoint”

  1. Excellent Solution Alexander. More than what I was hoping for.
    I’ll be implementing this feature all over my Intranet Sites. I must admit, you inspire me to start learning Javascript. 🙂
    Many thanks and appreciation for your time answering my request.

  2. Hey the pain again. could be me. I have dropped this on an edit form in sp 2010. In edit mode I see the comment box and can add to it. if not in edit mode I cannot see it or the comments. Did I miss something?

    1. Hi,
      No problem here. Could it be that you have set the CEWP to “Hidden”?


    2. I think you are right. Still new to 2010 and I was adding a bunch of Scripts to the CEWP, and setting them hidden. I have since went back and added this scriopt, now it is appearing. I hate it when that happens.

      great job!

  3. I am hoping you can shed some light. I have been to the site but cant find what I am looking for. I was able to appli a skin fairly easy but no luck figuring out anything else.
    At the bottom of the box is the text “Path:” not sure what it is for or what it does. I would like to remove, hide or color it the same as the back ground. do you know where this change can be made?

    also the aavailable items for RTE. I what to remove, or even add something. I found the script to customize this, but I have no clue where to make the changes. Any help would be appreciated.


    1. Hi,
      I forgot to mention this in the article. I have added a few lines under Details on “commentBoxRTE”

      To remove the statusbar, modify the function “init_MCE” and set the parameter “theme_advanced_statusbar_location” to “none”.


    2. perfect, thanks fior the update. One last thing, when “theme_advanced_statusbar_location” to “none”. the resize function is lost. is there a way to just hide the text “Path:”?

  4. HI

    This is great, this what we where looking for long long time. thanks you so much. Here, there is problem when use this in .aspx page. the comment box is not closing and we are not able to submit. But it works fine with dispform. (this is done, as u said to replace location.pathname for is there any mistake we done. provide some tips to make it work. thanks

      1. Raj, I know that this is an old thread but I’m having the same problem. How did you solve it?

  5. HI
    One more Question is there any way to reduce the font size of the preview comment box

  6. Hi Alex

    Is there any way to take out the path from the comment box


    1. Hi,
      I’m not sure what you mean. Is it the “pageID”? if so, yes you can use whatever you want as long as it is unique for that “instance” of the comment box.


  7. Hi,

    Great work Alexander!! i was wondering if there are many comments for a single page, say about 25 comments. Then the page looks very long. Can you advice on a possible way to have the latest comments at the top and a link to [more comments]??? I would also like to include a “rate this” feature along with the comment box similar to that of the comments in this page.

    very inpiring work!


  8. Hi Alexander, Hope you had a good break.

    At the moment, when I drop the CEWP on a page, it only shows the “Leave Comment” text, so the user has to click on the text to open the Comment Box.
    How do I display the Web Part with the Comments Box already displayed under the “Leave comment” text?
    So all the user needs to so is click into the box and begin typing.
    When you find some time, are you able to adjust the CEWP to add this option please?

  9. Great work! Perfect for the solution I am working on. Any thoughts as to how to display the users ‘presence icon’ along with their name?

  10. I am getting error message “L_Menu_BaseUrl” is underfined.

    I threw the code in a CEWP in sharePoint 2010, put all files in a sharedoc library, and changed all the HTM to ASPX, redid all the reference in the script to aspx as well. Can you shed some light on the issue? Thanks

  11. This works really well, but my screen slows down whenever a bunch of comments are posted. Is anyone else getting this?

    1. never mind – i turned off the profile image section, and it has sped up…not sure whay though. Any ideas?

    2. Hi,
      The profile images must be obtained by a query against the user list. If there are many users to obtain, the query will take longer to complete.


    3. Thanks Alexander.

      BTW – this is a great solution; I abosolutely love it.

      Cheers, Jon

  12. Hi. this sounds great but not able to make it work… did exactly whats shown but i get ‘serializer’ null or not a object js error … in tiny_mce file…do i need some specific references or just tiny_mce js reference is enough?

    1. Never mind found it.. need to have all tiny mce related files uploaded… my bad.. should have seen that earlier… thanks for the great plugin will check it out now!! 🙂

  13. Hi Alex,

    Is it possible to change the link on the name of the user to go to their My Site page instead of being a mailto: field?


  14. Hi,
    To do this you would have to change line 157, but i do not have access to MOSS or SP2010 Server so i could not tell you how this change should be done.

    The user info used here is the info stored in the “native” userlist and not the user profile from SSP. Therefore the user ID is not the same as it would be in “mypage”.

    I suppose you could rewrite the function “getUserInfo_v2” to call the user profile service rather than the userlist, but this is hard for me to do without access to a MOSS/SP2010 server.


    1. Hi,
      No, i have not considered that. It might happen at a later time, but no immediate plans.


  15. Brilliant Alex, I got an idea…

    How about adding some function like as what you did in this comment box?

    Or it just enough by copycat the source & DIY?

    1. Forgot about something, there will be error occur when user try to post/reply a comment. It is because of that user permission level is as Read Only, what I did to solve this is by configuring all user permission on CommentBoxForSharePoint list to Contribute or Add Only.

    2. Hi,
      Sorry, but i do not understand what you are asking. Please revise the question.


  16. Thank you for this brilliant solution! One question tho…. for the life of me, I cannot find the ‘Delete comment’ anywhere…. where and when does it show?? Thanks. claudia

    1. Under the current subsite, a list has being created called “CommentBoxForSharePoint ” there you will find the comments.

  17. I looked at the code for “function deleteComment(id)” but cannot see what could be the reasong for the “Delete comment’ text not to show. Suggestions anyone? All other functions (edit, reply, close) work perfectly.

    1. Hi,
      You must add the userID for the users who shall be able to delete comments to the array “moderatorID” in the “argObj”.


  18. Hi Alexander, thanks for your reply. This is probably dumb question but where do the numbers ’15’,’27’ refer to? If these refer to SP user ID’s where can I find that info? I tried my SP user name but apparently that won’t do the trick. Sorry to bother you with this.

    1. Hi,
      Go to the “People and groups” list and either bring the ID column into the view, or click a user and look at the URL for the text “ID=XX”.


  19. HI Alex. I’m checking this out and ootb the functionality is great! I do have a couple of questions though:

    1) In the request from Brett he mentioned allowing comments from ‘anonymous comments if you desire’. My SharePoint site, which ‘m currently developing, would have public areas and private areas, and we’d like to allow comments on both types of area. For private the user just needs to be authenticated so this solution would be perfect ootb. However, for public areas we do want to allow anonymous users to leave comments and not display all those comments. The latter I can do by referencing a 2nd .css file where div.commentsRoot has ‘display:none;’, but would it be possible to adapt this solution to allow anonymous comments?

    2) relating to anonymous comments, I’m finding that while initially an anonymous visitor to my site can see the page where I add this solution (and see the ‘Sign In’ link by comments), very quickly the browser is automatically redirected to the sites sign in page. Any idea why this might happen, and where I could look to stop this redirection? Again, I do briefly see the page where this solution is used, but then I’m redirected, so presumably there’s some javascript (jQuery?) somewhere that’s doing this redirection.

    Cheers 🙂

    1. Hi,
      Q1: Comments from anonymous users is not supported as the solution uses webs services to post the comments. I might look into this later on, but for now it is not supported.

      Q2: The redirect happens in the function “addOrEditComment” – you could try to disable it there.


  20. Hi Alexander,

    Please post the steps for configure and running this commandBox solution in sp2010.


    1. Hi,
      Where exactly are you having trouble? All the steps necessary should already be in the article.


  21. Hi Alexander,

    Thanks for your reply.

    I have requirements “more comments” should come with paging like 1-10,10-20,etc….

    If you have idea please share with me.

    Thanks ,

    1. Hi,
      Glad you figured out the setup.

      Regarding the paging, I cannot help you at the moment due to a heavy workload, but I’ll make a note of it and might pick it up later.


  22. Is there absolutely no way to post anonymous comments in SP 2007? I have been trying to figure this out for a couple of months now.

  23. Hi Alexander,
    Here i am seeing all comments.but i want see my comments and replies only..How to solve this issue

    1. Hello Alexander,

      Great product.
      As an addition we would appreciate “Audience” targeting. To make the comment (and replies) available to a certain sharepoint group(s).
      If you would include a “view” property where “author” or “Audience” equals current user the above request would also be possible.

      Kind regards,

    2. Hello Alexander,

      After playing with the webpart I think my comment above is not really adding value. The strength of the CommentBox is that you put it on a page / listform where certain people/groups have access and only those can read/reply the comments listed there.
      One thing I think might add value is the possibility to “archive” comments which could replace the “topLevelCommentsLimit”.
      So instead of having a fixed limit you could hide archived comments.

      Kind regards,

    3. Hi,
      I’ll make a note of your request, but I’m a bit swamped with requests and cannot manage to answer them all. I therefore cannot guarantee that it will be done.


  24. Another awesome solution! I’m struggling with one modification that I’m trying to make, maybe you or another commenter can help. Using this on a (MOSS) doc library I have a requirement (related to alerting) to show the name of the document on which the comment was left in each item in the CommentBox list.

    I know that I can see the ID of the library item in the Title column and if I could parse out the ID from that then I could fetch the Name of the document with SPD workflow but I can’t seem to work out a calculation like “substring-after” in a calculated column or in an SPD workflow action. Any thoughts?


    1. Hi,
      Sorry for the late reply. I think you could do this using a calculated column in the “Comment box list”. Create a new calculated column with this formula:


      This column should now hold the ID of the item the comment was made on.


  25. Hello Alexander,

    sortAscending:false AND paging:true RESULTS in only “More comments”.
    No comments are directly visible.
    I would expect the same effect as with sortAscending:true

    Kind regards,

  26. I like the comment box and would like to use on our Intranet. We are using SharePoint 2007 and building a blog for the IT department. I would like to have a comment box which will have the ‘Comment Policy’ which users will have to read and agree. I would like to have ‘Yes & No’ radio buttons and a Title on the comment box. Can you help me on this issue?

    1. Hi,
      Sorry for the late answer. I’m afraid I do not have time to help you modify the solution. It is possible, but summer is approaching and i have so many other projects…

      If you could settle with a description text below the textarea reading something like “By answering you agree to the comment policy (link)”, you could get away much easier. Let me know if you would like to go with this solution.


  27. Hi Alexander, we use the Commentbox on our intranet, and it works really great! 2 questions tho… I noticed a lot of people don’t understand how the Reply works; I think the fact that the Reply link only appears on mouse over is part of the problem. Therefore, I would like to show the Reply option permanently. Can I change this in the code of the JS file?
    Another thing is, it would be really cool if comments could be posted to a social platform, in our case, to Yammer. This way, discussions will be more transparent and reach a larger group.
    Just a thought… but if it is at all possible, it would be fantastic! 🙂
    Thanks for all the great work, Claudia.

    1. Hi,
      Glad you like the solution 🙂
      To show the “Reply” text all times, add this css to the file “CommentBox.css”:

      td.commentReply a{
      	display:inline !important;	

      I cannot help you posting to a social platform though.


  28. Hi Alexander,

    I have a need to be able to post into the backend Sharepoint list from a different site in Sharepoint, that is not in the same farm – do you know if this is possible please, and if so, any ideas on how this can be achieved?


    1. I’m afraid this is not possible with this solution.


  29. Hey Alexander!
    Great solution! I have tried it out in SharePoint Online. There is just some errors. The first is really not an error but a configuration thing, remember to put the mysite as a local intranett site (it is to see the picture of the person posting a comment). The second error that I saw was the limits of comments is set to 25 comments. When I tried this, i posted 30 comments and every comment was visible. Is it me that is doing it wrong? Or can I set the limit somewhere else?

    1. Hi,
      The limit is for top level comments – answers are not counted. Is this the case?


    2. My bad, it was not a technical problem, but a human. Have a nice day. And you really have skills with Javascript and SharePoint!

  30. Thanks for the fantastic webpart! I’m new to JavaScripting so your comment solution is helping my learning.

  31. Hi Alex. Tried the solution on the Intranet I’m building and I think your solution is really awesome! Got a question tho: the “Leave Comment” label on the comment text entry box is not showing. How can I show it? Thanks and looking forward to your reply.

  32. Hi Alex. Great stuff you have here! I’m studying scripting and Sharepoint so this helps me a lot. Just curious: suppose the person making the comment would like to title the comment? How would the code for it look like?

    1. Hi,
      To achieve this, you would have to rewrite the script to include another input field, and add another field to the list that stores all the comments. There is no quick fix.


  33. Hi Alex. When I was testing this script, I noticed that the SITE ACTIONS on the page were gone after I saved the script. Any clues on why?

    1. All users must have write access to the list where the comments are stored. Alexander

  34. Great work… its very helpful to me and work really well….. but one thing i set value 10 in topLevelCommentsLimit and then i post 15 comments, but all are showing in one page…
    i set the value as following…..
    showMoreCommentsText: “More comments”,

    please share if you have any solution….

    thanks again for your brilliant work..

  35. This is absolutely perfect! However, it seems to require jquery 1.6. We use 1.8 for everything else. In 1.8, the item query ajax call returns an empty object (not null, just empty) with a count of “NaN”. In 1.6, it works fine. Any thoughts on what might have changed with 1.8 to cause this? I have not found much of anything via Google to describe the issue. I would love to get this up to 1.8 to avoid any conflicts.

  36. This looks great! We have a video player, that contains multiple videos, and I’m wondering if I’d be able to adapt this so that I can have it underneath the player so people can comment on each of the videos. Do you think it would be possible for me to amend it so that I can somehow pass the active video ID to your code instead of the page url, so it could still store it all in one list, and then somehow display just the relevant comments for the active video?

  37. It’s ok – I figured out how to do it by passing a javascript value as the ID along with the page url. It all works perfectly now.

  38. Hi Alex. Again, thanks for this comment box script. Helped me in my javascript and sharepoint learning. One thing I am unable to figure out: when I apply the code, the SITE MENU gets disabled/hidden. I am using Sharepoint 2007. Any input would be of great help to further my learning. Thank you and more power!

    1. Hi, Is it the “Site actions” menu? – could you send some screenshots?


  39. Hi Alex. Thanks for the reply. Yes, it is the Site Actions Menu. I will send the screen shots.

    1. Oops .. the blog stripped out the tag … I was trying to say it was a rogue closing DIV tag in the SharePoint Page Layout that caused my Site Actions to disappear …

      1. Thanks Alan. That’s what I thought it was initially i.e. rouge DIV tag but I had the layout file checked and we didn’t find any rouge DIV tag.

      2. Hi Alan. Thank you for the reply. I had my instructor check out the SP layout of the training site but we didn’t find any rouge DIV tag. He said it may have something to do with the CSS.

  40. Hi, Alexander … just wants to say thanks for your elegant Comments solution. Installed like a dream and works just fine. I may noodle around with the code a little. If I manage to make any worthwhile improvements, I’ll post them back here for others to share.

  41. One thing I want to try – tagging displayed data in other web parts with the number of comments that have been left.
    We’re using your Comments function on a custom news sub-site in SP2007. I’m displaying headlines in DVWPs on another page. I need to figure out how to display the number of comments on a news item in the DVWPs. If I figure it out, I’ll post the solution back here …

  42. Hi,

    I really Love this webpart.Thank you very much for developing this and making our lives easier.

    I had one question: How can I implement multiple comment boxes in one web part page? For example, in my web part page , I have 3 vertical tabs and when on Hover displays a Video and here I should be able display the comment box in all the 3 tabs?

    Please advise on a solution.


  43. Hi Alexander, we’re considering using your commenting web part on our corporate intranet. It meets more of our requirements than other products available on the market, so good job! In your response to a question about deleting comments, you responded: “You must add the userID for the users who shall be able to delete comments to the array “moderatorID” in the “argObj”.” Do you have a suggestion on how to do this for really large organizations with thousands of UserIDs? Also, if we add all the userids, users will be able to delete their own comments only, right? Thanks!

  44. Hi – How do I implement the code on my sharepoint team site. tried following the instructions but it does not work!!! can you provide me instructions… I am a novice sharepoint user… thanks

  45. Hi,

    This is great solution. I just wanted to know how to display comment count on Document library for posted comment in Default View.


  46. Hi, Alex:

    Very Nice solution! I deployed it in our SharePoint site and it works great and people love it. Since the feature is extremely popular, over 2030 comments were created over 2 Blog posts. First one has 2000 comments, and seond one has 30 comments

    But some people with Old Win XP machines start to experience slowness while loading the comments, it is slow for post with 30 comments as well.

    Did anyone experince the same? Do you think I need apply INDEX on the comment list?

    Could you please send me a email privately so that we can disucss a consulting service opportunity?

  47. Hi Alex,

    Is there a version for SharePoint 2013? I have used your script in SharePoint 2010 and it has been a great help. Thanks. Recently we migrated to SharePoint 2013 and I have tried using it in there, but whenever I add your script to the CEWP, the page will keep freshing and the comment box never loads. Is there something that needs to be updated for 2013?

    1. Hi,
      I’m in fact redoing this solution these days, and it will be most likely be published within a week or two. Follow me on Twitter, or subscribe in the top right corner of this page to get an alert when it is published.


  48. Hello, Alexander.
    When I set “threadInitiallyCollapsed”:true
    and there is more than two levels of reply,
    I dont see comment of the levels 3 and deeper when I click expand icon.
    And there is no plus icon on the comments of the second level to expand them.

  49. I am extremely impressed with your writing skills as well as with the layout on your blog.

    Is this a paid theme or did you modify it yourself? Anyway keep up the
    nice quality writing, it’s rare to see a great blog like this one

  50. Hi am very happy with this comment box. I have one question. Can i get notification by email after comment?

  51. Hi Alexander,

    Thank you very much for the post, has been very useful. I have a couple of questions, How do I align the webpart center (it is currently aligned to the left) ?. How do I change the background color of the webpart CommentBox, from blue to green?

Comments are closed.