Prevent node's author to vote on his node

David Stosik - September 19, 2007 - 14:13
Project:jRating
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:David Stosik
Status:closed
Description

Hello,
We're using jRating module, which works well, but our customer wanted to add this rule : "an author wan't rate his own nodes".
Attached is the patch we made from our modification.
We simply added administration options which allow to choose to not display the jRating form to the user, if he is the author of the node.
What do you think of this modification?

Thank you for your feedback,
David

AttachmentSize
jrating_prevent_author_vote.patch3.75 KB

#1

hickory - September 19, 2007 - 14:24
Status:needs review» reviewed & tested by the community

That's useful, thanks. I'll look at adding the patch ASAP.

#2

hickory - November 22, 2007 - 16:07
Version:5.x-1.0» 5.x-1.x-dev
Status:reviewed & tested by the community» fixed

#3

Anonymous - December 6, 2007 - 16:14
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.