If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
PIE POLL  XML
Forum Index » Support Forum
Author Message
cmarangon
Beginner

Joined: 20/08/2004 19:43:38
Messages: 10
Offline

Hello!

I have a poll from proxy2.de installed in my domain because it is given by an apliction called FANTASTICO, that comes with CPANEL.

My problem is:
Why PIE POLL does not work?
When I config it to PIE POLL it shows a normal horizontal bar poll.

Can anyone help me?


Best regards,

Carlos
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

I have seen a couple of posts from Auron (who is probably the best expert here on the polls) that indicate Fantastico is not a good choice to use. I think he recommends downloading the script and installing it yourself. Otherwise, maybe compare your code to that on the demo page.

Here's that post from Auron:

http://proxy2.de/forum/viewtopic.php?t=3463&highlight=fantastico
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

To get it to display as a pie chart the code you need is this...



For the names of other template sets go to the admin panel and its one
of the menu options at the top. When you get to the page where you can
edit the templates there'll be a drop down menu where you can select
different template sets to edit and use.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
cmarangon
Beginner

Joined: 20/08/2004 19:43:38
Messages: 10
Offline

Thanks,

but where do I need to include this code?

I will try the code below for index.php running at my http://localhost/poll/index.php
as pol ID = 5 .

<?php
include_once "c:/easyphp/www/poll/db/booth.php";
echo $php_poll->poll_process(5); // x = Poll ID
/* Set Template */
$php_poll->set_template_set("graphic");

?>

[]

Carlos
cmarangon
Beginner

Joined: 20/08/2004 19:43:38
Messages: 10
Offline

Hello!

It works, but comments are not shown. Why?

[]
Carlos
Anonymous







http://proxy2.de/poll/demo_6.php
cmarangon
Beginner

Joined: 20/08/2004 19:43:38
Messages: 10
Offline

This does not work and it returns an error:
Fatal error: Call to undefined function: set_template() in /home/areajesu/public_html/poll/p8.php on line 7


Sincerely,

Carlos
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum