The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I moved the poll from the top of the posts, to within the 1st post itself. This was done to bring the post closer to the top of the page (ie. you don't need to scroll down as far to see the topic now).
Live Example: http://www.wonderfulwaterloo.com/showthread.php?t=427 There's a problem though when you're a moderator because now the poll's forms are within the posts form tag. Unfortunately html doesn't allow a form within a form. How do you suggest I solve this? A Conflicting Template: polloptions_table HTML Code:
<div id="pollinfo" class="polloptionsblock"> <form class="block" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}poll.php?do=pollvote&pollid={vb:raw pollinfo.pollid}" method="post"> <div class="blockhead"> <h2>{vb:rawphrase poll}: <span class="polltitle">{vb:raw pollinfo.question}</span></h2> <vb:if condition="$show['editpoll']"> <a class="textcontrol blockhead_info" href="{vb:link poll, {vb:raw pollinfo}, 'do=polledit'}"><img class="inlineimg" src="{vb:stylevar imgdir_cms}/edit_small.png" alt="{vb:rawphrase edit_poll}" title="{vb:rawphrase edit_poll}"/></a> </vb:if> </div> <div class="blockbody"> <vb:if condition="$show['pollenddate'] OR $show['publicwarning']"> <h3 class="pollsubhead"> <vb:if condition="$show['pollenddate']">{vb:rawphrase this_poll_will_close_on_x_at_y, {vb:raw pollenddate}, {vb:raw pollendtime}}</vb:if> <vb:if condition="$show['publicwarning']">{vb:rawphrase public_poll_users_see_choices}</vb:if> </h3> </vb:if> <div id="polloptions" class="blockrow"> <ul class="checkradio group"> {vb:raw pollbits} </ul> </div> </div> <div class="blockfoot"> <div class="group"> <input type="submit" class="button" value="{vb:rawphrase vote_now}" tabindex="1" /> <a class="textcontrol" href="{vb:link poll, {vb:raw pollinfo}, 'do=showresults'}">{vb:rawphrase view_poll_results}</a> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="pollvote" /> <input type="hidden" name="pollid" value="{vb:raw pollinfo.pollid}" /> </div> </div> </form> </div> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|