Author |
Message |
20/05/2003 23:10:47
|
Anonymous
|
Is it possible to make a custom page called archives or so, to allow users to see all past polls?
|
|
29/11/2003 13:38:12
|
Anonymous
|
I want to know that 2!
|
|
29/11/2003 14:12:51
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
yes in short.
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
02/12/2003 19:55:12
|
Remi Sture
Newbie
Joined: 06/11/2002 17:53:21
Messages: 4
Offline
|
<?php
require "poll/include/config.inc.php";
require "poll/include/$POLLDB[class]";
require "poll/include/class_poll.php";
require "poll/include/class_pollcomment.php";
require "poll/include/class_plist.php";
$CLASS["db"] = new polldb_sql;
$CLASS["db"]->connect();
$php_poll = new plist();
/* poll */
$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length(200);
$php_poll->set_max_bar_height(10);
if (isset($HTTP_GET_VARS['poll_id'])) {
echo $php_poll->poll_process($HTTP_GET_VARS['poll_id']);
} else {
echo $php_poll->poll_process("newest");
}
/* poll list */
$php_poll->set_template("poll_list");
$php_poll->set_date_format("d/m/Y");
echo $php_poll->view_poll_list();
echo $php_poll->get_list_pages();
?>
|
|
29/12/2003 01:30:59
|
Anonymous
|
I have created about 20 polls and want to divide them into different categories.
For example. If the polls are money related, then it would appear in money.php, if the polls are sports related, then it would appear in sports.php, etc. etc.
I know there is a view all list.. but can Iselectively show which polls to appear on a specific page.
/* poll list */
$php_poll->set_template("poll_list");
$php_poll->set_date_format("m/d/Y");
echo $php_poll->view_poll_list();
echo $php_poll->get_list_pages();
thanks,
Mike
|
|
05/01/2004 02:53:06
|
climber
Newbie
Joined: 05/01/2004 02:50:46
Messages: 1
Offline
|
so you can't use the standard format???
<?php require "../../poll/booth.php"; echo $php_poll->view_poll_result(5); ?>
I'd like to use it in different places on the same page to display multiple polls? it doesn't seem to work for me...
climber
|
climber
http://www.neclimbs.com |
|
|