Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Poll lib

Hi everyone, I thought I would post a poll library that some of you might find useful. Here are the main features:

- Supports multiple polls
- Prevents multiple votes by logging ip address to the database (no cookies, its too easy to spam)
- Supports multiple options
- Maximum and minimum number of options can be defined in config
- Multiple votes allowed or not can be set in config
- Interval between votes can be set in config
- Close and open polls
- Included jQuery for handling variable poll option inputs


Please note that a database that supports foreign keys is required (probably MySQL/InnoDB), some methods will not work correctly without it.

This is my first lib that I've posted on here so any comments/feedback etc appreciated Smile

[eluser]RaZoR LeGaCy[/eluser]
Can we see a link to this in action.

Hi, I've uploaded a demo here: http://s42954.gridserver.com/test/ci_poll/ feel free to test it out

[eluser]Bart v B[/eluser]
Hi Vega,

Found a bug in your code. Smile
I am missing in the views/polls/index.php

git was ignoring that file because I typed index.php instead of /index.php in .gitignore - fixed now.

[eluser]Bart v B[/eluser]
Thnx. for the fix Vega.

Theme © iAndrew 2016 - Forum software by © MyBB