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

quicksketch’s picture

Category: task » support

Yes just set the access control for "rate content" at admin/user/permissions so that authenticated users do not have access and judges do.

nikitas’s picture

this 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.

PeterErnst’s picture

Version: 6.x-1.17 » 6.x-1.19
Category: support » feature

Hi,



there is a equal thread here: Implement View Ratings permission.



I think it's better to discuss on one thread.



Regards



Peter

Weka’s picture

Status: Active » Closed (duplicate)

Marking this as duplicate of #221181: Implement View Ratings permission