Page 1 of 1

Altering PHP code in a Poll?

Posted: Tue Mar 23, 2004 6:46 pm
by fizz-ed
Hello,

Sorry if this is an idiotic question.

I have just installed Advanced Poll 2.03 on my webserver. I am trying to run polls that do not permit the voter to see the results after he/she has voted. The default on Advance Poll 2.03 seems to be to take the voter right to the results.

Is there anyway that I can figure out what code it is that is taking them to the results and change it so that it takes them to a page of my choosing? The code is all php, which I know nothing about (I have a working knowledge of html).

I have tried in the developers support forum, but all requests have gone unanswered.

Is this too vague?

Also, if anyone knows of some decent, easy to use polling software, that would be great.

Thanks,
Ed

Posted: Tue Mar 23, 2004 7:45 pm
by Goowe
Do you have a link to the poll? If no one else has time, I can check through the code sometime tonight if that is soon enough for you...

Posted: Tue Mar 23, 2004 7:51 pm
by John Cartwright
Go to line 7 on the third page past the 4th variable turn right after that loop and once you pass the 8th stoplight you will find your answer..

code plz?

Posted: Tue Mar 23, 2004 8:11 pm
by Illusionist
i agree with Phenom. Its kind of hard to tell yout he rightanswer when we don't know what your talking about. And if your going ot start using PHP i would first look at some basic tutorials.

Posted: Wed Mar 24, 2004 2:35 am
by fizz-ed
Hello,

Sorry. The page/poll is posted here: http://www.stripfight.msgbrd.com/test.php

I am looking into tutorials. However, this is something that was sort of tossed my way last minute.

Here is the code that was put out by Advance Poll 2.0.3:

Code: Select all

<?php
// Important! You have to include it before your html code
include_once "/home/edb/public_html/stripfight/polls/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/edb/public_html/stripfight/polls/booth.php";
echo $php_poll->poll_process(8);
?>
</body>
</html>

Posted: Thu Mar 25, 2004 12:01 pm
by fizz-ed
:: bump ::