How to Hide Deleted Comments in Blogger

Well This is a Most Forbidden Task Faced Specially by the Dofollow Blog's.As Dofollow Blogs face a tag of Spamming Comments.it is a Must to Delete the Spamming Comments.But Whenever a Comment is Deleted by the Admin,Usually the Comment From Shows a Message "This comment has been removed by a blog administrator.".So To Over Come And Delete this Message here is a Simple Way.Just Follow the Below Steps.

How to Hide Deleted Comments Message in Blogger:.

Login to Blogger < Template < Proceed
Check Expand Widget Templates Option 

Now Search for the Same or the Similar Code to the Below One..







<b:loop values='data:post.comments' var='comment'>




<dt expr:class='&quot;comment-author &quot; + data:comment.authorClass' expr:id='data:comment.anchorName'>




<b:if cond='data:comment.favicon'>


<img expr:src='data:comment.favicon' height='16px' style='margin-bottom:-2px;' width='16px'/>


</b:if>




<a expr:name='data:comment.anchorName'/>




<b:if cond='data:blog.enabledCommentProfileImages'>


<data:comment.authorAvatarImage/>


</b:if>




<data:comment.author/>




<data:commentPostedByMsg/>


</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>




Usually it is easy to Search Half of the code. So Try Searching the Highlighted Text in the Above Code.
Once You've Found the Above Code Then Do the Following Changes to it.

Copy the Below Code and Paste it Just After the 
<b:loop values='data:post.comments' var='comment'>..








<b:if cond='data:comment.isDeleted'>


<b:else/>




Now Copy The Below Code and Paste it Just before 
</b:loop>.



</b:if>



That's it Now Save the Template and You're Done.

0 comments:

Blogger Template by Clairvo