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 
1 poll to the next without showing results  XML
Forum Index » Support Forum
Author Message
kft
Newbie

Joined: 27/11/2005 12:19:13
Messages: 2
Offline

Dear All,
I posted this message in the General forum but i leant that this forum is the one for it.

please HELP.
i have created 13 polls and i would like the user to press the vote button and go straight to the next poll, without showing results. BUT the link has to be different for every poll so you can continue with the next one until you are done.

Carbonize suggested to replace 1 line in class_poll.php for not showing results

this line:
return $this->view_poll_result($poll_id,1);

for this one:
echo ("<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=YOURSITEHERE\">");

but i think this doesn't allow you to go to next poll page depending in which poll you are in (e.g poll_01.php goes to poll_02.php, poll_02.php goes to poll_03.php,etc). changing the line in class_poll.php will make you go back to the same URL because class_poll.php it's for all the polls.
I hope i made myself clear.

the polls are here :
http://www.seekyourself.org/poll_01.php

THANKS VERY MUCH

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