Poll system (0.9)

Download plugins, language packs and stuff.

Poll system (0.9)

Postby SwiZZeR » Mon Dec 19, 2005 6:19 pm

Version: 0.9



Possibilities:

- Works with MySQL or txtSQL

- It's possible to unlimit polls

- Answers min. - 2, max. - unlimited (see notice)

- security by IP and cookies

- It's possible to edit question and answers

- It's possible to delete all IPs of poll

- It's possible to add variant to the poll

- Poll form table and poll results table situated in the form.tpl and res.tpl. Be careful with php-code in the templates, don't change it where it's not allow!



ToDo:

- Errors check



Installing:

- Put poll.php and poll/ to the plugins/ directory on your server

- Put poll.ini to inc/lang/en(ru)/plugins directory on your server

- Put poll directory to plugins/ directory





And where you want see poll you must add this code:

cn_poll();



UPD: Fixed promblen when no activ polls.



Notice: If you want to use for ex.: 20 variants (default - 10), you must open poll.php on line 380 and change 10 to 20 :)



Enjoy :)
Attachments
poll.zip
Poll System 0.9 by SwiZZeR
(7.04 KiB) Downloaded 2513 times
Last edited by SwiZZeR on Wed Dec 28, 2005 8:25 am, edited 5 times in total.
SwiZZeR
Moderator
 
Posts: 71
Joined: Mon Oct 24, 2005 9:15 am

Postby lexa » Mon Dec 19, 2005 8:45 pm

Лёша, ты дура :).
User avatar
lexa
Creator of CuteNews.RU
 
Posts: 94
Joined: Sun Oct 02, 2005 2:55 am
Location: St.-Petersburg, Russia

Postby F_o_X » Mon Dec 19, 2005 9:36 pm

Many thanks :)



Thats what I wanted to include in CuteRU.

I wanted to have some poll system in my web page and you bring me solution :!:



I will definitely test it as soon as possible



Cheers
User avatar
F_o_X
 
Posts: 8
Joined: Sat Dec 17, 2005 12:22 pm
Location: Poland

Postby odin » Mon Dec 19, 2005 11:31 pm

- Answers min. - 2, max. - 10 (enough?) - don't create any limitatnions. From 1 to unlimited ( yes from one :D )

- security by IP (is it need by cookie?) - definetly ! and what about lan users ? or with dynamic IP's ?



SwiZZeR I mailed you at goodgirl :)
odin
Moderator
 
Posts: 138
Joined: Thu Sep 29, 2005 8:20 pm
Location: Poland

Postby SwiZZeR » Tue Dec 20, 2005 7:16 am

Лёша, ты дура.




Ах так сучка, а ты, а ты, а ты cutenews-проститутка :D



- Answers min. - 2, max. - 10 (enough?) - don't create any limitatnions. From 1 to unlimited ( yes from one )




It's stupid, i think. 1 answer is not poll!



- security by IP (is it need by cookie?) - definetly ! and what about lan users ? or with dynamic IP's ?




And what about switched off cookies?
SwiZZeR
Moderator
 
Posts: 71
Joined: Mon Oct 24, 2005 9:15 am

Postby odin » Tue Dec 20, 2005 12:50 pm

SwiZZeR wrote:
Лёша, ты дура.




Ах так сучка, а ты, а ты, а ты cutenews-проститутка :D







:D



SwiZZeR wrote:It's stupid, i think. 1 answer is not poll!




I know, but it sounds interesting :D



SwiZZeR wrote:And what about switched off cookies?




But still most of users are using cookies, and because of that, this would be a one more thing that "secures" poll.



In this 2 cases, you can still use proxy, or delete cookie, so is this stupid to even try to secure poll ? No, it would be good to have every possibility used :)
odin
Moderator
 
Posts: 138
Joined: Thu Sep 29, 2005 8:20 pm
Location: Poland

Postby BadDog » Wed Dec 21, 2005 6:50 am

SwiZZeR wrote: And what about switched off cookies?




Not a problem if cookies are turned off. No cookies no poll !!!! Simple!! :lol:





COOKIES COOKIES COOKIES YES YES YES
BadDog
 
Posts: 62
Joined: Mon Nov 21, 2005 8:19 am

Postby SwiZZeR » Wed Dec 21, 2005 8:00 am

Not a problem if cookies are turned off. No cookies no poll !!!! Simple!!

COOKIES COOKIES COOKIES YES YES YES




ОК, I'll do it...
SwiZZeR
Moderator
 
Posts: 71
Joined: Mon Oct 24, 2005 9:15 am

Postby SwiZZeR » Wed Dec 21, 2005 11:28 am

Cookies protect done :)
SwiZZeR
Moderator
 
Posts: 71
Joined: Mon Oct 24, 2005 9:15 am

Postby odin » Wed Dec 21, 2005 12:27 pm

From 2 to ∞ ?
odin
Moderator
 
Posts: 138
Joined: Thu Sep 29, 2005 8:20 pm
Location: Poland

Postby SwiZZeR » Wed Dec 21, 2005 2:32 pm

From 2 to ∞ ?




From 2 to 10.... If you want create 20 answers for example, open poll.php and instead 10 write 20 on line 365
SwiZZeR
Moderator
 
Posts: 71
Joined: Mon Oct 24, 2005 9:15 am

Postby FunnyHoops » Wed Dec 21, 2005 3:50 pm

How do you imagine'is? 20 variants of answer on a main page in a right column.... and thousands of inches of height =)

User won't answer that question and I'll say more won't read'em all till the end ;)

You gotta make a conclusion.
FunnyHoops
 
Posts: 10
Joined: Wed Dec 21, 2005 5:30 am

Postby odin » Wed Dec 21, 2005 4:36 pm

FunnyHoops wrote:How do you imagine'is? 20 variants of answer on a main page in a right column.... and thousands of inches of height =)




Well yes, but You are propablly thinking about personal or small sites. If You would like to create poll in which You list favorite movies, bands or something else 10 anwsers isn't enough :)



If you want create 20 answers for example, open poll.php and instead 10 write 20 on line 365




Thanks :) this info should be in readme :)



FunnyHoops wrote:User won't answer that question and I'll say more won't read'em all till the end ;)

You gotta make a conclusion.




So you have lazy users :lol: You should try to create community where every user shares your passion :) I did :) They read'em all till the end ;)
odin
Moderator
 
Posts: 138
Joined: Thu Sep 29, 2005 8:20 pm
Location: Poland

Postby odin » Fri Dec 23, 2005 7:32 pm

When You use "|" in one of the answers new variat is automaticly added. Can it be fixed somehow ?
Last edited by odin on Fri Dec 23, 2005 7:50 pm, edited 1 time in total.
odin
Moderator
 
Posts: 138
Joined: Thu Sep 29, 2005 8:20 pm
Location: Poland

Postby SwiZZeR » Fri Dec 23, 2005 7:35 pm

When You use "|" in one of the answers new variat is automaticly added. Can it be fixed somehow ?




Certainly! It's beta version :)



Thanks SwiZZeR




Don't mention it :)
SwiZZeR
Moderator
 
Posts: 71
Joined: Mon Oct 24, 2005 9:15 am

Next

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron