Drupal 6, Views 2: Is it possible to have a filter that only applies to registered users?

Posted by dajoropo on Stack Overflow See other posts from Stack Overflow or by dajoropo
Published on 2010-04-08T10:11:37Z Indexed on 2010/04/08 10:13 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

Hello,

Is it possible to create a filter in a Drupal 6 View that is only applied for registered users?

For one filter I need I'm using the user vote (With fivestar and votingapi) to know if they user already voted this node or not, and when the user is annonymous, is working as if all the votes from all the annonymous users where from the same. This is why I need to add this filter, but ignore it in case the user is annonymous.

Thanks a lot in advance for the help!

© Stack Overflow or respective owner

Related posts about drupal-6

Related posts about drupal-views