Wednesday 30 November 2011

Simple Poll

Simple Poll is a free poll script that employs a simple to use admin interface. It also uses CSS for your poll so that you can easily adapt to the look and feel of your web site. Setup as many polls as you like and include them in your website at different locations. Don’t let the name fool you, this is a fully functional modernized poll system for your web site.
Requirements

PHP 5+ -http://www.php.net
MySQL 5+ – http://www.mysql.com

MySQL Database Setup

Open sql.txt in the main Simple Poll folder.
Paste the contents into a tool that can execute SQL commands for your MySQL DB

Installation

NOTE: You may want to limit access to your script admin directory by using .htaccess or other methods.
Follow the MySQL Database Setup Before Continuing
Open config.inc.php in the root folder and modify the settings for your server
Upload to your server

How to Use Simple Poll (Admin Area)

Goto http://domain/to/dir/admin/index.php to setup your polls
There you will be able to view, add, modify and delete polls

How to Use Simple Poll (Poll Usage)

Simple Poll can be used on your site using the following (example.php can get you started – includes everything needed)
First, you will need the css/default.css, js/jquery-1.5.2.min.js, js/jquery.formerize-0.1.js, and js/simplepoll.js files included in the head of your html documents that use the below include file.
PHP include statement. Change “pollid” to the poll you wish to display. This code is also displayed for each poll in your admin area for you to copy and paste.
Layout / Style can be modified in css/default.css to make your polls look more like your website.
Download

No comments:

Post a Comment