Download & Extend

Prevent node's author to vote on his node

Project:jRating
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:David Stosik
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:needs review» reviewed & tested by the community

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

#2

Version:5.x-1.0» 5.x-1.x-dev
Status:reviewed & tested by the community» fixed

#3

Status:fixed» closed (fixed)

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

nobody click here