• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter Poll lib

#1
[eluser]Vega[/eluser]
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

https://github.com/WookieMonster/Codeigniter-Poll

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

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

#3
[eluser]Vega[/eluser]
Hi, I've uploaded a demo here: http://s42954.gridserver.com/test/ci_poll/ feel free to test it out

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

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

#5
[eluser]Vega[/eluser]
git was ignoring that file because I typed index.php instead of /index.php in .gitignore - fixed now.

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.