Feed on Posts or Comments

Personal Daantje on 27 Dec 2006 11:17 pm

MySQpolL

A simple poll like you see it on most of the sites. This polls layout is completly dynamic trough a CSS stylesheet. I’ve also scripted a little admin tool for it. The poll is easely implemented in your page or site. Just use the demo index.php and copy paste some code into it, or the othe way around… I still havn’t the time to make a MySQL table installer. So you’ll have to know how to add the MySQL tables to your database, before you can use my code. (It should be easy for you when you use phpMyAdmin for adding and editing MySQL databases and tables)

FEATURES:

Here are the features of the current version 0.0.3

  • XHTML compatible.
  • CSS layout.
  • Poll history.
  • Admin tool.

LICENSE:

GPL (http://www.gnu.org/licenses/gpl.txt)

SUPPORT:

Please report any bugs to me at daantje dot nl

DONATE:

Please support this project by paypal donations, (my email is my paypal address)

Help me develop this and other projects. Donate to the good cause.
donation button

DOWNLOAD:

Download and untar the file (tar -zxvf MySQpolL.tgz), upload it, read the README.txt file, create the MySQL tables and point your browser to the example. Windows users can use WinRAR to decompress the file.

  • Download file: MySQpolL.tgz
  • Last update: 16 Feb 2003 21:52:10

EXAMPLE

This example is included in the package. This online example doesn’t have a lock on it, so after reload, you can vote again. The original version in the package does have a lock!

Do you want an example with full CSS layout options exploited?
YES!
No, this will do…

8 Responses to “MySQpolL”

  1. on 18 Oct 2007 at 1:04 pm 1.Ranie said …

    Yo! A “small” problem… The MySQpolL.conf.inc.php is missing from the package :)

  2. on 18 Oct 2007 at 1:11 pm 2.Daantje said …

    The config is all in the index.php, so you can delete that include line.

  3. on 18 Oct 2007 at 1:18 pm 3.Daantje said …

    Where do you have that include line anyway??

  4. on 18 Oct 2007 at 4:04 pm 4.Ranie said …

    In the read me… It tells me to edit that file… :) But cool I’ll check it out

  5. on 18 Oct 2007 at 5:20 pm 5.Daantje said …

    Will fix it ;)

  6. on 03 Feb 2008 at 11:45 am 6.Evgheny said …

    Hello. I have a problem. It gives me an error:
    Fatal error: Cannot use object of type stdClass as array in /home/pollv2/admin.php on line 38
    Could you let me know what I should do?

  7. on 03 Feb 2008 at 1:29 pm 7.Daantje said …

    stdClass? That is the standard PHP class… Does the example work on your server, without any changes but the mysql connect configuration?

    I think that your code is missing something like this;
    $MySQpolL = new MySQpolL(); //init the class

    Or you are missing quotes somewhere, an example;
    $MySQpolL->config[vote_button] = “VOTE”;
    give errors, it should by like this:
    $MySQpolL->config[’vote_button’] = “VOTE”;

    You can do at the bottom of your script this to check what is in your object:
    print_r($MySQpolL);

    I can help if you mail me your code…

  8. on 09 Feb 2008 at 12:07 am 8.Daantje said …

    Found the problem, the script is NOT php5 compatible… May be someone can port/debug it? I don’t have the time…

Trackback | Comments RSS Feed

Leave a Reply

You must be logged in to post a comment.