Closed (duplicate)
Project:
Vote Up/Down
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2006 at 07:11 UTC
Updated:
8 Oct 2012 at 06:01 UTC
Jump to comment: Most recent
Comments
Comment #1
frjo commentedIt could be added as a setting and I may take a look at it if I have some free time :-).
Comment #2
marcoBauli commentedyep, that would make much more "par condicio" ;) +1
Comment #3
ola90@drupal.ru commentedI used the following code in node.tpl.php to solve this issue:
It shows only points to anonymous users and the author of the node, but other authorised users see the voting widget.
Comment #4
madjr commentedumm , i can't actually get the code above to work. Dunno what i may be doing wrong.
Another strange thing is that users can also vote for themselves in the "preview" screen before posting (). After that they can still vote for themselves again once the node/comment is posted.
Comment #5
madidus commentedHas anyone come across a fix that works for this? I'm trying to eliminate the same problem
Comment #6
Anonymous (not verified) commentedI've just done a hack, it works for me, YMMV ;) Also I've only done it for nodes and comments, not links, but shouldn't be hard to work out how to do it from what I've done here.
In vote_up_down.module, lines 208-246 are currently:
Replace them with this:
Use at your own risk ;)
Comment #7
Ainur commentedIncredible, after 3 years of development, users still can vote on own content!
Just add more checks on vote_up_down_vote();
instead of
use
Comment #8
rbl commentedAinur, what version is that code for? It doesn't match the latest 6 versions...
Ricardo
Comment #9
Flying Drupalist commentedI think we should unpostpone it! :)
Comment #10
drupov commentedsubscribe
Comment #11
Ainur commentedrbl, it's for 5.x version
Comment #12
rbl commentedOh =(
Thanks!
Comment #13
drupov commentedHi, for 6.x-version please check this issue: http://drupal.org/node/554360
Comment #14
marvil07 commentedlike mentioned in #13, this is now tracked on #554360: Disallow Voting on Your Own Content
Comment #15
bluesky_still commentedIncredible, after 3 years of development, users still can vote on own content!
2012 rate modules still I met this problem.
Comment #16
marvil07 commented@天空蔚蓝: I do not see the point on changing the metadata of this issue. Please see hook_vud_access().