Nice that a user can cancel their vote but seems like it would be something good to be able to disable.

And for my particular app it would be really nice to disable this because for some odd reason when i do a cancel i get re-directed to a full page version of the poll - which i would never want to see on my site.

Comments

anders.fajerson’s picture

Category: feature » support
Status: Active » Fixed

The cancel functionality has a permission, just remove that permission for the roles you don't want the ability to cancel a poll (under Access Control).

The "odd reason" behind the redirect to a full page version is that it's simply not implemented a AJAX cancel functionality, it's a regular form POST.

liquidcms’s picture

Thanks, i had found the access control for it.

Also, figured it was the reason behind the full page after cancel.

My client is actually looking for an application where anon can vote. I realize that the voting API doesnt really support this since it is tagging results with UID. Not actually sure how my client would expect this to work and be bot proof - i guess an IP address stamp in place of the UID.

Possibly not too much of an extension - but i guess a patch/module addon to the API as opposed to the advpoll module. We'll see how things turn out on getting the project and perhaps i may end up designing this myself.

and thanks for this module - not sure if this spawned from the post about pulling Poll from core - but i whole heartily agree - the one their kinda sucks and very hard to develop while stuck in core.

cheers,
peter...

anders.fajerson’s picture

There is actually anonymous support already (by IP)...

No, not directly spawned form that thread, but your right that we would have a harder time filling the poll module with all the feature requests :) poll.module is getting some good and needed attention in Drupal 6 though.

liquidcms’s picture

there IS anon support by IP??? Where?

liquidcms’s picture

oops.. ok.. never mind.. i think i see it - it is stored in hostname field - but of course when i am testing i am always the same IP.. duhhh!!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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