Sun, 24 Nov 2024
Total Visits
35385664
Visitors today:
1129
Main Menu
Home
Free Scripts
Forum
Guestbook
Repository
Contact
Our Sponsors
Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
Search
Hottest Topics
Member Listing
FAQ
Register
/
Login
How to get comments
Forum Index
»
Support Forum
Author
Message
21/03/2004 14:15:12
Subject:
How to get comments
René
Beginner
Joined: 21/03/2004 14:12:11
Messages: 14
Offline
Hello.
I'm busy to put up my first poll.. It's the Advanced Poll 2.0.3
I am using this code:
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Poll</title>
</head>
<body>
<?php
include_once "c:/www/poll/textfile/booth.php";
echo $php_poll->poll_process(5);
?>
</body>
</html>
And now my poll works , but the comments i wrote myself or others don't show...
But i see them in my administraton
Please would you be so kind and help me ?
Thank you
I wish you have a very nice day
21/03/2004 21:14:50
Subject:
René
Beginner
Joined: 21/03/2004 14:12:11
Messages: 14
Offline
Ok after studying some more, i came to this :
my folder is on
C:/www/poll/db and
C:/www/poll/textfile
<Html>
<head>
<meta name=
"GENERATOR"
content=
"Microsoft FrontPage 5.0"
>
<meta name=
"ProgId"
content=
"FrontPage.Editor.Document"
>
<meta http-equiv=
"Content-Type"
content="
text/html; charset=windows-1252"
>
<title>
New Page 1
</title>
</head>
<body>
<?php
include_once "c:/www/poll/textfile/booth.php";
echo $php_poll->poll_process(5);
?>
<?php
/* Include this before your html code */
include
"./db/poll_cookie.php";
?>
<?php
/* path */
$poll_path = "/www/poll/db";
require
$poll_path.
"/include/config.inc.php";
require
$poll_path.
"/include/$POLLDB[class]";
require
$poll_path.
"/include/class_poll.php";
require
$poll_path.
"/include/class_pollcomment.php";
$CLASS["db"] =
new
polldb_sql;
$CLASS["db"]->connect();
$php_poll = new pollcomment();
/* poll */
$php_poll->set_template_set(
"plain"
);
$php_poll->set_max_bar_length(
125
);
$php_poll->set_max_bar_height(
10
);
echo
$php_poll->view_poll_result(
1
);
/* poll comments */
$php_poll->set_template(
"poll_comment"
);
$php_poll->set_comments_per_page(
5
);
$php_poll->set_date_format(
"d/m/Y H:i"
);
$php_poll->data_order_by("
time","desc
");
echo
$php_poll->view_poll_comments(
1
);
echo
$php_poll->get_comment_pages(
1
);
?>
</body>
</html>
I see the poll, and it works... but there is no comments on the site like the demo 2
My website give me this 1 error
Fatal error
: Cannot redeclare class poll in
c:\www\poll\db\include\class_poll.php
on line
10
Please..... anyone.....?
I wish you have a very nice day
11/09/2004 18:12:15
Subject:
René
Beginner
Joined: 21/03/2004 14:12:11
Messages: 14
Offline
ok it's working
I wish you have a very nice day
19/11/2004 16:35:44
Subject:
Anonymous
tell us how you made them working...
22/11/2004 14:12:19
Subject:
Anonymous
Can anyone shed some light on how you get comments to show up please.
I've read the instructions but still can't work it out.
22/11/2004 19:31:23
Subject:
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
May help a bit...
http://proxy2.de/forum/viewtopic.php?t=3823
Auron
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
Forum Index
»
Support Forum
Go to:
Select a forum
General Discussion
Support Forum
German Forum
Advanced Guestbook Forum
Advanced Guestbook Modifications
Based on the open source
JForum