how to bann a particular user from commenting on your blogspot site

Could you Just imagine after setting up a successful website some folks from no angle just started spamming for traffic by commenting trash and valueless comments on your blog...And you know it is really annoying especially when you felt hopeless about helping the issue. .

blogging and blog writing


In blogger almost everything is becoming possible and everyday by day new Establishments and discoveries are been made into the blogspot sphere.

Today am going to show you a simple tutorial that will enable block a particular user from commenting on your blogspot site.

How to block users from commenting on your blogspot site



Simply get the profile url of the commentor .to get the commentors url go to the place were the user has commented and click on his name. copy the url on the address bar that is the profile url of that user.

how to add payza Donate button to my blogspot site

Now after getting the profile url of the particular user just login your Blogspot dashboard click on Template and Edit your template ....from your template find </ body> and paste bellow code just above it

<b:if cond='data:comment.authorUrl!= &quot; https://www.blogger.com/ profile/XXXXXXXXXX "' > <script> $(".comment-form").replaceWith("<p style=" color: #111; text-align: center; border: 1px solid #d2d2d2; padding: 13px; font-size: 15px; ">You are Banned from Commenting on this site</p>"); </script> </b:if>

From the above code change https:// www.blogger.com/profile/XXXXXXXXXX with the profile URL of the user . and save your template.

You can repeat this process for other users. the amount of users you can block is unlimited .

When next the user come to comment on your blog they will receive err message as bellow telling them are banned from commenting on your website as shown bellow




Drop your Email to get you Updated on our next Post!

E-mail
 

Kennedy Prosper is a top Blogger in Nigeria whose aim and reputation is finding solutions and helping beginner bloggers Online and offline.if you want to know more about me ask google

Follow me on: Twitter |Facebook| Google Plus

Previous
Next Post »