Friday

How To Block Someone to Commenting On Your Blogspot Blog

In this article i teach you that how to prevent someone from commenting on your blogger blog. This tutorial is very helpful for you if your blog is effected by spam comments links of someone. In blogger platform all control in your hand & you have  power to block someone from commenting on your post.

How To Block Someone From Commenting On Your Blogspot Blog


In blogger platform you can block any targeted spammer and prevent them to access your blogger comment form by following some simple steps.


How To Block Someone From Commenting On Your Blogspot Blog

( Steps to block a specific person)

1. Find their blogger profile url something like this https://www.blogger.com/profile/xxxxxxxxxxx.

( See how to get id)


how to get blogger profile id


2. Log in Blogger and go to theme section.
3. Go Edit Html.
4.  Copy code from below and paste above </body> tag.


<b:if cond='data:blog.pageType != &quot;index&quot;'>
<b:if cond='data:comment.authorUrl!= &quot;https://www.blogger.com/profile/xxxxxxxxxxxxxxxx"' >
<script>
 $(".comment-form").replaceWith("<p style=" color: #111; text-align: center; border: 1px solid #444444; padding: 13px; font-size: 15px; ">You are Banned!! cause spam activities.</p>");
</script>
</b:if>
</b:if>

5. https://www.blogger.com/profile/xxxxxxxxxxxxxxxx change it with spammer's  blogger profile id.



and save theme all done your spam commenter get blocked and he will not access your comment system for commenting and making spam.

Thanks for reading, I hope you like How To Block Someone From Commenting On Your Blogspot Blog  article. Don't forget to read our hindi article about How to prevent user to posting a link via comment..

2 comments:

  1. how to get victim blogger blogger profile? pls reply

    ReplyDelete
    Replies
    1. you can use Google + id.

      or wait some time i will update this post.

      Delete