Closed (duplicate)
Project:
Fivestar
Version:
6.x-1.19
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2009 at 12:33 UTC
Updated:
5 Feb 2011 at 01:13 UTC
HI. . . is it possible to write something ( quick fix ) . . . like this and how is this done ?
if(user_role=='judge'){
//show him the fivestar module
}
. . .
i dont want to show up at the node.tpl.php page for the simple authenticated users.
thanx!
Comments
Comment #1
quicksketchYes just set the access control for "rate content" at admin/user/permissions so that authenticated users do not have access and judges do.
Comment #2
nikitas commentedthis is ok if you only want the judges to vote.But what if i want to the judges to vote on contests and the authenticated users can vote anyway.for example only the submissions from Create Content->Submit to Contest will be available for the judges and the normal entries can be rated from anyone-authenticated.
Is this to much of a trouble\?
p.s:thanx for your quick response appreciated.
Comment #3
PeterErnst commentedHi,
there is a equal thread here: Implement View Ratings permission.
I think it's better to discuss on one thread.
Regards
Peter
Comment #4
Weka commentedMarking this as duplicate of #221181: Implement View Ratings permission