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 
Advanced Poll.  XML
Forum Index » Support Forum
Author Message
Anonymous



I got the poll installed and working ok. i use this code to load my main content in the content box and when i make a vote it gose through, but it takes the content out of the main box. im wondering if their is a way to change that.

sorry, if im not good at explaning things. but here is a page where you can see what im talking about.
http://www.rageamv.net/a/a.php?b=home
Anonymous



OK so i think I am just an idiot about this or something but can somebody tell me what I am doing wrong, I take the code from the advance poll admin page the setup part that says how to put it into the HTML page but the html page reads one of the ">" as the end of a code and I end up with this "poll_process(5); ?> " in the table instead of the poll. Please help. Thanks.

Page is at http://www.mindjakk.com/whatsnew.htm
Auron
Expert
[Avatar]

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

Mindjakk wrote:OK so i think I am just an idiot about this or something but can somebody tell me what I am doing wrong, I take the code from the advance poll admin page the setup part that says how to put it into the HTML page but the html page reads one of the ">" as the end of a code and I end up with this "poll_process(5); ?> " in the table instead of the poll. Please help. Thanks.

Page is at http://www.mindjakk.com/whatsnew.htm


for a start this is PHP code...

Mindjakk wrote:Page is at http://www.mindjakk.com/whatsnew.htm


whats your pages extension above ^^^ .htm

PHP = .php
HTML = .htm/.html

uRage, i'm not sure how to solve your problem. Unless when the voter gets taken to the results and then clicks a link back the main page you amend the url with ?b=home

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]
lothop
Newbie

Joined: 23/06/2004 09:03:08
Messages: 4
Offline

Hey uRage, how did you get your poll to resize, what code did you use to put it into your website? just wondering. I'm having issues
Anonymous



well, you can resize the poll in the admin pannel. and the code i used to put it in my main page is

<?php
include_once "/var/www/html/admin/db/booth.php";
echo $php_poll->poll_process("newest");
?>
lothop
Newbie

Joined: 23/06/2004 09:03:08
Messages: 4
Offline

I tried, but it comes up with

Warning: main(/www/poll/booth.php): failed to open stream: No such file or directory in /home/lothop/public_html/testing/index.php on line 136

Warning: main(): Failed opening '/www/poll/booth.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lothop/public_html/testing/index.php on line 136

Fatal error: Call to a member function on a non-object in /home/lothop/public_html/testing/index.php on line 137

an example of it is here http://www.lothop.clanecko.net/testing/index.php

Thanks,
Lothop
Anonymous



Anonymous wrote:well, you can resize the poll in the admin pannel. and the code i used to put it in my main page is

<?php
include_once "/var/www/html/admin/db/booth.php";
echo $php_poll->poll_process("newest");
?>


you need the absolute path?
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum