FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

Looking for a poll-plugin

Feed 8 posts, 6 voices

Avatar
1 posts

Hi.

Since the link to Bdesigns poll-plugin didn’t work, I was wandering if there is anybody who got it, and could send me the files?
Or is there any other poll-plugin I could use?

Thanks!
post (at) thomasnotland.com

Thomas.

 
Avatar
7 posts

Hi Thomas, i couldn’t find a poll either so wrote one myself which uses ajax, i can send to you if you’re interested?

Steve

 
Avatar
1 posts

Yeah! If you could send it to this email, it would be great! post(at)thomasnotland.com

thanks!

 
Avatar
7 posts

Email sent – Instructions are below in case you missed them:

Installation:

1) Please make sure you have the latest version of frog installed before installing this plugin.

2) Extract contents of stevespoll.zip into \frog\plugins\stevespoll

3) Before enabling the plugin, please make sure frog is not installed in a sub dir, otherwise you’ll need to change the absolute paths in ‘poll.js’ and ‘miniPoll.class.php’

e.g. (poll.js) —-> var url="/frog/plugins/stevespoll/pollvote.php";
e.g. (miniPoll.class.php) —-> $this->bar_image = "/frog/plugins/stevespoll/images/bar.gif";

4) Goto Administration Menu and Enable Steve’s Poll Plugin – 3 tables should be automatically created if they do not exist (poll_check, poll_data & poll_desc)

5) Click Plugin ‘Settings’ and create a poll question, then click ‘Activate’

6) To show the poll, include the following in a page, snippet or layout:

<?php
if (Plugin::isEnabled('stevespoll')) 
   stevespoll(); 
?>

—————————————————————————————-
The cookie timeout is currently set to expire to 3 hours in miniPoll.class.php, you can change this by changing this value:
e.g. (miniPoll.class.php) —-> $this->timeout = $this->timestamp - 1800;

Let me know how you get on,
Regards,
Steve

 
Avatar
7 posts

Something i forgot:

You’ll need to add this in the <head> of your layout too :

<?php
if (Plugin::isEnabled('stevespoll')) {?>
<link rel="stylesheet" href="<?php echo URL_PUBLIC; ?>frog/plugins/stevespoll/poll.css" type="text/css" />
<script type="text/javascript" src="<?php echo URL_PUBLIC; ?>frog/plugins/stevespoll/poll.js"></script>
<?php 
}
?>

Regards,
Steve

 
Avatar
18 posts

stevesmc, could you mail me the poll plugin also please?

 
Avatar
2 posts

great help!

 
Avatar
9 posts

steven, can u mail me too with your poll plugin?
info(eta)itmarks(dot)lt

 
Avatar
1 posts

stevesmc u r the only one who has a working poll plugin for frog 095.
could u please publish this plugin?

a lot of people want this!

tnk U