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-
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnvcqfSOQuyxQiYJDqXS1Jr8zVg56Oc78EkKupoZu9XpNM6uVU_-LhMVA-8b4C1xF3wXnd3iuXDqE3-Qv587yxZgorXV9ik1pDcS7AzwX-LfbB46nnyCrM9jleRUQOJf8gUik-AejydRo0/s320/reply01.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmR2ziLrnpJzvx21UrlCS-MLw_ZDOepbnIxEWRRHORzK0SAYUvIQ27gqXkeAiP_JkBE1cJieLMmj4tKDAU86Ecv2YJhR9ewwkYNLDEDZpvkjCLfwwniMGVYdst6WGxeCbN8Ni7F1L8kQk_/s320/reply03.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdDZVXjhXp90efQsQ9SqXdoNh80N0TG9pHTdi0HoGallVEKKZyiInCvOMQB_RS-T0T-iuOCV5-hFCKvsXCzj7ep_ay9hxkkiG3O6zFj48QrwaGVK92LvLbG93IDwjGMVBIm63gtQwSu8wg/s320/reply04.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxMbuj5Bpn2SydUZkfUe3CB89ttW8bFQ4XJXBDYmxuS5M9YyHHgTbl75s8vIZSluvCKnDM6-cKrRJt-OvUcKZa8Xktu8OamvA8Upb2b57ugP_9CJVVmdhs8mxUw38wX-YYVxmXXxt_NczZ/s320/reply02.png

 https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggv-vAXiOvB6b-pDpURMKnj1iLcmwC_BROh5EYic9hHbXErCwm7zdR_94MqpJAqm3nahus3E_1NR2GICLerU7rn39m_boaIuseEkURdwADH1Qw_9mmskLpQ7TfrB0BwTl3aLKkj5y_ZRwd/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