Hello,

I have a lot of votes on comments on popular articles (50+ votes for each comments, even for dumb comments). All comments on thoses nodes have these silly votes, even rather recent comments (less than 1 month). They comes undoubtly from robots, even I have "Disallow: /vote/" in robots.txt, and all vote links have "nofollow" direction.

How can we disable those links for robots? For heavily cached sites, robots = anonymous users. Thus, I think the best way could be enable vote for only JS-enabled users. Will there an option for it?

It's an bug, as currently most voted comments are all from robots.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcisio’s picture

Another approach is a list of user_agent to be banned.

jcisio’s picture

Ok, I fixed it myself with my own widget. I'll leave the module maintainers to decide on issue status.

jthomasbailey’s picture

you were allowing anonymous users to vote, right?

jcisio’s picture

Of course, but I do not consider bots as normal users.

marvil07’s picture

Status: Active » Closed (won't fix)

Yep, user agent seems to be like the best solution for this, but IMHO this is also not really in the scope of the module.

BTW for user agent detection http://drupal.org/project/browscap sounds like the better module to integrate with(this can be fixed at the widget level setting variables['show_links'] to FALSE for the banned user agent's).

jcisio’s picture

Finally I decide not to rely on user agent, as I have boost installed and both anonymous users and bots hit the same page. I use JS to show links to prevent bots from seeing them.

marvil07’s picture

Component: Code » Documentation
Assigned: Unassigned » marvil07
Status: Closed (won't fix) » Active

I will be adding some documentation about this, using robots.txt (another duplicate on #994586: Search engines vote if anonymous voting enabled?)

marvil07’s picture

Status: Active » Closed (fixed)
FileSize
1.55 KB

Adding this patch to 3.x and 2.x.

Vako’s picture

Version: 6.x-2.x-dev » 6.x-3.2
Component: Documentation » Code
Assigned: marvil07 » Unassigned
Priority: Normal » Major
Issue summary: View changes
Status: Closed (fixed) » Needs work

This is a 5 year old issue, re-opening it.
I am having the same issue and have updated the robots.txt file and checked all possible suggestions.
Using the latest version which is from 2012 and am surprised that it's being used extensively yet nobody noticing the wrong votes??
It's a great module and I love it, but cannot justify 200 up and 50 down votes on a basic comment, in a short period of time ;)

I wish there will be a solution in the module itself.

  • marvil07 committed 27fabd2 on 8.x-1.x
    #981670: Add documentation for robots.txt and custom place for node...
marvil07’s picture

Status: Needs work » Closed (outdated)

Closing D6 issues, please reopen as D7 if needed.