Author |
Message |
23/06/2004 19:48:00
|
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
|
|
23/06/2004 20:00:40
|
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
|
|
23/06/2004 21:17:48
|
Auron
Expert
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...
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) |
|
23/06/2004 22:38:28
|
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
|
|
23/06/2004 23:02:33
|
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");
?>
|
|
23/06/2004 23:55:00
|
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
|
|
26/06/2004 07:08:08
|
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?
|
|
|