I am looking for a way to remove votes to control users voting for themselves and skewing results. Any ideas?

Comments

ola90@drupal.ru’s picture

I insert the widget into nodes and comments manually and use the following code:

    <?php global $user; ?>
    <?php if ($user->uid): 
    if ($user->uid!=$node->uid): ?>
     <?php print $vote_up_down_widget; ?>
     <?php else: ?>
     <?php print $vote_up_down_points; ?>
    <?php endif?>
    <?php else: ?>
    <?php print $vote_up_down_points; ?>
   <?php endif?>

It shows anonymous users and the node author only points, no buttons.

awong’s picture

Category: support » feature

this one is a feature request right?

marvil07’s picture

Status: Active » Closed (won't fix)

No more features to 5.x, please take a look to the update on the project page, now 5.x is not-really-maintained.

there is a related ask for this on #554360: Disallow Voting on Your Own Content