Sponsored Content
Full Discussion: Polls: Change vote
Contact Us Post Here to Contact Site Administrators and Moderators Polls: Change vote Post 302331709 by Neo on Tuesday 7th of July 2009 04:23:46 AM
Old 07-07-2009
I like the idea and think we should install it.

---------- Post updated at 08:23 ---------- Previous update was at 08:08 ----------

OK, I installed it, but there is a basic problems with this modification.

The only way to select a poll so a vote can be changed is to make it a "write -in" poll. This means that, unless I rewrite the code, a user cannot change his vote unless we also allow the same usergroup to be able to write in new options.

This is OK for some polls, for example if we are asking about editors or what is your favorite movie.

However, for more fixed polls (like a few of the examples you cite), a write-in would not enhance the poll.
 

2 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Please Vote for New Forum Skin

Hi. Please visit this site, look at the different forum skins for sale and vote for a new default look for the UNIX forums. http://www.vbforumskins.com/skins.php Thanks so much. -Neo (11 Replies)
Discussion started by: Neo
11 Replies

2. News, Links, Events and Announcements

Vote for your favorite POSIX Platform

The Austin Group is running a poll on the favorite POSIX platform implementation. See http://www.opengroup.org/austin/ (0 Replies)
Discussion started by: jj25
0 Replies
HTML::Microformats::Format::VoteLinks(3pm)		User Contributed Perl Documentation		HTML::Microformats::Format::VoteLinks(3pm)

NAME
HTML::Microformats::Format::VoteLinks - the VoteLinks microformat SYNOPSIS
my @vlinks = HTML::Microformats::Format::VoteLinks->extract_all( $doc->documentElement, $context); foreach my $link (@vlinks) { printf("%s (%s) ", $link->get_href, $link->get_vote; } DESCRIPTION
HTML::Microformats::Format::VoteLinks inherits from HTML::Microformats::Format_Rel. See the base class definition for a description of property getter/setter methods, constructors, etc. Additional Methods "$link->get_vote()" Returns the string 'for', 'against' or 'abstain'. "$link->get_voter()" Returns the hCard of the person who authored the VoteLinks link, if it can be determined from context. (It usually can't unless the page is also using hAtom, and the hAtom on the page has already been parsed.) MICROFORMAT
HTML::Microformats::Format::VoteLinks supports VoteLinks as described at http://microformats.org/wiki/vote-links <http://microformats.org/wiki/vote-links>. RDF OUTPUT
Data is returned using the Tom Morris' vote vocabulary (<http://rdf.opiumfield.com/vote/>). BUGS
Please report any bugs to <http://rt.cpan.org/>. SEE ALSO
HTML::Microformats::Format_Rel, HTML::Microformats, HTML::Microformats::Format::hAtom. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT
Copyright 2008-2011 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2011-12-06 HTML::Microformats::Format::VoteLinks(3pm)
All times are GMT -4. The time now is 01:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy