Poll system (0.9)

Download plugins, language packs and stuff.

Postby riri » Tue Aug 28, 2007 11:51 am

Hello
I have to install script on my site, but I is not survey on monsite
thank very much
riri
 
Posts: 51
Joined: Tue Aug 21, 2007 8:32 pm

Postby scottdallas » Tue Aug 28, 2007 6:23 pm

riri, have you tried Polls in Posts also found in Additional Downloads? It will provide a ton of poll flexibility.

http://english.cutenews.ru/forum/polls- ... t1337.html

You'll be able to use [poll]Option 1
Option 2
Option3[/poll] in your short and full story thanks to FI-DD
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby riri » Tue Aug 28, 2007 8:38 pm

Thank you very much

But I always can vote still
a IP can vote once: -)
thank you
riri
 
Posts: 51
Joined: Tue Aug 21, 2007 8:32 pm

Postby x-byte » Mon Dec 03, 2007 4:58 pm

Have anyone been working on making a ajax poll mod?
x-byte
 
Posts: 170
Joined: Mon Nov 14, 2005 6:31 am

Postby scottdallas » Mon Dec 03, 2007 6:30 pm

Check my post above.. that's a link to FI-DD's ajax poll system. It works different but can be customized to do many things. No page refresh on any vote :)
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby x-byte » Mon Dec 03, 2007 6:51 pm

Ah.. sorry. Thanks for pointing that out :)
x-byte
 
Posts: 170
Joined: Mon Nov 14, 2005 6:31 am

Postby Partyism » Fri Jun 13, 2008 1:29 pm

a bit late but is it possible to set a amount of characters. No i can only have 33 characters
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby FI-DD » Tue Jun 17, 2008 5:55 pm

I can't follow you...
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Partyism » Wed Jun 18, 2008 9:01 am

Well you can insert a amount of answers and put a option in it.
Say:

You like cuteru?!
1. Yes i do
2. Hell Yeah
3. Cutewhat?

The answers that i set in the poll system menu only allow 33 characters.
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

I want to disable the cookie and ip logging in poll

Postby itzzmesur » Wed Jun 18, 2008 3:07 pm

I want to disable the ip logging and cookie in the poll so that the user can log many times.

Pliz help
itzzmesur
 
Posts: 35
Joined: Thu Feb 08, 2007 8:11 am

Postby FI-DD » Fri Jun 20, 2008 1:21 pm

In poll.php change this:
Code: Select all
      else {
            if (stristr($sql_ip_str,$ip) or $_COOKIE['poll_id'] == md5x($id)) {pollres($echo);
            }
            else {poll($ip, $echo);
            }
      }


to this:
Code: Select all
else {
   poll($ip, $echo);
}
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby FvdH » Mon Sep 08, 2008 3:30 pm

Hi,

First of all, I want to thank you for this great script. But after I installed and actived the poll system, an error appeared when I tried to read an article. Before this the script worked great. It says this:

Code: Select all
Fatal error: Cannot redeclare poll_addtooptions() (previously declared in /usr/home/deb3792/domains/domain.nl/public_html/area51/nieuws/plugins/poll.php:15) in /usr/home/deb3792/domains/domain.nl/public_html/area51/nieuws/plugins/poll.php on line 27

Does anyone know how to solve this problem?
FvdH
 
Posts: 1
Joined: Mon Sep 08, 2008 3:22 pm

Postby Partyism » Tue Sep 09, 2008 12:31 pm

i have tried this:

Next code is printing the results of poll.
Default, for example: 25%.
If you want to use image you need replace this: <?=$in_percent;?> on line 23
to this: <img height="10" src="/path/to/image.ext" width="'.$in_percent.'">

So my input:
<img height="10" src="http://www.partyism.nl/images/poll/poll_stats.jpg" width="'.$in_percent.'">

But the result bar stays 1 pixel of width. The more votes it wont get any longer...
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

Postby al3loo » Tue Sep 09, 2008 1:49 pm

Partyism wrote:So my input:
<img height="10" src="http://www.partyism.nl/images/poll/poll_stats.jpg" width="'.$in_percent.'">

But the result bar stays 1 pixel of width. The more votes it wont get any longer...


I think it should be:
Code: Select all
<img height="10" src="http://www.partyism.nl/images/poll/poll_stats.jpg" width="<?=$in_percent;?>" />
Al3loOo IS H3R3

Image
al3loo
 
Posts: 65
Joined: Sat Aug 04, 2007 2:19 am

Postby Partyism » Tue Sep 09, 2008 4:22 pm

thnx for the tip. Its working.
Still one tiny problem. behind the image there is no amount of votes on that option. And when there is no vote on a option there is a blank line.
Cant this by default be 1 pixel wide?
Partyism
 
Posts: 399
Joined: Tue Sep 25, 2007 6:24 pm

PreviousNext

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron