Anonymous users can view but not vote (that's what I'm after)

mattyboy - August 2, 2009 - 20:16
Project:Fivestar
Version:6.x-1.18
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there,

Could you please tell me if it is possibly to have anonymous users view the ratings but not vote on them. Something like YouTube, where you can't actually vote on videos until you've signed up for an account, but you can always see them. In the permissions screen - Admin>User Management>Permissions I get two options, 1) rate content 2) use PHP for fivestar target. If I deselect the permissions for anonymous users they then can't see the rating at all. If I have them selected, they can vote.

I'm using the latest release of drupal - 6.13, and just turning the feature on inside the content type I'm working with. have not created a separate CCK field.

Thanks for any help given

Matt

#1

blindside - August 27, 2009 - 05:36

I submitted the code to do this here: http://drupal.org/node/189527#comment-1974576

#2

mattyboy - August 27, 2009 - 22:19

Thanks blindside, I appreciate it.

#3

turadg - September 2, 2009 - 17:46

Thanks for the code blindside.

Maintainers, could this be included as an option in fivestar? It seems like a common use-case, to allow anonymous users to see votes but not vote.

If I submit a sound patch, is it likely to be included?

#4

asb - October 8, 2009 - 11:15

Hi,

> Could you please tell me if it is possibly to have anonymous users view the ratings but not vote on them.

I'm looking for the opposite fuctionality - anonymous users should be able to view the ratings and to vote on nodes with a "ratings" CCK field (configured e.g. at ./admin/content/node-type/image/fields). At the moment the CCK field seems not to allow anonymous users to vote - but it exposes it's values to views.

Anonymous users can vote on nodes, if I'm not using the CCK field but the old style mode (configured e.g. at ./admin/content/node-type/image); however, these ratings seem not to be exposed to views, and that's what I'm after.

Is this a support or a feature request? Should I open a separate isue for this?

Thanks & greetings, -asb

 
 

Drupal is a registered trademark of Dries Buytaert.