I created a content type with a pollfield, but only user 1 (the first user) can vote.. rest all see the results..

I looked at the access grants and I have granted vote to all.. not only that I tried to grant even the admin poll to all still no one can vote but only user 1.. as seen here: http://popularsikh.com

Is this working at any place?? Please help.

Thank!

Comments

Drupal_’s picture

Also I created a poll which behaves normally.. so the issue looks to be with some aspect of the pollfield cck field. Another thing is that everyone (registered/anonymous) except user1 sees the result with cancel you vote button..

Drupal_’s picture

Title: Only user 1 can vote!! » This might be the issue

This might be the issue:

pollfield module --- only these two choices are shown in the access control (vote on poll is missing)

cancel own pollfield vote
inspect all pollfield votes

Drupal_’s picture

Title: This might be the issue » Where are the access control in database set?

To solve this I tried changing this

// Determine whether or not this user is allowed to vote
$pollfield['allowvotes'] = FALSE;

TO:

// Determine whether or not this user is allowed to vote
$pollfield['allowvotes'] = TRUE;

It did solve one thing i.e I could see the vote button.... but when I click the button it I gets to page pollfield/vote that says "You are not authorized to access this page."

So as mentioned in my previous post, the access control is not being properly set for pollfield.. anyone know where it is being set.. or where i could manually change in the database?

Drupal_’s picture

Title: Where are the access control in database set? » Can not vote on pollfield
Drupal_’s picture

Priority: Critical » Normal
Status: Active » Closed (fixed)

missed http://drupal.org/node/139085 that fixes it.