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

stevesmc posts

Feed 7 posts

Bd Croak

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

 

Looking for a poll-plugin

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

 

Looking for a poll-plugin

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

 

Bd Croak

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

 

Looking for a poll-plugin

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

 

Bd Croak

ctony – i’ve written an ajax poll based on simple poll if you’re interested?

 

Comment issue

Hi everyone,

if (Plugins::isEnabled('comment'))

Should read:

if (Plugin::isEnabled('comment'))

No ‘s’ in Plugin.