Altering PHP code in a Poll?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fizz-ed
Forum Newbie
Posts: 3
Joined: Tue Mar 23, 2004 6:46 pm
Location: Vancouver, BC

Altering PHP code in a Poll?

Post 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
Goowe
Forum Commoner
Posts: 94
Joined: Mon Mar 15, 2004 9:51 am
Location: Southeast Alaska

Post 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...
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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?
Illusionist
Forum Regular
Posts: 903
Joined: Mon Jan 12, 2004 9:32 pm

Post 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.
fizz-ed
Forum Newbie
Posts: 3
Joined: Tue Mar 23, 2004 6:46 pm
Location: Vancouver, BC

Post 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>
fizz-ed
Forum Newbie
Posts: 3
Joined: Tue Mar 23, 2004 6:46 pm
Location: Vancouver, BC

Post by fizz-ed »

:: bump ::
Post Reply