The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
[s]Hi, i tried using a descriptive thread title, i hope i didn't fail.
![]() I'm currently throwing a poll widget together for our cms, everythings fine so far (pulling the poll, voting, showing results) but i'm not happy about how voting works right now. That is what happens: When someone votes he gets redirected to the thread in which the poll is. That is not what i want. I want him staying in the cms on the site where he voted. Can someone help me and tell me what i need to change in the code to achieve that? Current input fields in the vote view: Code:
<input type="submit" class="button" value="'.$vbphrase['vote_now'].'" tabindex="1" /> <a class="textcontrol" href="/poll.php?amp;pollid='.$pollinfo['pollid'].'">'.$vbphrase['view_poll_results'].'</a> <input type="hidden" name="s" value="'.$vB_Registry->session->vars['sessionhash'].'" /> <input type="hidden" name="securitytoken" value="'.$vB_Registry->userinfo['securitytoken'].'" /> <input type="hidden" name="do" value="pollvote" /> <input type="hidden" name="pollid" value="'.$pollinfo['pollid'].'" /> Cheers [/s] problem solved. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|