Content last modified Monday 3 November 2014
hop to #bottom
Categories:
Author:
About It:
Get it:
Rate it:
  • Helpful?
  • 3 Yes
  • 3 No
Flag it:
Contact Reason [ ? ]

pap_xpoll

pap_xpoll is based on x-poll by X-scripts. All credits go to X-scripts.

Features:

Unlimited option choices for Polls.
Choose from protecting your polls with IP and/or Cookie Protection.
Choose the images that are displayed for each option when displaying a polls result. Even get X-Poll to randomise them each time.
Choose when the poll starts.
Choose when the poll expires.
Choose how often (years/months/days/hours/minutes/seconds) the user can vote on the same poll.
Decide if users can view results before they vote.
Add/Edit/Delete/View Polls
Use the IP Blocker to prevent malicious users from voting.
Upload/Rename/Delete images that can be used in poll results.

Display polls on your website:

Insert <txp:pap_xpoll /> in your page template, a form or an article where you want the poll to be displayed. This will display the latest visible poll of all your polls.
To display a specific poll on a page (for example a poll with ID 2) insert <txp:pap_xpoll poll="2" /> in your page template. It’s safe to display one poll on every page. If you display more than one poll on the same page, the submit your vote function will work fine for each poll, but if you click on the “view results” link, the results of all polls on the same page will be displayed.
The poll form and the results will be displayed on the same place.
This plugin has been tested with all default url modes of textpattern 1.0rc3 (version of 29 april 2005) using sections and categories (url like siteurl/?c=anything).
You can asign CSS to the poll form and the results output (see help text for the id’s).

Installation:

Download pap_xpoll.zip.
Unzip the contents of pap_xpoll.zip. Copy the xpoll and install folders to your textpattern folder on your webserver.
Open textpattern/install/install.php on your webserver. Below are descriptions of the values you will need to enter:
$user_db = This is your MySQL username (DEFAULT = ‘root’)
$pass_db = This is your MySQL password (DEFAULT = ‘’)
$host_db = The name of the host Textpattern resides (e.g. localhost)
$db = Enter the name of your txp database.
Point your browser to textpattern/install/install.php and follow the options and press install. This will add 4 tables (polls, options, ip, blocked – without any table_prefix) to your txp database.
Delete the textpattern/install folder after the installation.
Insert into the textpattern/xpoll/htaccess file on line 1 and 2 your domainname. Rename the htaccess file to .htaccess.
Install the pap_xpoll plugin from pap_xpoll.txt.
You should then find in the admin section of textpattern a page named “polls” under the “extensions” tab.

Please see the help text for further information. This Version 0.1 is only available in english. But I’m working on a german translation and the general possibility to add other language files.

This is my first plugin, so forgive me if anything goes astray.

Article Request Count:
Initially released:
2005-06-13
Posted here:
04 Jul 2005
Article modified:
29 Dec 2013

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Commenting is closed for this article.

Commented (11)

Can’t download the file.

Following error message:

Konnte nicht mit Mysql-Datenbank verbinden
Fehler: Can’t connect to MySQL server on ‘mysql1.nefserver.lan’ (113)
is it just me or it doesnt support UTF8 ? :(
How can i use images for results? Where copy images?
Avalaible for italian translation.
Alex:

I like the plugin very much, but there is no editing capability once you’ve created your poll. There is an edit link, but the title of the poll and the options are not editable. It would be nice to not have to edit the database entries directly every time I need to make a change. Otherwise, great plugin!

I cant download the plugin…

Seems the plugins author is not caring for the plugin anymore. maybe someone else likes to take it over? However you can download the v02 from here
pap_xpoll_v02.zip

tingeltangeltill:

just delete the www from the url and the plugin is available

http://txp.seitenweberei.ch/

Hallo
funktioniert das Plugin mit der aktuellen TXP 4.06 und wird es noch weiter entwickelt bzw. gepflegt?

Die Seite gibt es gerade nicht: http://txp.seitenweberei.ch/
oder gar nicht mehr?

Bashir:

Can’t download !
Any other link please :-(

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

Would you care to write a comment or visit the forum discussion?

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.