foxtrot
foxtrot

Reputation: 1096

Comments being reported and deactivated automatically

We have here a strange issue.

We have a comments form where users can submit their comment about news articles and after that submission every comment is accepted and listed in the same page.

In every comment listed we have a link that allow to report that comment. When anyone click in that link it does the following:

Step 1. It shows an alert with javascript asking to confirm the reporting (Yes or no are the possibilities).

Step 2. After the user confirm the report the comment is deactivated and hidden.

The problem is that all the comments are being reported automatically by someone or by a bot.

Do you think it's a bot? He can overcome the javascript alert? Or a user?

What do you think? Anyone can help?

Thanks in advance!

Upvotes: 1

Views: 62

Answers (2)

karim79
karim79

Reputation: 342665

I agree with Paul, but I think the main problem is in your Step 2:

Step 2. After the user confirm the report the comment is deactivated and hidden.

Those reports should be verified by someone before comments are censored - that will put off humans at least. You could implement a recaptcha to make this more difficult.

Upvotes: 1

Paul Dixon
Paul Dixon

Reputation: 300975

Does the link have a regular href which will trigger the action? If so, then it's highly likely a bot is following it. I would also make the action a hidden POST form, submitted by javascript, since this is not really something you want driven by a GET.

Upvotes: 2

Related Questions