Pollfield

mario_prkos - February 14, 2007 - 16:34
Pollfield

This module creates a CCK field that behaves like the core Poll module. Instead of creating a content type, it creates a field that can be added to any content type.

The poll questions, results, active status, total number votes and runtime are Views-enabled and can be added to any Views view.

You can read about bugs and issues of every version in its release notes.

The future of Pollfield issue for discussing features and user experience about pollfield
Please take a moment, tell your opinion, your experience, your frustrations, what you like, what you don't like about Pollfield. Your opinion matters; it will determine what Pollfield will be in the future
Thank you for your contribution!

Version 5.x-1.6

Development and support are mostly focused on D6 version, so D5 version might not get full attention in solving issues.

Version 6.x-1.10-BETA1

Features

  • Single choice poll, mulitple choice poll
  • "Cancel vote" button
  • voting policy for anonymous users - don't allow, allow but filter by user IP,allow but filter by user cookie, allow without any restriction
  • close polls by cron jobs
  • predefined maximum number of possible poll responses, it is set while adding the pollfield to a content type
  • one or more pollfields can be attached to any kind of content type. This can be done by adding more than one pollfield field to a content type, or you can use the "Number of values" option under Global settings for a CCK field while adding it to a content type
  • theme function print theme('user_vote', $node,$comment) can be used to display how the comment author voted in his/hers comment for every poll in the node.
  • Integration with Views - using Views user can make list of polls sorted or filtered by questions, results, active status, total number of votes and runtime. For example you can make list of all polls which is active or most voted poll in forum etc.
  • In Views you can use five different formatters: default, all results, all choices, question, runtime. Using different formatters you can chose how poll will be displayed. For example if you chose question formatter only question of poll will be displayed.
  • you can choose to enable or disable "Cancel vote" button in poll settings
  • you can choose to allow or disallow users to see the current results before voting. If set to disallow, anonymous user can never see the results.
  • there is a global user role permission "view pollfield_results", under Pollfield module permissions (not under content_permissions module)
  • user vote is marked by bold italic letter (you can override this settings in css file)

Known problems:

some irregular behavior of anonymous voting tracked by cookie reported. If you have same problem, please report.
For solution refer to http://drupal.org/node/624804

Version 6.x-1.x-dev

New Features

  1. NEW admin permission only user with this permission can change everything in pollfield setting otherwise only question, type of poll and choices.

Features to be added

  • dynamically add more responses using javascript while adding a node with pollfield (like in Poll module)
  • results can be shown in different kind of charts
  • ranking poll

Create a View out of Pollfield information - short tutorial

  1. go to q=admin/content/types and then click managed filed link of forum topic type
  2. create new filed with name (for example) poll and save it
  3. when forum topic edited poll settings option showed so user can post the poll about forum topic
  4. create new Views in Fields add Fields: content:poll, in Filters: Node: Type = Forum topic, in Sort criteria: poll - votes asc (this mean that all poll will be sorted by number of total votes)
    In Fields formatter can be choose (for example question so the only question of poll is displayed)
  5. now you have the views that display questions of 10 most voted polls in forums

Releases

Official releasesDateSizeLinksStatus
6.x-1.10-beta12009-Nov-0816.17 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.62008-Feb-2215.06 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Nov-1416.08 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Feb-2315.06 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2007-Apr-1014.99 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.