Hi,

Filter by cookie/ip are great features implemented.. In filter by IP, if a vote is received from the IP then the Poll choices are not shown to user.. But in filter by cookie, it is not.. the poll choices are shown up even if the user cannot vote because of the cookie setup for the first vote.. If this can be fixed, it will be very much appreciated.. In short, poll choices can be hidden if user has voted already. It is happening in filter by ip but not in filter by cookies..

Also, i enabled cancel vote.. that button is also not appearing in case of (filter by cookie option).. But the actual cookies is present in the browser..

CommentFileSizeAuthor
pollfield_cookie.jpg61.09 KBmmkader85
pollfield_issue.jpg17.52 KBmmkader85

Comments

mario_prkos’s picture

I will check it. Is this happen for anonymous and authenticated users?

mmkader85’s picture

for anonymous users

mmkader85’s picture

Hi mario_prkos,

This is the only poll in drupal suit the requirements of my new site under development.. So im eagerly looking out for the stable release of it.. coz, there are some minor issues here and there (1. if not option selected while voting, it is considering the first option as choice and voting it. 2.anonymous voting not allowed is actually allowing vote).. I will keep you posted on bugs/issues as and when i happened to face it..

mario_prkos’s picture

Hi!
That is great. Good feed back is always welcome. I had pretty busy last week so I hadn't chance to check it. One thing witch will make me very happy is if you can help me to test it especially anonymous voting. There are new features in dev version which I worked for last month so it will be good to test it before I make release. I will deal with it this weekend and so keep in touch maybe I will need your assistance to track the problems.

mmkader85’s picture

Version: 6.x-1.10-beta1 » 6.x-1.11-beta1

Hi mario,

hope you are doing good. i have found one more problem. This module has greater impact on drupal_cache/cookie in unsigned state. on a signed in state its fine always. i have a block(generated from views) for pollfield which im showing in many pages. in one page it is showing only the results. i.e., the user has voted. on the other page it is showing the poll question and choices along with the result but after i cleared the drupal cache, it is showing only the results.

mario_prkos’s picture

Yes, you are right drupal use page caching for anonymous users and sometime it just gives you page where you didn't voted yet. This will be handled in next release. You can put pollfield_clear($node); at the end of function pollfield_vote() this will clear cache automatically after voting.

mario_prkos’s picture

Do you still have problem with cookies and anonymous users beside this caching problem?

mmkader85’s picture

besides cache there is no problem for me..

nibblebot’s picture

Status: Active » Fixed

fixed then?

Status: Fixed » Closed (fixed)
Issue tags: -filter, -issue, -pollfield, -poll_field, -cookie

Automatically closed -- issue fixed for 2 weeks with no activity.