Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Poll system (0.9)
Goto page Previous  1, 2, 3, 4, 5  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Poll system (0.9)
Author Message
riri



Joined: 21 Aug 2007
Posts: 26

Post Reply with quote
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 View user's profile Send private message
Guest








Please login to hide the ads.

scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
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-in-posts-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

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Tue Aug 28, 2007 6:23 pm View user's profile Send private message Visit poster's website AIM Address
riri



Joined: 21 Aug 2007
Posts: 26

Post Reply with quote
Thank you very much

But I always can vote still
a IP can vote once: -)
thank you
Tue Aug 28, 2007 8:38 pm View user's profile Send private message
x-byte



Joined: 14 Nov 2005
Posts: 170

Post Reply with quote
Have anyone been working on making a ajax poll mod?
Mon Dec 03, 2007 4:58 pm View user's profile Send private message Visit poster's website
scottdallas



Joined: 04 May 2006
Posts: 1843
Location: US

Post Reply with quote
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 Smile

_________________
www.scottdizzle.com uses cnr Smile
last update: 07-22-08: 8:30 pm
Mon Dec 03, 2007 6:30 pm View user's profile Send private message Visit poster's website AIM Address
x-byte



Joined: 14 Nov 2005
Posts: 170

Post Reply with quote
Ah.. sorry. Thanks for pointing that out Smile
Mon Dec 03, 2007 6:51 pm View user's profile Send private message Visit poster's website
Partyism



Joined: 25 Sep 2007
Posts: 268

Post Reply with quote
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 View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

Post Reply with quote
I can't follow you...
Tue Jun 17, 2008 5:55 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 268

Post Reply with quote
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 View user's profile Send private message
itzzmesur



Joined: 08 Feb 2007
Posts: 35

Post I want to disable the cookie and ip logging in poll Reply with quote
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 View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2736
Location: Germany

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


to this:
Code:
else {
   poll($ip, $echo);
}

Fri Jun 20, 2008 1:21 pm View user's profile Send private message
FvdH



Joined: 08 Sep 2008
Posts: 1

Post Reply with quote
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:
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 View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 268

Post Reply with quote
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 View user's profile Send private message
al3loo



Joined: 04 Aug 2007
Posts: 60

Post Reply with quote
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:
<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 View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 268

Post Reply with quote
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 View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.