| Author |
Message |
riri
Joined: 21 Aug 2007 Posts: 52
|
|
|
|
Hello
I have to install script on my site, but I is not survey on monsite
thank very much
|
|
| Tue Aug 28, 2007 11:51 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
scottdallas

Joined: 04 May 2006 Posts: 2214 Location: US |
|
|
| Tue Aug 28, 2007 6:23 pm |
|
 |
riri
Joined: 21 Aug 2007 Posts: 52
|
|
|
|
Thank you very much
But I always can vote still
a IP can vote once: -)
thank you
|
|
| Tue Aug 28, 2007 8:38 pm |
|
 |
x-byte
Joined: 14 Nov 2005 Posts: 170
|
|
|
|
Have anyone been working on making a ajax poll mod?
|
|
| Mon Dec 03, 2007 4:58 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 2214 Location: US |
|
|
| Mon Dec 03, 2007 6:30 pm |
|
 |
x-byte
Joined: 14 Nov 2005 Posts: 170
|
|
|
|
Ah.. sorry. Thanks for pointing that out 
|
|
| Mon Dec 03, 2007 6:51 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 400
|
|
|
|
a bit late but is it possible to set a amount of characters. No i can only have 33 characters
|
|
| Fri Jun 13, 2008 1:29 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2973 Location: Germany |
|
|
|
I can't follow you...
|
|
| Tue Jun 17, 2008 5:55 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 400
|
|
|
|
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.
|
|
| Wed Jun 18, 2008 9:01 am |
|
 |
itzzmesur
Joined: 08 Feb 2007 Posts: 35
|
|
I want to disable the cookie and ip logging in poll |
|
I want to disable the ip logging and cookie in the poll so that the user can log many times.
Pliz help
|
|
| Wed Jun 18, 2008 3:07 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2973 Location: Germany |
|
|
|
In poll.php change this:
 |  | else {
if (stristr($sql_ip_str,$ip) or $_COOKIE['poll_id'] == md5x($id)) {pollres($echo);
}
else {poll($ip, $echo);
}
} |
to this:
 |  | else {
poll($ip, $echo);
} |
|
|
| Fri Jun 20, 2008 1:21 pm |
|
 |
FvdH
Joined: 08 Sep 2008 Posts: 1
|
|
|
|
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:
 |  | 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?
|
|
| Mon Sep 08, 2008 3:30 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 400
|
|
|
|
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...
|
|
| Tue Sep 09, 2008 12:31 pm |
|
 |
al3loo
Joined: 04 Aug 2007 Posts: 65
|
|
|
|
 |  |
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:
 |  | <img height="10" src="http://www.partyism.nl/images/poll/poll_stats.jpg" width="<?=$in_percent;?>" /> |
_________________ Al3loOo IS H3R3
 |
|
| Tue Sep 09, 2008 1:49 pm |
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 400
|
|
|
|
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?
|
|
| Tue Sep 09, 2008 4:22 pm |
|
 |
|