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 
Messages posted by: kft
Forum Index » Profile for kft » Messages posted by kft
Author Message
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
Dear All,

please HELP.
i've searched the forum but it seems there is nothing about this.
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 this has to be different for every poll so you can continue with the next one until you are done.

somebody suggested to replace 1 line in class_poll.php

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(e.g poll_01.php, poll_02.php, etc etc) depending in which poll you are in. you always 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 » Profile for kft » Messages posted by kft
Go to:   
Based on the open source JForum