Monday, 18 May 2009

Remove Haloscan from Blogger Template

This is kind of awful to use Haloscan, my main problem was that i could never find that on which post the comment is posted. I chose to switch back to Blogger Comment system, which is not the best but atleast better than Haloscan, after reverting back to blogger comments, you can even add any else comment system, like Intense Debate.

It is a very easy job to remove haloscan, i tried too many websites, their words to do, but most of them make it very complex.
Go to your blogger's Layout Tab, then "Edit HTML"
Please first read the whole Procedure before starting
  1. Make a Backup: First, and the most important, download your template first in case you do a mess accidently.
  2. Identify Haloscan codes: Using firefox Ctrl+F shortcut find word Haloscan, for ease it'll be better if you highlight them. There are three parts. NOTE: Please Tick "Expand Widget Templates" before doing this step.
  3. Remove The Code: Now remove the Haloscan Code, try to just delete the real code, let the 'comments'(HTML Comments) remain untouch, like this.Remember Don't delete all parts, let the Part 3 remain as it is.  You can even skip this step, so you can replace the code below
  4. Add Blogger Code
  5. In between Haloscan (part 1) add this code:

    <a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/><br /> </b:if></a>

  6. In between Haloscan (Part 2)

    <h4> <b:if cond='data:post.numComments == 1'><br /> 1 <data:commentLabel/>:<br /> <b:else/><br /> <data:post.numComments/> <data:commentLabelPlural/>:<br /> </b:if><br /> </h4><br /> <b:if cond='data:post.commentPagingRequired'><br /> <span class='paging-control-container'><br /> <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a><br />  <br /> <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a><br />  <br /> <data:post.commentRangeText/><br />  <br /> <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a><br />  <br /> <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a><br /> </span><br /> </b:if><br /> <br /> <dl id='comments-block'> <b:loop values='data:post.comments' var='comment'> <dt expr:class='"comment-author " + data:comment.authorClass' expr:id='data:comment.anchorName'><br /> <b:if cond='data:comment.favicon'><br /> <img expr:src='data:comment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/><br /> </b:if><br /> <a expr:name='data:comment.anchorName'/><br /> <b:if cond='data:comment.authorUrl'><br /> <a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a><br /> <b:else/><br /> <data:comment.author/><br /> </b:if><br /> <data:commentPostedByMsg/><br /> </dt> <dd class='comment-body'> <b:if cond='data:comment.isDeleted'> <span class='deleted-comment'><data:comment.body/></span> <b:else/> <p><data:comment.body/></p> </b:if> </dd> <dd class='comment-footer'> <span class='comment-timestamp'> <a expr:href='data:comment.url' title='comment permalink'> <data:comment.timestamp/> </a> <b:include data='comment' name='commentDeleteIcon'/> </span> </dd> </b:loop> </dl><br /> <b:if cond='data:post.commentPagingRequired'><br /> <span class='paging-control-container'><br /> <a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><br /> <data:post.oldestLinkText/><br /> </a><br /> <a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><br /> <data:post.olderLinkText/><br /> </a><br />  <br /> <data:post.commentRangeText/><br />  <br /> <a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><br /> <data:post.newerLinkText/><br /> </a><br /> <a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><br /> <data:post.newestLinkText/><br /> </a><br /> </span><br /> </b:if><br /> <br /> <p class='comment-footer'> <b:if cond='data:post.embedCommentForm'><br /> <b:if cond='data:post.allowNewComments'><br /> <b:include data='post' name='comment-form'/><br /> <b:else/><br /> <data:post.noNewCommentsText/><br /> </b:if><br /> <b:else/><br /> <b:if cond='data:post.allowComments'><br /> <a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a><br /> </b:if><br /> </b:if><br /> <br /> </p>

  7. Add your feed link and name it as you like
As shown above Replace the highlighted link with you Blog's feed link, if you don't know what it is? Just add http://yourblog.blogspot.com/feeds/posts/default if you're on Blogspot


After this your blog should be free from Haloscan! Cheers!
Things to remember:
  • If finding from the Firefox Ctrl+F, The Part 1 comes 1st then will come Part 3rd and last comes Part 2nd, Don't get distracted by the irregular placement.
  • The Part 1 is the Code for the Comment link which appear on the homepage or at the end of every post.
  • Part 2 is the code for the Main comment system, it appear below every post where Commenter writes comment, choose account and post them.
  • Part 3 is for the Comment feed, It's doesn't make any difference but it's the link at the bottom of every page, showing the link to subscribe to your blog's feed.

You're Done? or any problem, I'ld like to hear your words, Please comment.

UPDATE: Many of you are sad, since you lost your comments. By the way, exporting comments is possible apparently it has got a very little chance that you'll succeed and it's hard to do. Download the python script from here, it will get all of your comments on the hard drive. Now you have to make scripts that would post comments on your blog. The problem is that while you are exporting your comments (and you have lots & lots of them, more than 100) haloscan CAN and WILL block you identifying you as a bot flooding their servers with many requests. Hence, it is not possible. Also, if you are very very desperate to get comments back, try this.

27 comments:

  1. great post man , this theme is really classy and above everything they are completely free

    cheers

    ReplyDelete
  2. @denver Thanks dude.
    Yeah, it's good that they keep things free.

    ReplyDelete
  3. Thanks so much for this. This was easy to do. I got really tired of how slow halo scan made my site. Really appreciate the directions.

    ReplyDelete
  4. I would love to get rid of haloscan because it slows everything down and is down too often. But it's not showing up in my HMTL code for the template...any other solutions?

    Thank you!

    ReplyDelete
  5. @Susanwalkergirl Perhaps It is just beacause you have not Selected EXPAND WIDGET TEMPLATES. Read Step 2, (Note).

    ReplyDelete
  6. Super easy process. Thanks!
    Any good advice on how to export your "comments" from Haloscan back to blogger?

    ReplyDelete
  7. @Le Piou Haloscan has been the far meanest. It has been acquired by JS kit so they are not going to improve. Haloscan has a feature to import comments but it requires their premium account. so better forget about those comments celebrate at least you've gone out of the jungle.

    ReplyDelete
  8. It works very well!!!! Thank you!

    ReplyDelete
  9. Ever since Haloscan canned its free service, I've been looking for help to get blogger comments back. Thanks for the easy to follow step-by-step.

    ReplyDelete
  10. Thanks, I successfully removed the Haloscan comment codes from my blog.

    ReplyDelete
  11. Thank you so so much, Shail! I sucessfully remove Haloscan from my blog!

    Bye Bye haloscan! It served me well. Too bad I have to lose all my 1,316 comments from my blog.

    ReplyDelete
  12. sandra and RunWitMe ah, You are welcome!

    ReplyDelete
  13. Oh lordy, I have been trying to get rid of haloscan for such a long time for the same reasons as you. I spent countless hours corresponding with their customer service and it was like beating a dead horse, they just wouldn't delete my account! Thank you so much for this information, it worked perfectly!!!

    ReplyDelete
  14. @ceemee I guess JS-KIT should be removed by the same method. The main thing is you identify the part of their comment system(viz. part 2 in the above post) and replace it by the given code. The code to replace will be same. What called part 1 and 2 here generally would be at same place no matter which template so you have to identify the near-by code and replace them. Yes, it gets tricky at times.

    ReplyDelete
  15. This comment has been removed by a blog administrator.

    ReplyDelete
  16. I have been using for a long time the DiscussIT comment system and I am very satisfied by it. It is very user friendly and easy to implement. You should give it a try.

    ReplyDelete
  17. I am happy to find this very useful for me, as it contains lot of information. I always prefer to read the quality content
    ada.

    ReplyDelete
  18. I would love to get rid of haloscan because it slows everything down and is down too often. But it's not showing up in my HMTL code for the template...any other solutions?
    tr

    ReplyDelete
  19. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

    ReplyDelete
  20. Thank you so much for posting this!! I'm happy to be rid of haloscan, even though it took my comments with it. I tried following another method posted but it didn't work, yours worked perfectly.

    ReplyDelete
  21. This comment has been removed by a blog administrator.

    ReplyDelete
  22. Ever since Haloscan canned its free service, I've been looking for help to get blogger comments back. Thanks for the easy to follow step-by-step.

    ReplyDelete
  23. A very nice page. I think the effort has passed, we have to thank you:))
    diş

    ReplyDelete

Related Posts with Thumbnails