Wednesday, 19 May 2010

Add a reply option to blogger comments like Wordpress

If you Are using blogger platform for your blog than during some stage of your blogger life you must have noticed that blogger does not have Reply option to it comments.This is one of the major reason why people migrate towards Disqus or IntenseDebate comment Platform.
I suggest you to read this - Readers can't comment on your blog - Tip For You

With a very little change to your template you can add this hack to your blog.
This hack was originally posted on thisischen

ScreenShot :
Update - Previous Reply code was not working for some blogger templates.This is an updated version and work well with all templates

Adding Comment Replies to your blog.

Step [1] In your dashboard Click 'Layout' > 'Edit Html'> Tick the 'Expand Widget templates' box.

Step[2] Find the following code in your blogs Html : <data:commentPostedByMsg/> 
 
Step[3]. Paste the following code Directly Below/After <data:commentPostedByMsg/>  
 



<span class='comment-reply'><a expr:href='&quot;https://www.blogger.com/comment.g?blogID=YOUR-BLOG-ID&amp;postID=&quot; + data:post.id + &quot;&amp;isPopup=true&amp;postBody=%40%3C%61%20%68%72%65%66%3D%22%23&quot; + data:comment.anchorName + &quot;%22%3E&quot; + data:comment.author + &quot;%3C%2F%61%3E#form&quot;' onclick='javascript:window.open(this.href, &quot;bloggerPopup&quot;, &quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=400,height=450&quot;); return false;'><img style='float:right;padding-right:100px' title='Reply to comment' alt='Reply to comment' src='URL OF image'/></a></span>

Important !
In order to make this work you must add your blog Id .
What is your blog ID??
Simply go to your layout page, posting page or any of the pages and copy your I.D. from the address bar at the top of the page.



Replace URL of image with any image of your choice or you can choose one from below-
http://2.bp.blogspot.com/_WvACVGW1iPE/S7WNVXEpzbI/AAAAAAAABBE/-oKIce3D_i0/s320/reply01.png

 http://4.bp.blogspot.com/_WvACVGW1iPE/S7WNYimWsdI/AAAAAAAABBM/n5b9btyk_jM/s320/reply03.png

 http://1.bp.blogspot.com/_WvACVGW1iPE/S7WNbaXMiaI/AAAAAAAABBU/TRjA89kouEw/s320/reply04.png

 http://4.bp.blogspot.com/_WvACVGW1iPE/S7WNjwI1_jI/AAAAAAAABBc/aZ0s2iB6aOU/s320/reply02.png

 http://1.bp.blogspot.com/_WvACVGW1iPE/S7WNmlf7dkI/AAAAAAAABBk/7muFjwSlGE4/s320/reply05.png



Add This Reply to comments blogger hack to your blog and Do tell me if you like this Concept.

No comments:

Post a Comment